3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "hootoo,ht-tm02", "ralink,rt5350-soc";
9 model = "HooToo HT-TM02";
13 led-failsafe = &led_wlan;
14 led-running = &led_wlan;
15 led-upgrade = &led_wlan;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_WLAN;
23 color = <LED_COLOR_ID_BLUE>;
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_LAN;
29 color = <LED_COLOR_ID_GREEN>;
30 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
40 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
48 linux,input-type = <EV_SW>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
80 reg = <0x40000 0x10000>;
84 compatible = "fixed-layout";
88 eeprom_factory_0: eeprom@0 {
92 macaddr_factory_28: macaddr@28 {
99 compatible = "denx,uimage";
101 reg = <0x50000 0x7b0000>;
109 groups = "i2c", "jtag", "uartf";
115 nvmem-cells = <&macaddr_factory_28>;
116 nvmem-cell-names = "mac-address";
120 mediatek,portmap = <0x10>;
121 mediatek,portdisable = <0x2f>;
125 nvmem-cells = <&eeprom_factory_0>;
126 nvmem-cell-names = "eeprom";