1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "hanyang,hyc-g920", "mediatek,mt7621-soc";
10 model = "CJ-Hello HYC-G920";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
21 bootargs-override = "console=ttyS0,115200";
25 compatible = "gpio-leds";
29 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
35 trigger-sources = <&ehci_port2>;
36 linux,default-trigger = "usbport";
41 compatible = "gpio-keys";
45 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
47 debounce-interval = <60>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <40000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
84 compatible = "denx,uimage";
86 reg = <0x50000 0xfb0000>;
91 reg = <0xfb0000 0x20000>;
96 label = "config_bak ";
97 reg = <0xfd0000 0x20000>;
103 reg = <0xff0000 0x10000>;
116 compatible = "mediatek,mt76";
117 reg = <0x0000 0 0 0 0>;
118 mediatek,mtd-eeprom = <&factory 0x8000>;
129 compatible = "mediatek,mt76";
130 reg = <0x0000 0 0 0 0>;
131 mediatek,mtd-eeprom = <&factory 0x0000>;
141 nvmem-cells = <&macaddr_factory_4>;
142 nvmem-cell-names = "mac-address";
150 nvmem-cells = <&macaddr_factory_4>;
151 nvmem-cell-names = "mac-address";
152 mac-address-increment = <1>;
185 compatible = "nvmem-cells";
186 #address-cells = <1>;
189 macaddr_factory_4: macaddr@4 {
193 macaddr_factory_8004: macaddr@8004 {