3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "xiaoyu,xy-c5", "mediatek,mt7621-soc";
8 model = "XiaoYu XY-C5";
12 led-failsafe = &led_sys;
13 led-running = &led_sys;
14 led-upgrade = &led_sys;
15 label-mac-device = &gmac0;
19 compatible = "gpio-leds";
23 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
28 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-keys";
37 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
47 compatible = "jedec,spi-nor";
49 spi-max-frequency = <25000000>;
52 compatible = "fixed-partitions";
64 reg = <0x30000 0x10000>;
68 factory: partition@40000 {
70 reg = <0x40000 0x10000>;
75 compatible = "denx,uimage";
77 reg = <0x50000 0x1fb0000>;
88 mtd-mac-address = <&factory 0x4>;
116 mtd-mac-address = <&factory 0x4>;
117 mtd-mac-address-increment = <1>;
124 groups = "uart3", "wdt";