3 #include <dt-bindings/input/input.h>
6 compatible = "arcadyan,arv8539pw22", "lantiq,xway", "lantiq,danube";
7 model = "Speedport W 504V Typ A";
10 bootargs = "console=ttyLTQ0,115200";
14 led-boot = &power_green;
15 led-failsafe = &power_red;
16 led-running = &power_green;
17 led-upgrade = &power_green;
20 led-internet = &online_green;
21 led-wifi = &wireless_green;
25 device_type = "memory";
26 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys-polled";
31 poll-interval = <100>;
35 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_WPS_BUTTON>;
40 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
43 /* key DECT is missing */
47 compatible = "gpio-leds";
49 power_green: power-green {
50 label = "green:power";
51 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
52 default-state = "keep";
54 power_red: power-red {
56 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
59 dsl_green: dsl-green {
61 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
64 online_green: online-green {
65 label = "green:online";
66 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
69 wireless_green: wireless-green {
71 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
74 telefonie green is missing
78 usb_vbus: regulator-usb-vbus {
79 compatible = "regulator-fixed";
81 regulator-name = "USB_VBUS";
83 regulator-min-microvolt = <5000000>;
84 regulator-max-microvolt = <5000000>;
86 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&state_default>;
95 state_default: pinmux {
102 lantiq,pins = "io31";
110 nvmem-cells = <&macaddr_art_16 0>;
111 nvmem-cell-names = "mac-address";
116 compatible = "lantiq,nor";
118 reg = <0 0x0 0x800000>;
121 compatible = "fixed-partitions";
122 #address-cells = <1>;
127 reg = <0x00000 0x30000>; /* 192 KiB */
133 reg = <0x30000 0x10000>; /* 64 KiB */
139 reg = <0x40000 0x7b0000>; /* 7872 KiB */
142 art: partition@7f0000 {
144 reg = <0x7f0000 0x10000>; /* 64 KiB*/
148 compatible = "fixed-layout";
149 #address-cells = <1>;
152 macaddr_art_16: macaddr@16 {
153 compatible = "mac-base";
155 #nvmem-cell-cells = <1>;
166 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
167 pinctrl-names = "default";
169 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
172 compatible = "pci168c,0029";
173 reg = <0x7000 0 0 0 0>;
174 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
175 nvmem-cells = <&macaddr_art_16 1>;
176 nvmem-cell-names = "mac-address";
186 vbus-supply = <&usb_vbus>;
191 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;