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