brcm63xx: rename target to bcm63xx
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6328.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "brcm,bcm6328";
5
6 aliases {
7 pinctrl = &pinctrl;
8 serial0 = &uart0;
9 serial1 = &uart1;
10 spi1 = &hsspi;
11 };
12
13 cpus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16
17 cpu@0 {
18 compatible = "brcm,bmips4350", "mips,mips4Kc";
19 device_type = "cpu";
20 reg = <0>;
21 };
22 };
23
24 cpu_intc: interrupt-controller {
25 #address-cells = <0>;
26 compatible = "mti,cpu-interrupt-controller";
27
28 interrupt-controller;
29 #interrupt-cells = <1>;
30 };
31
32 memory { device_type = "memory"; reg = <0 0>; };
33
34 ubus@10000000 {
35 #address-cells = <1>;
36 #size-cells = <1>;
37 ranges;
38 compatible = "simple-bus";
39 interrupt-parent = <&periph_intc>;
40
41 ext_intc: interrupt-controller@10000018 {
42 compatible = "brcm,bcm6345-ext-intc";
43 reg = <0x10000018 0x4>;
44
45 interrupt-controller;
46 #interrupt-cells = <2>;
47
48 interrupts = <24>, <25>, <26>, <27>;
49 };
50
51 periph_intc: interrupt-controller@10000020 {
52 compatible = "brcm,bcm6345-l1-intc";
53 reg = <0x10000020 0x10>;
54
55 interrupt-controller;
56 #interrupt-cells = <1>;
57
58 interrupt-parent = <&cpu_intc>;
59 interrupts = <2>;
60 };
61
62 pinctrl: pin-controller@10000080 {
63 compatible = "brcm,bcm6328-pinctrl";
64 reg = <0x10000080 0x8>,
65 <0x10000088 0x8>,
66 <0x10000098 0x4>,
67 <0x1000009c 0xc>;
68 reg-names = "dirout", "dat", "mode", "mux";
69
70 gpio-controller;
71 #gpio-cells = <2>;
72
73 interrupt-parent = <&ext_intc>;
74 interrupts = <3 0>, <2 0>, <0 0>, <1 0>;
75 interrupt-names = "gpio12", "gpio15",
76 "gpio23", "gpio24";
77
78 pinctrl_serial_led: serial_led {
79 pinctrl_serial_led_data: serial_led_data {
80 function = "serial_led_data";
81 pins = "gpio6";
82 };
83
84 pinctrl_serial_led_clk: serial_led_clk {
85 function = "serial_led_clk";
86 pins = "gpio7";
87 };
88 };
89
90 pinctrl_inet_act_led: inet_act_led {
91 function = "inet_act_led";
92 pins = "gpio11";
93 };
94
95 pinctrl_pcie_clkreq: pcie_clkreq {
96 function = "pcie_clkreq";
97 pins = "gpio16";
98 };
99
100 pinctrl_ephy0_spd_led: ephy0_spd_led {
101 function = "led";
102 pins = "gpio17";
103 };
104
105 pinctrl_ephy1_spd_led: ephy1_spd_led {
106 function = "led";
107 pins = "gpio18";
108 };
109
110 pinctrl_ephy2_spd_led: ephy2_spd_led {
111 function = "led";
112 pins = "gpio19";
113 };
114
115 pinctrl_ephy3_spd_led: ephy3_spd_led {
116 function = "led";
117 pins = "gpio20";
118 };
119
120 pinctrl_ephy0_act_led: ephy0_act_led {
121 function = "ephy0_act_led";
122 pins = "gpio25";
123 };
124
125 pinctrl_ephy1_act_led: ephy1_act_led {
126 function = "ephy1_act_led";
127 pins = "gpio26";
128 };
129
130 pinctrl_ephy2_act_led: ephy2_act_led {
131 function = "ephy2_act_led";
132 pins = "gpio27";
133 };
134
135 pinctrl_ephy3_act_led: ephy3_act_led {
136 function = "ephy3_act_led";
137 pins = "gpio28";
138 };
139
140 pinctrl_hsspi_cs1: hsspi_cs1 {
141 function = "hsspi_cs1";
142 pins = "hsspi_cs1";
143 };
144
145 pinctrl_usb_port1_device: usb_port1_device {
146 function = "usb_device_port";
147 pins = "usb_port1";
148 };
149
150 pinctrl_usb_port1_host: usb_port1_host {
151 function = "usb_host_port";
152 pins = "usb_port1";
153 };
154 };
155
156 uart0: serial@10000100 {
157 compatible = "brcm,bcm6345-uart";
158 reg = <0x10000100 0x18>;
159
160 interrupt-parent = <&periph_intc>;
161 interrupts = <28>;
162
163 /* clocks = <&periph_clk>; */
164 /* clock-names = "refclk"; */
165
166 status = "disabled";
167 };
168
169 uart1: serial@10000120 {
170 compatible = "brcm,bcm6345-uart";
171 reg = <0x10000120 0x18>;
172
173 interrupt-parent = <&periph_intc>;
174 interrupts = <39>;
175
176 /* clocks = <&periph_clk>; */
177 /* clock-names = "refclk"; */
178
179 status = "disabled";
180 };
181
182 leds: led-controller@10000800 {
183 #address-cells = <1>;
184 #size-cells = <0>;
185 compatible = "brcm,bcm6328-leds";
186 reg = <0x10000800 0x24>;
187 status = "disabled";
188 };
189
190 hsspi: spi@10001000 {
191 #address-cells = <1>;
192 #size-cells = <0>;
193 compatible = "brcm,bcm6328-hsspi";
194 reg = <0x10001000 0x600>;
195 interrupts = <29>;
196 /* clocks = <&clkctl 9>; */
197 };
198 };
199 };