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>
9 model = "Pisen WMM003N";
10 compatible = "pisen,wmm003n", "qca,ar9331";
14 led-boot = &led_system;
15 led-failsafe = &led_system;
16 led-running = &led_system;
17 led-upgrade = &led_system;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
35 label = "blue:system";
36 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
40 reg_usb_vbus: reg_usb_vbus {
41 compatible = "regulator-fixed";
42 regulator-name = "usb_vbus";
43 regulator-min-microvolt = <5000000>;
44 regulator-max-microvolt = <5000000>;
45 gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <25000000>;
60 compatible = "fixed-partitions";
70 firmware: partition@20000 {
71 compatible = "tplink,firmware";
72 reg = <0x20000 0x7d0000>;
76 art: partition@7f0000 {
77 reg = <0x7f0000 0x10000>;
88 mtd-mac-address = <&uboot 0x1fc00>;
93 switch-phy-addr-swap = <0>;
94 switch-phy-swap = <0>;
100 compatible = "syscon", "simple-mfd";
109 vbus-supply = <®_usb_vbus>;
119 mtd-cal-data = <&art 0x1000>;
120 mtd-mac-address = <&uboot 0x1fc00>;