lantiq: fix amazonse.dsti
[oweals/openwrt.git] / target / linux / lantiq / dts / amazonse.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4         #address-cells = <1>;
5         #size-cells = <1>;
6         compatible = "lantiq,xway", "lantiq,ase";
7
8         aliases {
9                 serial0 = &asc1;
10         };
11
12         chosen {
13                 stdout-path = "serial0:115200n8";
14         };
15
16         cpus {
17                 cpu@0 {
18                         compatible = "mips,mips4Kc";
19                 };
20         };
21
22         memory@0 {
23                 device_type = "memory";
24         };
25
26         biu@1F800000 {
27                 #address-cells = <1>;
28                 #size-cells = <1>;
29                 compatible = "lantiq,biu", "simple-bus";
30                 reg = <0x1F800000 0x800000>;
31                 ranges = <0x0 0x1F800000 0x7FFFFF>;
32
33                 icu0: icu@80200 {
34                         #interrupt-cells = <1>;
35                         interrupt-controller;
36                         compatible = "lantiq,icu";
37                         reg = <0x80200 0x28
38                                 0x80228 0x28
39                                 0x80250 0x28
40                                 0x80278 0x28
41                                 0x802a0 0x28>;
42                 };
43
44                 watchdog@803F0 {
45                         compatible = "lantiq,wdt";
46                         reg = <0x803F0 0x10>;
47                 };
48         };
49
50         sram@1F000000 {
51                 #address-cells = <1>;
52                 #size-cells = <1>;
53                 compatible = "lantiq,sram", "simple-bus";
54                 reg = <0x1F000000 0x800000>;
55                 ranges = <0x0 0x1F000000 0x7FFFFF>;
56
57                 eiu0: eiu@101000 {
58                         #interrupt-cells = <1>;
59                         interrupt-controller;
60                         compatible = "lantiq,eiu-xway";
61                         reg = <0x101000 0x1000>;
62                         interrupt-parent = <&icu0>;
63                         lantiq,eiu-irqs = <29 30 31>;
64                 };
65
66                 pmu0: pmu@102000 {
67                         compatible = "lantiq,pmu-xway";
68                         reg = <0x102000 0x1000>;
69                 };
70
71                 cgu0: cgu@103000 {
72                         compatible = "lantiq,cgu-xway";
73                         reg = <0x103000 0x1000>;
74                         #clock-cells = <1>;
75                 };
76
77                 rcu0: rcu@203000 {
78                         compatible = "lantiq,rcu-xway";
79                         reg = <0x203000 0x1000>;
80                 };
81         };
82
83         fpi@10000000 {
84                 #address-cells = <1>;
85                 #size-cells = <1>;
86                 compatible = "lantiq,fpi", "simple-bus";
87                 ranges = <0x0 0x10000000 0xEEFFFFF>;
88                 reg = <0x10000000 0xEF00000>;
89
90                 localbus@0 {
91                         #address-cells = <2>;
92                         #size-cells = <1>;
93                         ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
94                                 1 0 0x4000000 0x4000010>; /* addsel1 */
95                         compatible = "lantiq,localbus", "simple-bus";
96                 };
97
98                 spi@E100800 {
99                         compatible = "lantiq,ase-spi";
100                         reg = <0xE100800 0x100>;
101                         interrupt-parent = <&icu0>;
102                         interrupts = <24 25 26>;
103                         interrupt-names = "spi_rx", "spi_tx", "spi_err",
104                                         "spi_frm";
105                         #address-cells = <1>;
106                         #size-cells = <1>;
107                 };
108
109                 gptu@E100A00 {
110                         compatible = "lantiq,gptu-xway";
111                         reg = <0xE100A00 0x100>;
112                         interrupt-parent = <&icu0>;
113                         interrupts = <33 34 35 36 37 38>;
114                 };
115
116                 gpio: pinmux@E100B10 {
117                         compatible = "lantiq,ase-pinctrl";
118                         #gpio-cells = <2>;
119                         gpio-controller;
120                         reg = <0xE100B10 0xA0>;
121                 };
122
123                 asc1: serial@E100C00 {
124                         compatible = "lantiq,asc";
125                         reg = <0xE100C00 0x400>;
126                         interrupt-parent = <&icu0>;
127                         interrupts = <72 74 75>;
128                 };
129
130                 mei@E116000 {
131                         compatible = "lantiq,mei-xway";
132                         interrupt-parent = <&icu0>;
133                         interrupts = <81>;
134                 };
135
136                 ifxhcd@E101000 {
137                         compatible = "lantiq,ase-usb", "lantiq,ifxhcd-ase";
138                         reg = <0xE101000 0x1000
139                                 0xE120000 0x3f000>;
140                         interrupt-parent = <&icu0>;
141                         interrupts = <39>;
142                         dr_mode = "host";
143                         status = "disabled";
144                 };
145
146                 dma0: dma@E104100 {
147                         compatible = "lantiq,dma-xway";
148                         reg = <0xE104100 0x800>;
149                 };
150
151                 ebu0: ebu@E105300 {
152                         compatible = "lantiq,ebu-xway";
153                         reg = <0xE105300 0x100>;
154                 };
155
156                 ppe@E234000 {
157                         compatible = "lantiq,ppe-ase";
158                         interrupt-parent = <&icu0>;
159                         interrupts = <85>;
160                 };
161
162                 etop@E180000 {
163                         compatible = "lantiq,etop-xway";
164                         reg = <0xE180000 0x40000>;
165                         interrupt-parent = <&icu0>;
166                         interrupts = <105 109>;
167                 };
168         };
169
170         adsl {
171                 compatible = "lantiq,adsl-ase";
172         };
173 };