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";
13 led-status = &led_wlan;
17 compatible = "gpio-leds";
20 label = "ht-tm02:blue:wlan";
21 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
25 label = "ht-tm02:green:lan";
26 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys-polled";
38 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
46 linux,input-type = <EV_SW>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
85 reg = <0x50000 0x7b0000>;
91 state_default: pinctrl0 {
93 ralink,group = "i2c", "jtag", "uartf";
94 ralink,function = "gpio";
100 mtd-mac-address = <&factory 0x28>;
104 mediatek,portmap = <0x10>;
105 mediatek,portdisable = <0x2f>;
109 ralink,mtd-eeprom = <&factory 0>;