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 device_type = "memory";
14 reg = <0x0 0x10000000>;
18 bootargs = "console=ttyS0,115200";
22 compatible = "gpio-leds";
25 label = "timecloud:white:status";
26 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
30 label = "timecloud:orange:status";
31 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
37 compatible = "gpio-keys-polled";
44 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&sdhci_pins>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <10000000>;
72 m25p,chunked-io = <32>;
82 reg = <0x30000 0x10000>;
86 factory: partition@40000 {
88 reg = <0x40000 0x10000>;
94 reg = <0x50000 0xfb0000>;
100 mtd-mac-address = <&factory 0xe000>;
104 state_default: pinctrl0 {
106 ralink,group = "i2c", "uart2", "jtag";
107 ralink,function = "gpio";