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>;
53 compatible = "fixed-partitions";
65 reg = <0x30000 0x10000>;
69 factory: partition@40000 {
71 reg = <0x40000 0x10000>;
76 compatible = "denx,uimage";
78 reg = <0x50000 0x1fb0000>;
89 nvmem-cells = <&macaddr_factory_4>;
90 nvmem-cell-names = "mac-address";
118 nvmem-cells = <&macaddr_factory_4>;
119 nvmem-cell-names = "mac-address";
120 mac-address-increment = <1>;
127 groups = "uart3", "wdt";
133 compatible = "nvmem-cells";
134 #address-cells = <1>;
137 macaddr_factory_4: macaddr@4 {