922a2c8746197636b9566862c79030ba481dc725
[openwrt.git] / target / linux / lantiq / dts / ARV7525PW.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6         model = "ARV7525PW - Speedport W303V Typ A";
7
8         chosen {
9                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10
11                 leds {
12                         boot = &power;
13                         failsafe = &power1;
14                         running = &power;
15
16                         dsl = &power;
17                         internet = &online;
18                         wifi = &wifi;
19                 };
20         };
21
22         memory@0 {
23                 reg = <0x0 0x2000000>;
24         };
25
26         sram@1F000000 {
27                 vmmc@107000 {
28                         status = "okay";
29                         gpios = <&gpio 31 0>;
30                 };
31         };
32
33         fpi@10000000 {
34                 localbus@0 {
35                         nor-boot@0 {
36                                 compatible = "lantiq,nor";
37                                 bank-width = <2>;
38                                 reg = <0 0x0 0x2000000>;
39                                 #address-cells = <1>;
40                                 #size-cells = <1>;
41
42                                 partition@0 {
43                                         label = "uboot";
44                                         reg = <0x00000 0x10000>;
45                                         read-only;
46                                 };
47
48                                 partition@10000 {
49                                         label = "uboot_env";
50                                         reg = <0x10000 0x10000>;
51                                         read-only;
52                                 };
53
54                                 partition@20000 {
55                                         label = "firmware";
56                                         reg = <0x20000 0x3d0000>;
57                                 };
58
59                                 partition@400000 {
60                                         label = "board_config";
61                                         reg = <0x3f0000 0x10000>;
62                                         read-only;
63                                 };
64                         };
65
66                         mac_addr {
67                                 compatible = "lantiq,eth-mac";
68                                 reg = <0 0x3f0016 0x6>;
69                                 mac-increment = <2>;
70                         };
71
72                         ralink_eep {
73                                 compatible = "ralink,eeprom";
74                                 ralink,eeprom = "RT2860.eeprom";
75                                 reg = <0 0x3f0410 0x110>;
76                         };
77                 };
78
79                 gpio: pinmux@E100B10 {
80                         pinctrl-names = "default";
81                         pinctrl-0 = <&state_default>;
82
83                         state_default: pinmux {
84                                 exin {
85                                         lantiq,groups = "exin1";
86                                         lantiq,function = "exin";
87                                 };
88                                 pci {
89                                         lantiq,groups = "gnt1", "req1";
90                                         lantiq,function = "pci";
91                                 };
92                         };
93                 };
94
95                 etop@E180000 {
96                         phy-mode = "mii";
97                 };
98
99                 pci@E105400 {
100                         status = "okay";
101                         interrupt-map = <0x7000 0 0 1 &icu0 135 1>;
102                         req-mask = <0x1>;
103                 };
104
105         };
106
107         gpio-keys-polled {
108                 compatible = "gpio-keys-polled";
109                 #address-cells = <1>;
110                 #size-cells = <0>;
111                 poll-interval = <100>;
112
113                 wps {
114                         label = "wps";
115                         gpios = <&gpio 29 1>;
116                         linux,code = <0x211>;
117                 };
118                 reset {
119                         label = "reset";
120                         gpios = <&gpio 30 1>;
121                         linux,code = <0x198>;
122                 };
123         };
124
125         gpio-leds {
126                 compatible = "gpio-leds";
127                 power: power {
128                         label = "power";
129                         gpios = <&gpio 3 1>;
130                         default-state = "keep";
131                 };
132                 power1: power1 {
133                         label = "power1";
134                         gpios = <&gpio 4 1>;
135                 };
136                 online: online {
137                         label = "online";
138                         gpios = <&gpio 5 1>;
139                 };
140                 voice {
141                         label = "voice";
142                         gpios = <&gpio 6 1>;
143                 };
144                 voice2 {
145                         label = "voice2";
146                         gpios = <&gpio 8 1>;
147                 };
148                 wifi: wifi {
149                         label = "wifi";
150                         gpios = <&gpio 9 1>;
151                 };
152         };
153 };