1d47927c2060796fd149f07ce6dfc93976d1445e
[openwrt.git] / target / linux / lantiq / image / ARV7525PW.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6         chosen {
7                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
8         };
9
10         memory@0 {
11                 reg = <0x0 0x2000000>;
12         };
13
14         fpi@10000000 {
15                 #address-cells = <1>;
16                 #size-cells = <1>;
17                 localbus@0 {
18                         #address-cells = <2>;
19                         #size-cells = <1>;
20                         ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
21                                 1 0 0x4000000 0x4000010>; /* addsel1 */
22                         compatible = "lantiq,localbus", "simple-bus";
23
24                         nor-boot@0 {
25                                 compatible = "lantiq,nor";
26                                 bank-width = <2>;
27                                 reg = <0 0x0 0x2000000>;
28                                 #address-cells = <1>;
29                                 #size-cells = <1>;
30
31                                 partition@0 {
32                                         label = "uboot";
33                                         reg = <0x00000 0x10000>; /* 64 KB */
34                                 };
35
36                                 partition@10000 {
37                                         label = "uboot_env";
38                                         reg = <0x10000 0x10000>; /* 64 KB */
39                                 };
40
41                                 partition@20000 {
42                                         label = "linux";
43                                         reg = <0x20000 0x3c0000>;
44                                 };
45
46                                 partition@400000 {
47                                         label = "boardconfig";
48                                         reg = <0x3f0000 0x10000>;
49                                 };
50                         };
51                 };
52
53                 gpio: pinmux@E100B10 {
54                         compatible = "lantiq,pinctrl-xway";
55                         pinctrl-names = "default";
56                         pinctrl-0 = <&state_default>;
57
58                         #gpio-cells = <2>;
59                         gpio-controller;
60                         reg = <0xE100B10 0xA0>;
61
62                         state_default: pinmux {
63                                 exin {
64                                         lantiq,groups = "exin1";
65                                         lantiq,function = "exin";
66                                 };
67                                 pci {
68                                         lantiq,groups = "gnt1", "req1";
69                                         lantiq,function = "pci";
70                                 };
71                         };
72                 };
73
74                 adsl: dsl@E116000 {
75                         compatible = "lantiq,dsl-xway";
76                         interrupt-parent = <&icu0>;
77                         interrupts = <63 96>;
78                 };
79                 etop@E180000 {
80                         compatible = "lantiq,etop-xway";
81                         reg = <0xE180000 0x40000>;
82                         interrupt-parent = <&icu0>;
83                         interrupts = <73 78>;
84                         phy-mode = "rmii";
85                         mac-address = [ 00 11 22 33 44 55 ];
86                 };
87
88                 pci@E105400 {
89                         lantiq,bus-clock = <33333333>;
90                         interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
91                         interrupt-map = <
92                                 0x7000 0 0 1 &icu0 30 1 // slot 14, irq 29
93                         >;
94                         gpios-reset = <&gpio 21 0>;
95                         req-mask = <0x1>;               /* GNT1 */
96                 };
97
98         };
99
100         sflash@E100800 {
101                 compatible = "lantiq,sflash_at45";
102                 reg = <0xE100800 0x100>;
103                 #address-cells = <1>;
104                 #size-cells = <1>;
105
106                 partition@0 {
107                         label = "uboot";
108                         reg = <0x00000 0x10000>;
109                 };
110
111                 partition@10000 {
112                         label = "uboot_env";
113                         reg = <0x10000 0x10000>;
114                 };
115
116                 partition@20000 {
117                         label = "linux";
118                         reg = <0x20000 0x1d0000>;
119                 };
120         };
121
122         gpio-keys {
123                 compatible = "gpio-keys1";
124                 reset {
125                         label = "Reset";
126                         gpios = <&gpio 29 1>;
127                         gpio-key,wakeup;
128                         linux,code = <0x100>;
129                 };
130         };
131         gpio-leds {
132                 compatible = "gpio-leds";
133                 festnetz {
134                         label = "Festnetz";
135                         gpios = <&gpio 4 1>;
136                         default-state = "on";
137                 };
138                 internet {
139                         label = "Internet";
140                         gpios = <&gpio 5 1>;
141                         default-state = "on";
142                 };
143                 wlan {
144                         label = "WLan";
145                         gpios = <&gpio 6 1>;
146                         default-state = "on";
147                 };
148                 online {
149                         label = "Online";
150                         gpios = <&gpio 8 1>;
151                         default-state = "on";
152                 };
153                 dsl {
154                         label = "DSL";
155                         gpios = <&gpio 9 1>;
156                         default-state = "on";
157                 };
158         };
159 };