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>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <25000000>;
59 compatible = "fixed-partitions";
69 firmware: partition@20000 {
70 compatible = "tplink,firmware";
71 reg = <0x20000 0x7d0000>;
75 art: partition@7f0000 {
76 reg = <0x7f0000 0x10000>;
87 mtd-mac-address = <&uboot 0x1fc00>;
92 switch-phy-addr-swap = <0>;
93 switch-phy-swap = <0>;
99 compatible = "syscon", "simple-mfd";
108 vbus-supply = <®_usb_vbus>;
118 mtd-cal-data = <&art 0x1000>;
119 mtd-mac-address = <&uboot 0x1fc00>;