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";
35 poll-interval = <100>;
39 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
47 /* key DECT is missing */
51 compatible = "gpio-leds";
53 power_green: power-green {
54 label = "arv8539pw22:green:power";
55 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
56 default-state = "keep";
58 power_red: power-red {
59 label = "arv8539pw22:red:power";
60 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
63 dsl_green: dsl-green {
64 label = "arv8539pw22:green:dsl";
65 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
68 online_green: online-green {
69 label = "arv8539pw22:green:online";
70 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
73 wireless_green: wireless-green {
74 label = "arv8539pw22:green:wlan";
75 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
78 telefonie green is missing
82 usb_vbus: regulator-usb-vbus {
83 compatible = "regulator-fixed";
85 regulator-name = "USB_VBUS";
87 regulator-min-microvolt = <5000000>;
88 regulator-max-microvolt = <5000000>;
90 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&state_default>;
99 state_default: pinmux {
101 lantiq,groups = "req1";
102 lantiq,function = "pci";
103 lantiq,open-drain = <1>;
108 lantiq,groups = "gnt1";
109 lantiq,function = "pci";
113 lantiq,pins = "io21";
118 lantiq,pins = "io31";
126 mtd-mac-address = <&art 0x16>;
131 compatible = "lantiq,nor";
133 reg = <0 0x0 0x800000>;
134 #address-cells = <1>;
138 compatible = "fixed-partitions";
139 #address-cells = <1>;
144 reg = <0x00000 0x30000>; /* 192 KiB */
150 reg = <0x30000 0x10000>; /* 64 KiB */
156 reg = <0x40000 0x7B0000>; /* 7872 KiB */
159 art: partition@7F0000 {
161 reg = <0x7F0000 0x10000>; /* 64 KiB*/
170 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
173 compatible = "pci168c,0029";
174 reg = <0x7000 0 0 0 0>;
175 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
176 mtd-mac-address = <&art 0x16>;
177 mtd-mac-address-increment = <1>;
187 vbus-supply = <&usb_vbus>;
192 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;