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