076fc6a3ad5cd4fc3cc6d8ef44a742876ed298d0
[openwrt/staging/lynxis.git] / target / linux / brcm63xx / dts / bcm6362.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "brcm,bcm6362";
5
6 aliases {
7 pinctrl = &pinctrl;
8 spi0 = &lsspi;
9 spi1 = &hsspi;
10 };
11
12 cpus {
13 #address-cells = <1>;
14 #size-cells = <0>;
15
16 cpu@0 {
17 compatible = "brcm,bmips4350", "mips,mips4Kc";
18 device_type = "cpu";
19 reg = <0>;
20 };
21
22 cpu@1 {
23 compatible = "brcm,bmips4350", "mips,mips4Kc";
24 device_type = "cpu";
25 reg = <1>;
26 };
27 };
28
29 cpu_intc: interrupt-controller {
30 #address-cells = <0>;
31 compatible = "mti,cpu-interrupt-controller";
32
33 interrupt-controller;
34 #interrupt-cells = <1>;
35 };
36
37 memory { device_type = "memory"; reg = <0 0>; };
38
39 ubus@10000000 {
40 #address-cells = <1>;
41 #size-cells = <1>;
42 ranges;
43 compatible = "simple-bus";
44 interrupt-parent = <&periph_intc>;
45
46 ext_intc: interrupt-controller@10000018 {
47 compatible = "brcm,bcm6345-ext-intc";
48 reg = <0x10000018 0x4>;
49
50 interrupt-controller;
51 #interrupt-cells = <2>;
52
53 interrupts = <40>, <41>, <42>, <43>;
54 };
55
56 periph_intc: interrupt-controller@10000020 {
57 compatible = "brcm,bcm6345-l1-intc";
58 reg = <0x10000020 0x10>,
59 <0x10000030 0x10>;
60
61 interrupt-controller;
62 #interrupt-cells = <1>;
63
64 interrupt-parent = <&cpu_intc>;
65 interrupts = <2>, <3>;
66 };
67
68 pinctrl: pin-controller@10000080 {
69 compatible = "brcm,bcm6362-pinctrl";
70 reg = <0x10000080 0x8>,
71 <0x10000088 0x8>,
72 <0x10000090 0x4>,
73 <0x10000098 0x4>,
74 <0x1000009c 0x4>,
75 <0x100000b8 0x4>;
76 reg-names = "dirout", "dat", "led",
77 "mode", "ctrl", "basemode";
78
79 gpio-controller;
80 #gpio-cells = <2>;
81
82 interrupt-parent = <&ext_intc>;
83 interrupts = <0 0>, <1 0>, <2 0>, <3 0>;
84 interrupt-names = "gpio24", "gpio25",
85 "gpio26", "gpio27";
86
87 pinctrl_usb_device_led: usb_device_led {
88 function = "usb_device_led";
89 pins = "gpio0";
90 };
91
92 pinctrl_sys_irq: sys_irq {
93 function = "sys_irq";
94 pins = "gpio1";
95 };
96
97 pinctrl_serial_led: serial_led {
98 pinctrl_serial_led_clk: serial_led_clk {
99 function = "serial_led_clk";
100 pins = "gpio2";
101 };
102
103 pinctrl_serial_led_data: serial_led_data {
104 function = "serial_led_data";
105 pins = "gpio3";
106 };
107 };
108
109 pinctrl_robosw_led_data: robosw_led_data {
110 function = "robosw_led_data";
111 pins = "gpio4";
112 };
113
114 pinctrl_robosw_led_clk: robosw_led_clk {
115 function = "robosw_led_clk";
116 pins = "gpio5";
117 };
118
119 pinctrl_robosw_led0: robosw_led0 {
120 function = "robosw_led0";
121 pins = "gpio6";
122 };
123
124 pinctrl_robosw_led1: robosw_led1 {
125 function = "robosw_led1";
126 pins = "gpio7";
127 };
128
129 pinctrl_inet_led: inet_led {
130 function = "inet_led";
131 pins = "gpio8";
132 };
133
134 pinctrl_spi_cs2: spi_cs2 {
135 function = "spi_cs2";
136 pins = "gpio9";
137 };
138
139 pinctrl_spi_cs3: spi_cs3 {
140 function = "spi_cs3";
141 pins = "gpio10";
142 };
143
144 pinctrl_ntr_pulse: ntr_pulse {
145 function = "ntr_pulse";
146 pins = "gpio11";
147 };
148
149 pinctrl_uart1_scts: uart1_scts {
150 function = "uart1_scts";
151 pins = "gpio12";
152 };
153
154 pinctrl_uart1_srts: uart1_srts {
155 function = "uart1_srts";
156 pins = "gpio13";
157 };
158
159
160 pinctrl_uart1: uart1 {
161 pinctrl_uart1_sdin: uart1_sdin {
162 function = "uart1_sdin";
163 pins = "gpio14";
164 };
165
166 pinctrl_uart1_sdout: uart1_sdout {
167 function = "uart1_sdout";
168 pins = "gpio15";
169 };
170 };
171
172 pinctrl_adsl_spi: adsl_spi {
173 pinctrl_adsl_spi_miso: adsl_spi_miso {
174 function = "adsl_spi_miso";
175 pins = "gpio16";
176 };
177
178 pinctrl_adsl_spi_mosi: adsl_spi_mosi {
179 function = "adsl_spi_mosi";
180 pins = "gpio17";
181 };
182
183 pinctrl_adsl_spi_clk: adsl_spi_clk {
184 function = "adsl_spi_clk";
185 pins = "gpio18";
186 };
187
188 pinctrl_adsl_spi_cs: adsl_spi_cs {
189 function = "adsl_spi_cs";
190 pins = "gpio19";
191 };
192 };
193
194 pinctrl_ephy0_led: ephy0_led {
195 function = "ephy0_led";
196 pins = "gpio20";
197 };
198
199 pinctrl_ephy1_led: ephy1_led {
200 function = "ephy1_led";
201 pins = "gpio21";
202 };
203
204 pinctrl_ephy2_led: ephy2_led {
205 function = "ephy2_led";
206 pins = "gpio22";
207 };
208
209 pinctrl_ephy3_led: ephy3_led {
210 function = "ephy3_led";
211 pins = "gpio23";
212 };
213
214 pinctrl_ext_irq0: ext_irq0 {
215 function = "ext_irq0";
216 pins = "gpio24";
217 };
218
219 pinctrl_ext_irq1: ext_irq1 {
220 function = "ext_irq1";
221 pins = "gpio25";
222 };
223
224 pinctrl_ext_irq2: ext_irq2 {
225 function = "ext_irq2";
226 pins = "gpio26";
227 };
228
229 pinctrl_ext_irq3: ext_irq3 {
230 function = "ext_irq3";
231 pins = "gpio27";
232 };
233
234 pinctrl_nand: nand {
235 function = "nand";
236 group = "nand_grp";
237 };
238 };
239
240 lsspi: spi@10000800 {
241 #address-cells = <1>;
242 #size-cells = <0>;
243 compatible = "brcm,bcm6358-spi";
244 reg = <0x10000800 0x70c>;
245 interrupts = <2>;
246 /* clocks = <&clkctl 15>; */
247 };
248
249 hsspi: spi@10001000 {
250 #address-cells = <1>;
251 #size-cells = <0>;
252 compatible = "brcm,bcm6328-hsspi";
253 reg = <0x10001000 0x600>;
254 interrupts = <5>;
255 /* clocks = <&clkctl 16>; */
256 };
257
258 leds: led-controller@10001900 {
259 #address-cells = <1>;
260 #size-cells = <0>;
261 compatible = "brcm,bcm6328-leds";
262 reg = <0x10001900 0x24>;
263 status = "disabled";
264 };
265 };
266 };