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 = "Pisen WMM003N";
11 compatible = "pisen,wmm003n", "qca,ar9331";
15 led-boot = &led_system;
16 led-failsafe = &led_system;
17 led-running = &led_system;
18 led-upgrade = &led_system;
22 compatible = "gpio-keys-polled";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
34 compatible = "gpio-leds";
37 label = "pisen:blue:system";
38 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
42 reg_usb_vbus: reg_usb_vbus {
43 compatible = "regulator-fixed";
44 regulator-name = "usb_vbus";
45 regulator-min-microvolt = <5000000>;
46 regulator-max-microvolt = <5000000>;
47 gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <25000000>;
62 compatible = "fixed-partitions";
72 firmware: partition@20000 {
73 compatible = "tplink,firmware";
74 reg = <0x20000 0x7d0000>;
78 art: partition@7f0000 {
79 reg = <0x7f0000 0x10000>;
90 mtd-mac-address = <&uboot 0x1fc00>;
95 switch-phy-addr-swap = <0>;
96 switch-phy-swap = <0>;
102 compatible = "syscon", "simple-mfd";
115 vbus-supply = <®_usb_vbus>;
125 mtd-cal-data = <&art 0x1000>;
126 mtd-mac-address = <&uboot 0x1fc00>;