lantiq: define default leds in dts files
[openwrt/openwrt.git] / target / linux / lantiq / dts / ar9.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "lantiq,xway", "lantiq,ar9";
5
6 cpus {
7 cpu@0 {
8 compatible = "mips,mips34K";
9 };
10 };
11
12 memory@0 {
13 device_type = "memory";
14 };
15
16 biu@1F800000 {
17 #address-cells = <1>;
18 #size-cells = <1>;
19 compatible = "lantiq,biu", "simple-bus";
20 reg = <0x1F800000 0x800000>;
21 ranges = <0x0 0x1F800000 0x7FFFFF>;
22
23 icu0: icu@80200 {
24 #interrupt-cells = <1>;
25 interrupt-controller;
26 compatible = "lantiq,icu";
27 reg = <0x80200 0x28
28 0x80228 0x28
29 0x80250 0x28
30 0x80278 0x28
31 0x802a0 0x28>;
32 };
33
34 watchdog@803F0 {
35 compatible = "lantiq,wdt";
36 reg = <0x803F0 0x10>;
37 };
38 };
39
40 sram@1F000000 {
41 #address-cells = <1>;
42 #size-cells = <1>;
43 compatible = "lantiq,sram";
44 reg = <0x1F000000 0x800000>;
45 ranges = <0x0 0x1F000000 0x7FFFFF>;
46
47 eiu0: eiu@101000 {
48 #interrupt-cells = <1>;
49 interrupt-controller;
50 compatible = "lantiq,eiu-xway";
51 reg = <0x101000 0x1000>;
52 interrupt-parent = <&icu0>;
53 interrupts = <166 135 66 40 41 42>;
54 };
55
56 pmu0: pmu@102000 {
57 compatible = "lantiq,pmu-xway";
58 reg = <0x102000 0x1000>;
59 };
60
61 cgu0: cgu@103000 {
62 compatible = "lantiq,cgu-xway";
63 reg = <0x103000 0x1000>;
64 #clock-cells = <1>;
65 };
66
67 rcu0: rcu@203000 {
68 compatible = "lantiq,rcu-xway";
69 reg = <0x203000 0x1000>;
70 };
71 };
72
73 fpi@10000000 {
74 #address-cells = <1>;
75 #size-cells = <1>;
76 compatible = "lantiq,fpi", "simple-bus";
77 ranges = <0x0 0x10000000 0xEEFFFFF>;
78 reg = <0x10000000 0xEF00000>;
79
80 localbus@0 {
81 #address-cells = <2>;
82 #size-cells = <1>;
83 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
84 1 0 0x4000000 0x4000010>; /* addsel1 */
85 compatible = "lantiq,localbus", "simple-bus";
86 };
87
88 gptu@E100A00 {
89 compatible = "lantiq,gptu-xway";
90 reg = <0xE100A00 0x100>;
91 interrupt-parent = <&icu0>;
92 interrupts = <126 127 128 129 130 131>;
93 };
94
95 asc0: serial@E100400 {
96 compatible = "lantiq,asc";
97 reg = <0xE100400 0x400>;
98 interrupt-parent = <&icu0>;
99 interrupts = <104 105 106>;
100 status = "disabled";
101 };
102
103 gpio: pinmux@E100B10 {
104 compatible = "lantiq,pinctrl-xr9";
105 #gpio-cells = <2>;
106 gpio-controller;
107 reg = <0xE100B10 0xA0>;
108 };
109
110 asc1: serial@E100C00 {
111 compatible = "lantiq,asc";
112 reg = <0xE100C00 0x400>;
113 interrupt-parent = <&icu0>;
114 interrupts = <112 113 114>;
115 };
116
117 ifxhcd@E101000 {
118 compatible = "lantiq,ifxhcd-arx100", "lantiq,ifxhcd-arx100-dwc2";
119 reg = <0xE101000 0x1000
120 0xE120000 0x3f000>;
121 interrupt-parent = <&icu0>;
122 interrupts = <62 91>;
123 status = "disabled";
124 };
125
126 ifxhcd@E106000 {
127 compatible = "lantiq,ifxhcd-arx100-dwc2";
128 reg = <0xE106000 0x1000
129 0xE1E0000 0x3f000>;
130 interrupt-parent = <&icu0>;
131 interrupts = <91>;
132 status = "disabled";
133 };
134
135 deu@E103100 {
136 compatible = "lantiq,deu-arx100";
137 reg = <0xE103100 0xf00>;
138 };
139
140 dma0: dma@E104100 {
141 compatible = "lantiq,dma-xway";
142 reg = <0xE104100 0x800>;
143 };
144
145 ebu0: ebu@E105300 {
146 compatible = "lantiq,ebu-xway";
147 reg = <0xE105300 0x100>;
148 };
149
150 mei@E116000 {
151 compatible = "lantiq,mei-xway";
152 interrupt-parent = <&icu0>;
153 interrupts = <63>;
154 };
155
156 etop@E180000 {
157 compatible = "lantiq,etop-xway";
158 reg = <0xE180000 0x40000
159 0xE108000 0x200>;
160 interrupt-parent = <&icu0>;
161 interrupts = <73 72>;
162 mac-address = [ 00 11 22 33 44 55 ];
163 };
164
165 ppe@E234000 {
166 compatible = "lantiq,ppe-arx100";
167 interrupt-parent = <&icu0>;
168 interrupts = <96>;
169 };
170
171 pci0: pci@E105400 {
172 status = "disabled";
173 #address-cells = <3>;
174 #size-cells = <2>;
175 #interrupt-cells = <1>;
176 compatible = "lantiq,pci-xway";
177 bus-range = <0x0 0x0>;
178 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
179 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
180 reg = <0x7000000 0x8000 /* config space */
181 0xE105400 0x400>; /* pci bridge */
182 lantiq,bus-clock = <33333333>;
183 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
184 interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
185 req-mask = <0x1>;
186 };
187 };
188
189 adsl {
190 compatible = "lantiq,adsl-arx100";
191 };
192 };