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 = &gmac0;
21 compatible = "gpio-leds";
24 label = "xy-c5:green:work";
25 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
29 label = "xy-c5:green:sys";
30 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys";
39 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <25000000>;
54 compatible = "fixed-partitions";
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
77 compatible = "denx,uimage";
79 reg = <0x50000 0x1fb0000>;
90 mtd-mac-address = <&factory 0x4>;
118 mtd-mac-address = <&factory 0x4>;
119 mtd-mac-address-increment = <1>;
126 groups = "uart3", "wdt";