1 #include <dt-bindings/gpio/gpio.h>
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/leds/common.h>
8 compatible = "yuncore,g720", "mediatek,mt7621-soc";
9 model = "YunCore G720";
12 label-mac-device = &wifi0;
13 led-boot = &led_sys_red;
14 led-failsafe = &led_sys_red;
15 led-running = &led_sys_red;
16 led-upgrade = &led_sys_red;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-leds";
26 led_sys_red: led-sys {
27 color = <LED_COLOR_ID_RED>;
28 function = LED_FUNCTION_STATUS;
29 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys";
38 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 compatible = "linux,wdt-gpio";
45 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
56 gpios = <4 GPIO_ACTIVE_LOW>;
63 gpios = <3 GPIO_ACTIVE_LOW>;
72 compatible = "w25q128", "jedec,spi-nor";
74 spi-max-frequency = <10000000>;
77 compatible = "fixed-partitions";
89 reg = <0x30000 0x10000>;
95 reg = <0x50000 0x40000>;
99 compatible = "fixed-layout";
100 #address-cells = <1>;
103 eeprom_factory_0: eeprom@0 {
107 macaddr_factory_e000: macaddr@e000 {
111 macaddr_factory_e006: macaddr@e006 {
118 compatible = "denx,uimage";
120 reg = <0x90000 0xf70000>;
127 nvmem-cells = <&macaddr_factory_e000>;
128 nvmem-cell-names = "mac-address";
134 phy-handle = <ðphy4>;
136 nvmem-cells = <&macaddr_factory_e006>;
137 nvmem-cell-names = "mac-address";
141 /delete-property/ interrupts;
174 compatible = "mediatek,mt76";
175 reg = <0x0000 0 0 0 0>;
176 nvmem-cells = <&eeprom_factory_0>;
177 nvmem-cell-names = "eeprom";
183 groups = "jtag", "wdt";