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