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>;
71 reg = <0x40000 0x10000>;
75 compatible = "fixed-layout";
79 macaddr_factory_4: macaddr@4 {
80 compatible = "mac-base";
82 #nvmem-cell-cells = <1>;
88 compatible = "denx,uimage";
90 reg = <0x50000 0x1fb0000>;
101 nvmem-cells = <&macaddr_factory_4 0>;
102 nvmem-cell-names = "mac-address";
108 phy-handle = <ðphy4>;
110 nvmem-cells = <&macaddr_factory_4 1>;
111 nvmem-cell-names = "mac-address";
115 ethphy4: ethernet-phy@4 {
146 groups = "uart3", "wdt";