5 #include <dt-bindings/input/input.h>
8 model = "ARV4525PW - Speedport W501V Typ A";
11 /* we dont have a power led, lets use the online led */
13 led-failsafe = &online;
16 led-internet = &online;
21 reg = <0x0 0x2000000>;
27 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
34 compatible = "lantiq,nor";
36 reg = <0 0x0 0x2000000>;
41 compatible = "fixed-partitions";
47 reg = <0x00000 0x10000>;
53 reg = <0x10000 0x10000>;
59 reg = <0x20000 0x3d0000>;
62 boardconfig: partition@400000 {
63 label = "boardconfig";
64 reg = <0x3f0000 0x10000>;
71 compatible = "ath5k,eeprom";
72 ath,eep-flash = <&boardconfig 0x400>;
73 ath,mac-offset = <0x0>;
78 gpio: pinmux@E100B10 {
79 pinctrl-names = "default";
80 pinctrl-0 = <&state_default>;
82 state_default: pinmux {
84 lantiq,groups = "req1";
85 lantiq,function = "pci";
86 lantiq,open-drain = <1>;
91 lantiq,groups = "gnt1";
92 lantiq,function = "pci";
101 lantiq,pins = "io31";
109 mtd-mac-address = <&boardconfig 0x16>;
114 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
119 #define ARV4525PW_PHYRESET 13
120 #define ARV4525PW_RELAY 31
124 compatible = "gpio-keys-polled";
125 #address-cells = <1>;
127 poll-interval = <100>;
131 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
132 linux,code = <KEY_WPS_BUTTON>;
136 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
137 linux,code = <KEY_RESTART>;
142 compatible = "gpio-leds";
144 label = "arv4525pw:green:festnetz";
145 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
148 label = "arv4525pw:green:internet";
149 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
152 label = "arv4525pw:green:t-dsl";
153 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
156 label = "arv4525pw:green:wlan";
157 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
160 label = "arv4525pw:green:online";
161 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;