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>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <10000000>;
72 m25p,chunked-io = <32>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0xfb0000>;
106 mtd-mac-address = <&factory 0xe000>;
110 state_default: pinctrl0 {
112 ralink,group = "i2c", "uart2", "jtag";
113 ralink,function = "gpio";