5 #include <dt-bindings/input/input.h>
8 compatible = "HT-TM02", "ralink,rt5350-soc";
9 model = "HooToo HT-TM02";
12 compatible = "gpio-leds";
15 label = "ht-tm02:blue:wlan";
20 label = "ht-tm02:green:lan";
21 gpios = <&gpio0 12 1>;
26 compatible = "gpio-keys-polled";
33 gpios = <&gpio0 10 1>;
34 linux,code = <KEY_RESTART>;
39 gpios = <&gpio0 14 1>;
41 linux,input-type = <EV_SW>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
68 reg = <0x30000 0x10000>;
72 factory: partition@40000 {
74 reg = <0x40000 0x10000>;
80 reg = <0x50000 0x7b0000>;
86 state_default: pinctrl0 {
88 ralink,group = "i2c", "jtag", "uartf";
89 ralink,function = "gpio";
95 mtd-mac-address = <&factory 0x28>;
99 mediatek,portmap = <0x10>;
100 mediatek,portdisable = <0x2f>;
104 ralink,mtd-eeprom = <&factory 0>;