4e88e593154b43ff2713a935f918ccc226108d2c
[openwrt/staging/noltari.git] / target / linux / brcm63xx / dts / bcm6318.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "brcm,bcm6318";
5
6 aliases {
7 pinctrl = &pinctrl;
8 };
9
10 cpus {
11 #address-cells = <1>;
12 #size-cells = <0>;
13
14 cpu@0 {
15 compatible = "brcm,bmips3300", "mips,mips4Kc";
16 device_type = "cpu";
17 reg = <0>;
18 };
19 };
20
21 cpu_intc: interrupt-controller {
22 #address-cells = <0>;
23 compatible = "mti,cpu-interrupt-controller";
24
25 interrupt-controller;
26 #interrupt-cells = <1>;
27 };
28
29 memory { device_type = "memory"; reg = <0 0>; };
30
31 ubus@10000000 {
32 #address-cells = <1>;
33 #size-cells = <1>;
34 ranges;
35 compatible = "simple-bus";
36
37 ext_intc: interrupt-controller@10000018 {
38 compatible = "brcm,bcm6345-ext-intc";
39 reg = <0x10000018 0x4>;
40
41 interrupt-controller;
42 #interrupt-cells = <2>;
43
44 interrupt-parent = <&periph_intc>;
45 interrupts = <24>, <25>, <26>, <27>;
46 };
47
48 periph_intc: interrupt-controller@10000020 {
49 compatible = "brcm,bcm6345-l1-intc";
50 reg = <0x10000020 0x20>;
51
52 interrupt-controller;
53 #interrupt-cells = <1>;
54
55 interrupt-parent = <&cpu_intc>;
56 interrupts = <2>;
57 };
58
59 pinctrl: pin-controller@10000080 {
60 compatible = "brcm,bcm6318-pinctrl";
61 reg = <0x10000080 0x08>,
62 <0x10000088 0x08>,
63 <0x10000098 0x04>,
64 <0x1000009c 0x0c>,
65 <0x100000d4 0x18>;
66 reg-names = "dirout", "data", "mode", "mux", "pad";
67
68 gpio-controller;
69 #gpio-cells = <2>;
70
71 pinctrl_ephy0_spd_led: ephy0_spd_led {
72 function = "ephy0_spd_led";
73 pins = "gpio0";
74 };
75
76 pinctrl_ephy1_spd_led: ephy1_spd_led {
77 function = "ephy1_spd_led";
78 pins = "gpio1";
79 };
80
81 pinctrl_ephy2_spd_led: ephy2_spd_led {
82 function = "ephy2_spd_led";
83 pins = "gpio2";
84 };
85
86 pinctrl_ephy3_spd_led: ephy3_spd_led {
87 function = "ephy3_spd_led";
88 pins = "gpio3";
89 };
90
91 pinctrl_ephy0_act_led: ephy0_act_led {
92 function = "ephy0_act_led";
93 pins = "gpio4";
94 };
95
96 pinctrl_ephy1_act_led: ephy1_act_led {
97 function = "ephy1_act_led";
98 pins = "gpio5";
99 };
100
101 pinctrl_ephy2_act_led: ephy2_act_led {
102 function = "ephy2_act_led";
103 pins = "gpio6";
104 };
105
106 pinctrl_ephy3_act_led: ephy3_act_led {
107 function = "ephy3_act_led";
108 pins = "gpio7";
109 };
110
111 pinctrl_serial_led: serial_led {
112 pinctrl_serial_led_data: serial_led_data {
113 function = "serial_led_data";
114 pins = "gpio6";
115 };
116
117 pinctrl_serial_led_clk: serial_led_clk {
118 function = "serial_led_clk";
119 pins = "gpio7";
120 };
121 };
122
123 pinctrl_inet_act_led: inet_act_led {
124 function = "inet_act_led";
125 pins = "gpio8";
126 };
127
128 pinctrl_inet_fail_led: inet_fail_led {
129 function = "inet_fail_led";
130 pins = "gpio9";
131 };
132
133 pinctrl_dsl_led: dsl_led {
134 function = "dsl_led";
135 pins = "gpio10";
136 };
137
138 pinctrl_post_fail_led: post_fail_led {
139 function = "post_fail_led";
140 pins = "gpio11";
141 };
142
143 pinctrl_wlan_wps_led: wlan_wps_led {
144 function = "wlan_wps_led";
145 pins = "gpio12";
146 };
147
148 pinctrl_usb_pwron: usb_pwron {
149 function = "usb_pwron";
150 pins = "gpio13";
151 };
152
153 pinctrl_usb_device_led: usb_device_led {
154 function = "usb_device_led";
155 pins = "gpio13";
156 };
157
158 pinctrl_pcie_clkreq: usb_active {
159 function = "usb_active";
160 pins = "gpio40";
161 };
162 };
163 };
164 };