5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "thunder,timecloud", "mediatek,mt7621-soc";
10 model = "Thunder Timecloud";
13 led-boot = &led_statuso;
14 led-failsafe = &led_statuso;
15 led-running = &led_statuso;
16 led-upgrade = &led_statuso;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
27 label = "timecloud:white:status";
28 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
32 label = "timecloud:orange:status";
33 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
91 compatible = "denx,uimage";
93 reg = <0x50000 0xfb0000>;
100 mtd-mac-address = <&factory 0xe000>;
104 state_default: pinctrl0 {
106 ralink,group = "i2c", "uart2", "jtag";
107 ralink,function = "gpio";