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 compatible = "gpio-leds";
16 label = "ht-tm02:blue:wlan";
17 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
21 label = "ht-tm02:green:lan";
22 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
42 linux,input-type = <EV_SW>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
69 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
75 reg = <0x40000 0x10000>;
81 reg = <0x50000 0x7b0000>;
87 state_default: pinctrl0 {
89 ralink,group = "i2c", "jtag", "uartf";
90 ralink,function = "gpio";
96 mtd-mac-address = <&factory 0x28>;
100 mediatek,portmap = <0x10>;
101 mediatek,portdisable = <0x2f>;
105 ralink,mtd-eeprom = <&factory 0>;