5 #include <dt-bindings/input/input.h>
8 compatible = "arcadyan,arv8539pw22", "lantiq,xway", "lantiq,danube";
9 model = "Speedport W 504V Typ A";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
17 led-failsafe = &power_red;
18 led-running = &power_green;
19 led-upgrade = &power_green;
22 led-internet = &online_green;
23 led-wifi = &wireless_green;
27 device_type = "memory";
28 reg = <0x0 0x4000000>;
32 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
42 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
45 /* key DECT is missing */
49 compatible = "gpio-leds";
51 power_green: power-green {
52 label = "arv8539pw22:green:power";
53 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
56 power_red: power-red {
57 label = "arv8539pw22:red:power";
58 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
61 dsl_green: dsl-green {
62 label = "arv8539pw22:green:dsl";
63 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
66 online_green: online-green {
67 label = "arv8539pw22:green:online";
68 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
71 wireless_green: wireless-green {
72 label = "arv8539pw22:green:wlan";
73 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
76 telefonie green is missing
80 usb_vbus: regulator-usb-vbus {
81 compatible = "regulator-fixed";
83 regulator-name = "USB_VBUS";
85 regulator-min-microvolt = <5000000>;
86 regulator-max-microvolt = <5000000>;
88 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&state_default>;
97 state_default: pinmux {
99 lantiq,groups = "req1";
100 lantiq,function = "pci";
101 lantiq,open-drain = <1>;
106 lantiq,groups = "gnt1";
107 lantiq,function = "pci";
111 lantiq,pins = "io21";
116 lantiq,pins = "io31";
124 mtd-mac-address = <&art 0x16>;
129 compatible = "lantiq,nor";
131 reg = <0 0x0 0x800000>;
134 compatible = "fixed-partitions";
135 #address-cells = <1>;
140 reg = <0x00000 0x30000>; /* 192 KiB */
146 reg = <0x30000 0x10000>; /* 64 KiB */
152 reg = <0x40000 0x7b0000>; /* 7872 KiB */
155 art: partition@7f0000 {
157 reg = <0x7f0000 0x10000>; /* 64 KiB*/
166 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
169 compatible = "pci168c,0029";
170 reg = <0x7000 0 0 0 0>;
171 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
172 mtd-mac-address = <&art 0x16>;
173 mtd-mac-address-increment = <1>;
183 vbus-supply = <&usb_vbus>;
188 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;