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>;
83 compatible = "fixed-layout";
87 eeprom_factory_0: eeprom@0 {
91 eeprom_factory_8000: eeprom@8000 {
95 macaddr_factory_4: macaddr@4 {
99 macaddr_factory_8004: macaddr@8004 {
106 compatible = "denx,uimage";
108 reg = <0x50000 0xfb0000>;
113 reg = <0xfb0000 0x20000>;
118 label = "config_bak ";
119 reg = <0xfd0000 0x20000>;
125 reg = <0xff0000 0x10000>;
138 compatible = "mediatek,mt76";
139 reg = <0x0000 0 0 0 0>;
140 nvmem-cells = <&eeprom_factory_8000>;
141 nvmem-cell-names = "eeprom";
142 ieee80211-freq-limit = <5000000 6000000>;
153 compatible = "mediatek,mt76";
154 reg = <0x0000 0 0 0 0>;
155 nvmem-cells = <&eeprom_factory_0>;
156 nvmem-cell-names = "eeprom";
157 ieee80211-freq-limit = <2400000 2500000>;
167 nvmem-cells = <&macaddr_factory_4>;
168 nvmem-cell-names = "mac-address";
176 nvmem-cells = <&macaddr_factory_4>;
177 nvmem-cell-names = "mac-address";
178 mac-address-increment = <1>;