1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * Copyright (C) 2013-15 Synopsys, Inc. (www.s 4 */ 5 6 /* 7 * Device tree for AXC001 770D/EM6/AS221 CPU c 8 * Note that this file only supports the 770D 9 */ 10 11 /include/ "skeleton.dtsi" 12 13 / { 14 compatible = "snps,arc"; 15 #address-cells = <2>; 16 #size-cells = <2>; 17 18 cpu_card { 19 compatible = "simple-bus"; 20 #address-cells = <1>; 21 #size-cells = <1>; 22 23 ranges = <0x00000000 0x0 0xf00 24 25 core_clk: core_clk { 26 #clock-cells = <0>; 27 compatible = "fixed-cl 28 clock-frequency = <750 29 }; 30 31 input_clk: input-clk { 32 #clock-cells = <0>; 33 compatible = "fixed-cl 34 clock-frequency = <333 35 }; 36 37 core_intc: arc700-intc@cpu { 38 compatible = "snps,arc 39 interrupt-controller; 40 #interrupt-cells = <1> 41 }; 42 43 /* 44 * this GPIO block ORs all int 45 * to uplink only 1 IRQ to ARC 46 */ 47 dw-apb-gpio@2000 { 48 compatible = "snps,dw- 49 reg = < 0x2000 0x80 >; 50 #address-cells = <1>; 51 #size-cells = <0>; 52 53 ictl_intc: gpio-contro 54 compatible = " 55 gpio-controlle 56 #gpio-cells = 57 snps,nr-gpios 58 reg = <0>; 59 interrupt-cont 60 #interrupt-cel 61 interrupt-pare 62 interrupts = < 63 }; 64 }; 65 66 debug_uart: dw-apb-uart@5000 { 67 compatible = "snps,dw- 68 reg = <0x5000 0x100>; 69 clock-frequency = <333 70 interrupt-parent = <&i 71 interrupts = <19 4>; 72 baud = <115200>; 73 reg-shift = <2>; 74 reg-io-width = <4>; 75 }; 76 77 arcpct0: pct { 78 compatible = "snps,arc 79 }; 80 }; 81 82 /* 83 * This INTC is actually connected to 84 * which acts as a wire between MB INT 85 * GPIO INTC is configured in platform 86 * and here we mimic direct connection 87 * CPU INTC, thus we set "interrupts = 88 * "interrupts = <12>" 89 * 90 * This intc actually resides on MB, b 91 * avoid duplicating the MB dtsi file 92 * this intc to cpu intc are different 93 */ 94 mb_intc: interrupt-controller@e0012000 95 #interrupt-cells = <1>; 96 compatible = "snps,dw-apb-ictl 97 reg = < 0x0 0xe0012000 0x0 0x2 98 interrupt-controller; 99 interrupt-parent = <&core_intc 100 interrupts = < 7 >; 101 }; 102 103 memory { 104 device_type = "memory"; 105 /* CONFIG_LINUX_RAM_BASE needs 106 reg = <0x0 0x80000000 0x0 0x1b 107 }; 108 109 reserved-memory { 110 #address-cells = <2>; 111 #size-cells = <2>; 112 ranges; 113 /* 114 * We just move frame buffer a 115 * available DDR. And even tho 116 * no strict requirement for a 117 * particular location it allo 118 * base board's DT node for AR 119 */ 120 frame_buffer: frame_buffer@9e0 121 compatible = "shared-d 122 reg = <0x0 0x9e000000 123 no-map; 124 }; 125 }; 126 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.