1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "Western Digital My Net Wi-Fi Range Extender";
11 compatible = "wd,mynet-wifi-rangeextender", "qca,ar9344";
14 bootargs = "console=ttyS0,115200n8";
19 led-failsafe = &power;
25 compatible = "gpio-leds";
28 label = "mynet-wifi-rangeextender:blue:power";
29 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
30 /* LED has no off state. It's either on or it blinks */
34 label = "mynet-wifi-rangeextender:green:lan";
35 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
39 label = "mynet-wifi-rangeextender:blue:wifi";
40 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "phy0tpt";
45 label = "mynet-wifi-rangeextender:blue:rssi-low";
46 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
50 label = "mynet-wifi-rangeextender:blue:rssi-med";
51 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
55 label = "mynet-wifi-rangeextender:blue:rssi-max";
56 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-keys-polled";
65 linux,code = <KEY_RESTART>;
66 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
67 debounce-interval = <60>;
72 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
73 linux,input-type = <EV_SW>;
74 debounce-interval = <60>;
78 linux,code = <KEY_WPS_BUTTON>;
79 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
80 debounce-interval = <60>;
86 clock-frequency = <25000000>;
99 compatible = /* "s25fl064k", */ "jedec,spi-nor";
101 spi-max-frequency = <25000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
110 reg = <0x0 0x040000>;
116 reg = <0x40000 0x7a0000>;
117 compatible = "cybertan,trx";
120 nvram: partition@7e0000 {
122 reg = <0x7e0000 0x10000>;
125 art: partition@7f0000 {
127 reg = <0x7f0000 0x10000>;
138 compatible = "pci168c,0030";
139 reg = <0x0000 0 0 0 0>;
141 /* wifi MAC is stored in nvram */
150 phy4: ethernet-phy@4 {
158 pll-data = <0x0e000000 0x3c000101 0x3c001313>;
160 /* ethernet MAC is stored in nvram */
162 phy-handle = <&phy4>;