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";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
33 compatible = "gpio-leds";
36 label = "pisen:blue:system";
37 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
41 reg_usb_vbus: reg_usb_vbus {
42 compatible = "regulator-fixed";
43 regulator-name = "usb_vbus";
44 regulator-min-microvolt = <5000000>;
45 regulator-max-microvolt = <5000000>;
46 gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <25000000>;
61 compatible = "fixed-partitions";
71 firmware: partition@20000 {
72 compatible = "tplink,firmware";
73 reg = <0x20000 0x7d0000>;
77 art: partition@7f0000 {
78 reg = <0x7f0000 0x10000>;
89 mtd-mac-address = <&uboot 0x1fc00>;
94 switch-phy-addr-swap = <0>;
95 switch-phy-swap = <0>;
101 compatible = "syscon", "simple-mfd";
114 vbus-supply = <®_usb_vbus>;
124 mtd-cal-data = <&art 0x1000>;
125 mtd-mac-address = <&uboot 0x1fc00>;