OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | / { |
2 | #address-cells = <1>; |
||
3 | #size-cells = <1>; |
||
4 | compatible = "brcm,bcm6318"; |
||
5 | |||
6 | aliases { |
||
7 | pinctrl = &pinctrl; |
||
8 | serial0 = &uart0; |
||
9 | spi1 = &hsspi; |
||
10 | }; |
||
11 | |||
12 | cpus { |
||
13 | #address-cells = <1>; |
||
14 | #size-cells = <0>; |
||
15 | |||
16 | cpu@0 { |
||
17 | compatible = "brcm,bmips3300", "mips,mips4Kc"; |
||
18 | device_type = "cpu"; |
||
19 | reg = <0>; |
||
20 | }; |
||
21 | }; |
||
22 | |||
23 | cpu_intc: interrupt-controller { |
||
24 | #address-cells = <0>; |
||
25 | compatible = "mti,cpu-interrupt-controller"; |
||
26 | |||
27 | interrupt-controller; |
||
28 | #interrupt-cells = <1>; |
||
29 | }; |
||
30 | |||
31 | memory { device_type = "memory"; reg = <0 0>; }; |
||
32 | |||
33 | ubus@10000000 { |
||
34 | #address-cells = <1>; |
||
35 | #size-cells = <1>; |
||
36 | ranges; |
||
37 | compatible = "simple-bus"; |
||
38 | interrupt-parent = <&periph_intc>; |
||
39 | |||
40 | ext_intc: interrupt-controller@10000018 { |
||
41 | compatible = "brcm,bcm6318-ext-intc"; |
||
42 | reg = <0x10000018 0x4>; |
||
43 | |||
44 | interrupt-controller; |
||
45 | #interrupt-cells = <2>; |
||
46 | |||
47 | interrupts = <24>, <25>, <26>, <27>; |
||
48 | }; |
||
49 | |||
50 | periph_intc: interrupt-controller@10000020 { |
||
51 | compatible = "brcm,bcm6345-l1-intc"; |
||
52 | reg = <0x10000020 0x20>; |
||
53 | |||
54 | interrupt-controller; |
||
55 | #interrupt-cells = <1>; |
||
56 | |||
57 | interrupt-parent = <&cpu_intc>; |
||
58 | interrupts = <2>; |
||
59 | }; |
||
60 | |||
61 | pinctrl: pin-controller@10000080 { |
||
62 | compatible = "brcm,bcm6318-pinctrl"; |
||
63 | reg = <0x10000080 0x08>, |
||
64 | <0x10000088 0x08>, |
||
65 | <0x10000098 0x04>, |
||
66 | <0x1000009c 0x0c>, |
||
67 | <0x100000d4 0x18>; |
||
68 | reg-names = "dirout", "dat", "mode", "mux", "pad"; |
||
69 | |||
70 | gpio-controller; |
||
71 | #gpio-cells = <2>; |
||
72 | |||
73 | interrupt-parent = <&ext_intc>; |
||
74 | interrupts = <0 0>, <1 0>; |
||
75 | interrupt-names = "gpio33", "gpio34"; |
||
76 | |||
77 | pinctrl_ephy0_spd_led: ephy0_spd_led { |
||
78 | function = "ephy0_spd_led"; |
||
79 | pins = "gpio0"; |
||
80 | }; |
||
81 | |||
82 | pinctrl_ephy1_spd_led: ephy1_spd_led { |
||
83 | function = "ephy1_spd_led"; |
||
84 | pins = "gpio1"; |
||
85 | }; |
||
86 | |||
87 | pinctrl_ephy2_spd_led: ephy2_spd_led { |
||
88 | function = "ephy2_spd_led"; |
||
89 | pins = "gpio2"; |
||
90 | }; |
||
91 | |||
92 | pinctrl_ephy3_spd_led: ephy3_spd_led { |
||
93 | function = "ephy3_spd_led"; |
||
94 | pins = "gpio3"; |
||
95 | }; |
||
96 | |||
97 | pinctrl_ephy0_act_led: ephy0_act_led { |
||
98 | function = "ephy0_act_led"; |
||
99 | pins = "gpio4"; |
||
100 | }; |
||
101 | |||
102 | pinctrl_ephy1_act_led: ephy1_act_led { |
||
103 | function = "ephy1_act_led"; |
||
104 | pins = "gpio5"; |
||
105 | }; |
||
106 | |||
107 | pinctrl_ephy2_act_led: ephy2_act_led { |
||
108 | function = "ephy2_act_led"; |
||
109 | pins = "gpio6"; |
||
110 | }; |
||
111 | |||
112 | pinctrl_ephy3_act_led: ephy3_act_led { |
||
113 | function = "ephy3_act_led"; |
||
114 | pins = "gpio7"; |
||
115 | }; |
||
116 | |||
117 | pinctrl_serial_led: serial_led { |
||
118 | pinctrl_serial_led_data: serial_led_data { |
||
119 | function = "serial_led_data"; |
||
120 | pins = "gpio6"; |
||
121 | }; |
||
122 | |||
123 | pinctrl_serial_led_clk: serial_led_clk { |
||
124 | function = "serial_led_clk"; |
||
125 | pins = "gpio7"; |
||
126 | }; |
||
127 | }; |
||
128 | |||
129 | pinctrl_inet_act_led: inet_act_led { |
||
130 | function = "inet_act_led"; |
||
131 | pins = "gpio8"; |
||
132 | }; |
||
133 | |||
134 | pinctrl_inet_fail_led: inet_fail_led { |
||
135 | function = "inet_fail_led"; |
||
136 | pins = "gpio9"; |
||
137 | }; |
||
138 | |||
139 | pinctrl_dsl_led: dsl_led { |
||
140 | function = "dsl_led"; |
||
141 | pins = "gpio10"; |
||
142 | }; |
||
143 | |||
144 | pinctrl_post_fail_led: post_fail_led { |
||
145 | function = "post_fail_led"; |
||
146 | pins = "gpio11"; |
||
147 | }; |
||
148 | |||
149 | pinctrl_wlan_wps_led: wlan_wps_led { |
||
150 | function = "wlan_wps_led"; |
||
151 | pins = "gpio12"; |
||
152 | }; |
||
153 | |||
154 | pinctrl_usb_pwron: usb_pwron { |
||
155 | function = "usb_pwron"; |
||
156 | pins = "gpio13"; |
||
157 | }; |
||
158 | |||
159 | pinctrl_usb_device_led: usb_device_led { |
||
160 | function = "usb_device_led"; |
||
161 | pins = "gpio13"; |
||
162 | }; |
||
163 | |||
164 | pinctrl_usb_active: usb_active { |
||
165 | function = "usb_active"; |
||
166 | pins = "gpio40"; |
||
167 | }; |
||
168 | }; |
||
169 | |||
170 | uart0: serial@10000100 { |
||
171 | compatible = "brcm,bcm6345-uart"; |
||
172 | reg = <0x10000100 0x18>; |
||
173 | |||
174 | interrupt-parent = <&periph_intc>; |
||
175 | interrupts = <28>; |
||
176 | |||
177 | /* clocks = <&periph_clk>; */ |
||
178 | /* clock-names = "refclk"; */ |
||
179 | |||
180 | status = "disabled"; |
||
181 | }; |
||
182 | |||
183 | leds: led-controller@10000200 { |
||
184 | #address-cells = <1>; |
||
185 | #size-cells = <0>; |
||
186 | compatible = "brcm,bcm6328-leds"; |
||
187 | reg = <0x10000200 0x24>; |
||
188 | status = "disabled"; |
||
189 | }; |
||
190 | |||
191 | hsspi: spi@10003000 { |
||
192 | #address-cells = <1>; |
||
193 | #size-cells = <0>; |
||
194 | compatible = "brcm,bcm6328-hsspi"; |
||
195 | reg = <0x10003000 0x600>; |
||
196 | interrupts = <29>; |
||
197 | /* clocks = <&clkctl 25>; */ |
||
198 | }; |
||
199 | }; |
||
200 | }; |