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";
42 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <10000000>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
85 reg = <0x40000 0x10000>;
90 compatible = "denx,uimage";
92 reg = <0x50000 0xfb0000>;
99 mtd-mac-address = <&factory 0xe000>;
104 ralink,group = "i2c", "uart2", "jtag";
105 ralink,function = "gpio";