1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 model = "Western Digital My Net Wi-Fi Range Extender";
11 compatible = "wd,mynet-wifi-rangeextender", "qca,ar9344";
14 bootargs = "console=ttyS0,115200n8";
18 led-boot = &led_power;
19 led-failsafe = &led_power;
20 led-running = &led_power;
21 led-upgrade = &led_power;
25 compatible = "gpio-leds";
28 function = LED_FUNCTION_POWER;
29 color = <LED_COLOR_ID_BLUE>;
30 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
31 /* LED has no off state. It's either on or it blinks */
35 function = LED_FUNCTION_LAN;
36 color = <LED_COLOR_ID_GREEN>;
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
47 label = "blue:rssi-low";
48 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
52 label = "blue:rssi-med";
53 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
57 label = "blue:rssi-max";
58 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
63 compatible = "gpio-keys";
66 linux,code = <KEY_RESTART>;
67 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
72 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
73 linux,input-type = <EV_SW>;
77 linux,code = <KEY_WPS_BUTTON>;
78 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
84 clock-frequency = <25000000>;
91 compatible = /* "s25fl064k", */ "jedec,spi-nor";
93 spi-max-frequency = <25000000>;
96 compatible = "fixed-partitions";
102 reg = <0x0 0x040000>;
108 reg = <0x40000 0x7a0000>;
109 compatible = "cybertan,trx";
112 nvram: partition@7e0000 {
114 reg = <0x7e0000 0x10000>;
117 art: partition@7f0000 {
119 reg = <0x7f0000 0x10000>;
130 compatible = "pci168c,0030";
131 reg = <0x0000 0 0 0 0>;
133 /* wifi MAC is stored in nvram */
140 phy4: ethernet-phy@4 {
148 pll-data = <0x02000000 0x00000101 0x00001313>;
150 /* ethernet MAC is stored in nvram */
151 phy-mode = "rgmii-id";
152 phy-handle = <&phy4>;