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 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
43 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
46 /* key DECT is missing */
50 compatible = "gpio-leds";
52 power_green: power-green {
53 label = "arv8539pw22:green:power";
54 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
55 default-state = "keep";
57 power_red: power-red {
58 label = "arv8539pw22:red:power";
59 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
62 dsl_green: dsl-green {
63 label = "arv8539pw22:green:dsl";
64 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
67 online_green: online-green {
68 label = "arv8539pw22:green:online";
69 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
72 wireless_green: wireless-green {
73 label = "arv8539pw22:green:wlan";
74 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
77 telefonie green is missing
81 usb_vbus: regulator-usb-vbus {
82 compatible = "regulator-fixed";
84 regulator-name = "USB_VBUS";
86 regulator-min-microvolt = <5000000>;
87 regulator-max-microvolt = <5000000>;
89 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&state_default>;
98 state_default: pinmux {
100 lantiq,groups = "req1";
101 lantiq,function = "pci";
102 lantiq,open-drain = <1>;
107 lantiq,groups = "gnt1";
108 lantiq,function = "pci";
112 lantiq,pins = "io21";
117 lantiq,pins = "io31";
125 mtd-mac-address = <&art 0x16>;
130 compatible = "lantiq,nor";
132 reg = <0 0x0 0x800000>;
133 #address-cells = <1>;
137 compatible = "fixed-partitions";
138 #address-cells = <1>;
143 reg = <0x00000 0x30000>; /* 192 KiB */
149 reg = <0x30000 0x10000>; /* 64 KiB */
155 reg = <0x40000 0x7B0000>; /* 7872 KiB */
158 art: partition@7F0000 {
160 reg = <0x7F0000 0x10000>; /* 64 KiB*/
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 mtd-mac-address = <&art 0x16>;
176 mtd-mac-address-increment = <1>;
186 vbus-supply = <&usb_vbus>;
191 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;