lantiq: device tree bindings for dwc2 on danube
[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         cpus {
9                 cpu@0 {
10                         compatible = "mips,mips4Kc";
11                 };
12         };
13
14         biu@1F800000 {
15                 #address-cells = <1>;
16                 #size-cells = <1>;
17                 compatible = "lantiq,biu", "simple-bus";
18                 reg = <0x1F800000 0x800000>;
19                 ranges = <0x0 0x1F800000 0x7FFFFF>;
20
21                 icu0: icu@80200 {
22                         #interrupt-cells = <1>;
23                         interrupt-controller;
24                         compatible = "lantiq,icu";
25                         reg = <0x80200 0x28
26                                 0x80228 0x28
27                                 0x80250 0x28
28                                 0x80278 0x28
29                                 0x802a0 0x28>;
30                 };
31
32                 watchdog@803F0 {
33                         compatible = "lantiq,wdt";
34                         reg = <0x803F0 0x10>;
35                 };
36         };
37
38         sram@1F000000 {
39                 #address-cells = <1>;
40                 #size-cells = <1>;
41                 compatible = "lantiq,sram", "simple-bus";
42                 reg = <0x1F000000 0x800000>;
43                 ranges = <0x0 0x1F000000 0x7FFFFF>;
44
45                 eiu0: eiu@101000 {
46                         #interrupt-cells = <1>;
47                         compatible = "lantiq,eiu-xway";
48                         reg = <0x101000 0x1000>;
49                         interrupt-parent = <&icu0>;
50                         lantiq,eiu-irqs = <29 30 31>;
51                 };
52
53                 pmu0: pmu@102000 {
54                         compatible = "lantiq,pmu-xway";
55                         reg = <0x102000 0x1000>;
56                 };
57
58                 cgu0: cgu@103000 {
59                         compatible = "lantiq,cgu-xway";
60                         reg = <0x103000 0x1000>;
61                         #clock-cells = <1>;
62                 };
63
64                 rcu0: rcu@203000 {
65                         compatible = "lantiq,rcu-xway";
66                         reg = <0x203000 0x1000>;
67                 };
68         };
69
70         fpi@10000000 {
71                 #address-cells = <1>;
72                 #size-cells = <1>;
73                 compatible = "lantiq,fpi", "simple-bus";
74                 ranges = <0x0 0x10000000 0xEEFFFFF>;
75                 reg = <0x10000000 0xEF00000>;
76
77                 spi@E100800 {
78                         compatible = "lantiq,ase-spi";
79                         reg = <0xE100800 0x100>;
80                         interrupt-parent = <&icu0>;
81                         interrupts = <24 25 26>;
82                         interrupt-names = "spi_rx", "spi_tx", "spi_err",
83                                         "spi_frm";
84                         #address-cells = <1>;
85                         #size-cells = <1>;
86                 };
87
88                 gptu@E100A00 {
89                         compatible = "lantiq,gptu-xway";
90                         reg = <0xE100A00 0x100>;
91                         interrupt-parent = <&icu0>;
92                         interrupts = <97 98 99 100 101 102>;
93                         status = "disabled";
94                 };
95
96                 gpio: pinmux@E100B10 {
97                         compatible = "lantiq,ase-pinctrl";
98                         #gpio-cells = <2>;
99                         gpio-controller;
100                         reg = <0xE100B10 0xA0>;
101                 };
102
103                 serial@E100C00 {
104                         compatible = "lantiq,asc";
105                         reg = <0xE100C00 0x400>;
106                         interrupt-parent = <&icu0>;
107                         interrupts = <72 74 75>;
108                 };
109
110                 mei@E116000 {
111                         compatible = "lantiq,mei-xway";
112                         interrupt-parent = <&icu0>;
113                         interrupts = <63>;
114                 };
115
116                 ifxhcd@E101000 {
117                         compatible = "lantiq,ifxhcd-ase";
118                         reg = <0xE101000 0x1000
119                                 0xE120000 0x3f000>;
120                         interrupt-parent = <&icu0>;
121                         interrupts = <39>;
122                         status = "disabled";
123                 };
124
125                 dma0: dma@E104100 {
126                         compatible = "lantiq,dma-xway";
127                         reg = <0xE104100 0x800>;
128                 };
129
130                 ebu0: ebu@E105300 {
131                         compatible = "lantiq,ebu-xway";
132                         reg = <0xE105300 0x100>;
133                 };
134
135                 ppe@E234000 {
136                         compatible = "lantiq,ppe-ase";
137                         interrupt-parent = <&icu0>;
138                         interrupts = <85>;
139                 };
140
141                 etop@E180000 {
142                         compatible = "lantiq,etop-xway";
143                         reg = <0xE180000 0x40000>;
144                         interrupt-parent = <&icu0>;
145                         interrupts = <105 109>;
146                 };
147         };
148
149         adsl {
150                 compatible = "lantiq,adsl-ase";
151         };
152 };