080ed8e877878cb06bb42b8c450b1bae295ca439
[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
80                 etop@E180000 {
81                         compatible = "lantiq,etop-xway";
82                         reg = <0xE180000 0x40000>;
83                         interrupt-parent = <&icu0>;
84                         interrupts = <73 78>;
85                         phy-mode = "rmii";
86                         mac-address = [ 00 11 22 33 44 55 ];
87                 };
88
89                 pci@E105400 {
90                         lantiq,bus-clock = <33333333>;
91                         interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
92                         interrupt-map = <
93                                 0x7000 0 0 1 &icu0 30 1 // slot 14, irq 29
94                         >;
95                         gpio-reset = <&gpio 21 0>;
96                         req-mask = <0x1>;               /* GNT1 */
97                 };
98
99         };
100
101         gpio-keys {
102                 compatible = "gpio-keys1";
103                 reset {
104                         label = "Reset";
105                         gpios = <&gpio 29 1>;
106                         gpio-key,wakeup;
107                         linux,code = <0x100>;
108                 };
109         };
110
111         gpio-leds {
112                 compatible = "gpio-leds";
113                 festnetz {
114                         label = "Festnetz";
115                         gpios = <&gpio 4 1>;
116                         default-state = "on";
117                 };
118                 internet {
119                         label = "Internet";
120                         gpios = <&gpio 5 1>;
121                         default-state = "on";
122                 };
123                 wlan {
124                         label = "WLan";
125                         gpios = <&gpio 6 1>;
126                         default-state = "on";
127                 };
128                 online {
129                         label = "Online";
130                         gpios = <&gpio 8 1>;
131                         default-state = "on";
132                 };
133                 dsl {
134                         label = "DSL";
135                         gpios = <&gpio 9 1>;
136                         default-state = "on";
137                 };
138         };
139 };