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>;
81 compatible = "fixed-layout";
85 eeprom_factory_0: eeprom@0 {
89 macaddr_factory_28: macaddr@28 {
96 compatible = "denx,uimage";
98 reg = <0x50000 0x7b0000>;
106 groups = "i2c", "jtag", "uartf";
112 nvmem-cells = <&macaddr_factory_28>;
113 nvmem-cell-names = "mac-address";
117 mediatek,portmap = <0x10>;
118 mediatek,portdisable = <0x2f>;
122 nvmem-cells = <&eeprom_factory_0>;
123 nvmem-cell-names = "eeprom";