3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "thunder,timecloud", "mediatek,mt7621-soc";
9 model = "Thunder Timecloud";
12 led-boot = &led_statuso;
13 led-failsafe = &led_statuso;
14 led-running = &led_statuso;
15 led-upgrade = &led_statuso;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-leds";
26 function = LED_FUNCTION_STATUS;
27 color = <LED_COLOR_ID_WHITE>;
28 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
32 function = LED_FUNCTION_STATUS;
33 color = <LED_COLOR_ID_ORANGE>;
34 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
39 compatible = "gpio-keys";
43 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x10000>;
86 reg = <0x40000 0x10000>;
90 compatible = "fixed-layout";
94 macaddr_factory_e000: macaddr@e000 {
101 compatible = "denx,uimage";
103 reg = <0x50000 0xfb0000>;
110 nvmem-cells = <&macaddr_factory_e000>;
111 nvmem-cell-names = "mac-address";
125 groups = "i2c", "uart2", "jtag";