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 device_type = "memory";
21 reg = <0x0 0x10000000>;
25 bootargs = "console=ttyS0,115200";
29 compatible = "gpio-leds";
32 label = "timecloud:white:status";
33 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
37 label = "timecloud:orange:status";
38 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys-polled";
48 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
54 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <10000000>;
73 compatible = "fixed-partitions";
85 reg = <0x30000 0x10000>;
89 factory: partition@40000 {
91 reg = <0x40000 0x10000>;
96 compatible = "denx,uimage";
98 reg = <0x50000 0xfb0000>;
105 mtd-mac-address = <&factory 0xe000>;
109 state_default: pinctrl0 {
111 ralink,group = "i2c", "uart2", "jtag";
112 ralink,function = "gpio";