5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "hootoo,ht-tm02", "ralink,rt5350-soc";
10 model = "HooToo HT-TM02";
14 led-failsafe = &led_wlan;
15 led-running = &led_wlan;
16 led-upgrade = &led_wlan;
20 compatible = "gpio-leds";
23 label = "ht-tm02:blue:wlan";
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
28 label = "ht-tm02:green:lan";
29 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
47 linux,input-type = <EV_SW>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0x7b0000>;
97 state_default: pinctrl0 {
99 ralink,group = "i2c", "jtag", "uartf";
100 ralink,function = "gpio";
106 mtd-mac-address = <&factory 0x28>;
110 mediatek,portmap = <0x10>;
111 mediatek,portdisable = <0x2f>;
115 ralink,mtd-eeprom = <&factory 0>;