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-status = &led_statuso;
17 device_type = "memory";
18 reg = <0x0 0x10000000>;
22 bootargs = "console=ttyS0,115200";
26 compatible = "gpio-leds";
29 label = "timecloud:white:status";
30 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
34 label = "timecloud:orange:status";
35 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
41 compatible = "gpio-keys-polled";
46 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
52 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&sdhci_pins>;
71 compatible = "jedec,spi-nor";
73 spi-max-frequency = <10000000>;
74 m25p,chunked-io = <32>;
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
96 reg = <0x50000 0xfb0000>;
102 mtd-mac-address = <&factory 0xe000>;
106 state_default: pinctrl0 {
108 ralink,group = "i2c", "uart2", "jtag";
109 ralink,function = "gpio";