lantiq: fix broadcasts and vlans in two iface mode
[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         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                         compatible = "lantiq,eiu-xway";
56                         reg = <0x101000 0x1000>;
57                         interrupt-parent = <&icu0>;
58                         lantiq,eiu-irqs = <29 30 31>;
59                 };
60
61                 pmu0: pmu@102000 {
62                         compatible = "lantiq,pmu-xway";
63                         reg = <0x102000 0x1000>;
64                 };
65
66                 cgu0: cgu@103000 {
67                         compatible = "lantiq,cgu-xway";
68                         reg = <0x103000 0x1000>;
69                         #clock-cells = <1>;
70                 };
71
72                 rcu0: rcu@203000 {
73                         compatible = "lantiq,rcu-xway";
74                         reg = <0x203000 0x1000>;
75                 };
76         };
77
78         fpi@10000000 {
79                 #address-cells = <1>;
80                 #size-cells = <1>;
81                 compatible = "lantiq,fpi", "simple-bus";
82                 ranges = <0x0 0x10000000 0xEEFFFFF>;
83                 reg = <0x10000000 0xEF00000>;
84
85                 spi@E100800 {
86                         compatible = "lantiq,ase-spi";
87                         reg = <0xE100800 0x100>;
88                         interrupt-parent = <&icu0>;
89                         interrupts = <24 25 26>;
90                         interrupt-names = "spi_rx", "spi_tx", "spi_err",
91                                         "spi_frm";
92                         #address-cells = <1>;
93                         #size-cells = <1>;
94                 };
95
96                 gptu@E100A00 {
97                         compatible = "lantiq,gptu-xway";
98                         reg = <0xE100A00 0x100>;
99                         interrupt-parent = <&icu0>;
100                         interrupts = <97 98 99 100 101 102>;
101                         status = "disabled";
102                 };
103
104                 gpio: pinmux@E100B10 {
105                         compatible = "lantiq,ase-pinctrl";
106                         #gpio-cells = <2>;
107                         gpio-controller;
108                         reg = <0xE100B10 0xA0>;
109                 };
110
111                 asc1: serial@E100C00 {
112                         compatible = "lantiq,asc";
113                         reg = <0xE100C00 0x400>;
114                         interrupt-parent = <&icu0>;
115                         interrupts = <72 74 75>;
116                 };
117
118                 mei@E116000 {
119                         compatible = "lantiq,mei-xway";
120                         interrupt-parent = <&icu0>;
121                         interrupts = <63>;
122                 };
123
124                 ifxhcd@E101000 {
125                         compatible = "lantiq,ase-usb", "lantiq,ifxhcd-ase";
126                         reg = <0xE101000 0x1000
127                                 0xE120000 0x3f000>;
128                         interrupt-parent = <&icu0>;
129                         interrupts = <39>;
130                         dr_mode = "host";
131                         status = "disabled";
132                 };
133
134                 dma0: dma@E104100 {
135                         compatible = "lantiq,dma-xway";
136                         reg = <0xE104100 0x800>;
137                 };
138
139                 ebu0: ebu@E105300 {
140                         compatible = "lantiq,ebu-xway";
141                         reg = <0xE105300 0x100>;
142                 };
143
144                 ppe@E234000 {
145                         compatible = "lantiq,ppe-ase";
146                         interrupt-parent = <&icu0>;
147                         interrupts = <85>;
148                 };
149
150                 etop@E180000 {
151                         compatible = "lantiq,etop-xway";
152                         reg = <0xE180000 0x40000>;
153                         interrupt-parent = <&icu0>;
154                         interrupts = <105 109>;
155                 };
156         };
157
158         adsl {
159                 compatible = "lantiq,adsl-ase";
160         };
161 };