5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "xiaoyu,xy-c5", "mediatek,mt7621-soc";
10 model = "XiaoYu XY-C5";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
17 label-mac-device = ðernet;
21 bootargs = "console=ttyS0,57600";
25 compatible = "gpio-leds";
28 label = "xy-c5:green:work";
29 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
33 label = "xy-c5:green:sys";
34 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys";
43 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <25000000>;
58 compatible = "fixed-partitions";
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
81 compatible = "denx,uimage";
83 reg = <0x50000 0x1fb0000>;
94 mtd-mac-address = <&factory 0x4>;
98 state_default: pinctrl0 {
100 ralink,group = "uart3", "wdt";
101 ralink,function = "gpio";