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-status = &led_system;
19 compatible = "gpio-keys-polled";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
31 compatible = "gpio-leds";
34 label = "pisen: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>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <25000000>;
60 compatible = "fixed-partitions";
70 firmware: partition@20000 {
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";
112 vbus-supply = <®_usb_vbus>;
122 mtd-cal-data = <&art 0x1000>;
123 mtd-mac-address = <&uboot 0x1fc00>;