3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "hootoo,ht-tm02", "ralink,rt5350-soc";
8 model = "HooToo HT-TM02";
12 led-failsafe = &led_wlan;
13 led-running = &led_wlan;
14 led-upgrade = &led_wlan;
18 compatible = "gpio-leds";
21 label = "ht-tm02:blue:wlan";
22 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
26 label = "ht-tm02:green:lan";
27 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
37 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
45 linux,input-type = <EV_SW>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
63 compatible = "fixed-partitions";
75 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
81 reg = <0x40000 0x10000>;
86 compatible = "denx,uimage";
88 reg = <0x50000 0x7b0000>;
96 groups = "i2c", "jtag", "uartf";
102 mtd-mac-address = <&factory 0x28>;
106 mediatek,portmap = <0x10>;
107 mediatek,portdisable = <0x2f>;
111 ralink,mtd-eeprom = <&factory 0x0>;