5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "wio,wio-one", "mediatek,mt7621-soc";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,57600";
24 compatible = "gpio-leds";
27 label = "wio-one:green:power";
28 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
32 label = "wio-one:red:alarm";
33 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-export";
42 gpio-export,name = "usb";
43 gpio-export,output = <1>;
44 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <104000000>;
57 m25p,chunked-io = <32>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
78 reg = <0x40000 0x10000>;
84 reg = <0x50000 0xfb0000>;
85 compatible = "denx,uimage";
92 mtd-mac-address = <&factory 4>;
93 mtd-mac-address-increment = <(-2)>;
97 state_default: pinctrl0 {
99 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci", "jtag";
100 ralink,function = "gpio";
111 reg = <0x0000 0 0 0 0>;
112 mediatek,mtd-eeprom = <&factory 0x8000>;
113 ieee80211-freq-limit = <5000000 6000000>;
114 adant,sas-devid = <1>;
115 adant,sas-gpio = <45 46 47 48>;
121 reg = <0x0000 0 0 0 0>;
122 mediatek,mtd-eeprom = <&factory 0x0000>;
123 adant,sas-devid = <0>;
124 adant,sas-gpio = <41 42 43 44>;