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";
22 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
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>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 compatible = "denx,uimage";
84 reg = <0x50000 0x7b0000>;
92 groups = "i2c", "jtag", "uartf";
98 nvmem-cells = <&macaddr_factory_28>;
99 nvmem-cell-names = "mac-address";
103 mediatek,portmap = <0x10>;
104 mediatek,portdisable = <0x2f>;
108 ralink,mtd-eeprom = <&factory 0x0>;
112 compatible = "nvmem-cells";
113 #address-cells = <1>;
116 macaddr_factory_28: macaddr@28 {