3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 compatible = "arcadyan,arv4525pw", "lantiq,xway", "lantiq,danube";
8 model = "Speedport W501V Typ A";
11 bootargs = "console=ttyLTQ0,115200";
15 /* we dont have a power led, lets use the online led */
17 led-failsafe = &online;
20 led-internet = &online;
25 device_type = "memory";
26 reg = <0x0 0x2000000>;
30 compatible = "ath5k,eeprom";
31 ath,eep-flash = <&boardconfig 0x400>;
32 ath,mac-offset = <0x0>;
37 compatible = "gpio-keys-polled";
38 poll-interval = <100>;
42 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
47 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 compatible = "gpio-leds";
55 label = "green:festnetz";
56 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
59 label = "green:internet";
60 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
63 label = "green:t-dsl";
64 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
67 function = LED_FUNCTION_WLAN;
68 color = <LED_COLOR_ID_GREEN>;
69 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
72 label = "green:online";
73 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&state_default>;
82 state_default: pinmux {
95 /* #define ARV4525PW_PHYRESET 13 */
98 nvmem-cells = <&macaddr_boardconfig_16>;
99 nvmem-cell-names = "mac-address";
104 compatible = "lantiq,nor";
106 reg = <0 0x0 0x2000000>;
109 compatible = "fixed-partitions";
110 #address-cells = <1>;
115 reg = <0x00000 0x10000>;
120 label = "u-boot-env";
121 reg = <0x10000 0x10000>;
127 reg = <0x20000 0x3d0000>;
130 boardconfig: partition@3f0000 {
131 label = "boardconfig";
132 reg = <0x3f0000 0x10000>;
136 compatible = "fixed-layout";
137 #address-cells = <1>;
140 macaddr_boardconfig_16: macaddr@16 {
152 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
153 pinctrl-names = "default";
155 reset-gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
158 /* #define ARV4525PW_RELAY 31 */
161 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;