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";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
31 compatible = "gpio-leds";
34 label = "blue:system";
35 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
39 reg_usb_vbus: reg_usb_vbus {
40 compatible = "regulator-fixed";
41 regulator-name = "usb_vbus";
42 regulator-min-microvolt = <5000000>;
43 regulator-max-microvolt = <5000000>;
44 gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <25000000>;
58 compatible = "fixed-partitions";
68 firmware: partition@20000 {
69 compatible = "tplink,firmware";
70 reg = <0x20000 0x7d0000>;
74 art: partition@7f0000 {
75 reg = <0x7f0000 0x10000>;
86 nvmem-cells = <&macaddr_uboot_1fc00>;
87 nvmem-cell-names = "mac-address";
92 switch-phy-addr-swap = <0>;
93 switch-phy-swap = <0>;
99 compatible = "syscon", "simple-mfd";
104 vbus-supply = <®_usb_vbus>;
114 mtd-cal-data = <&art 0x1000>;
115 nvmem-cells = <&macaddr_uboot_1fc00>;
116 nvmem-cell-names = "mac-address";
120 compatible = "nvmem-cells";
121 #address-cells = <1>;
124 macaddr_uboot_1fc00: macaddr@1fc00 {