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 {
78 compatible = "nvmem-cells";
80 reg = <0x40000 0x10000>;
85 eeprom_factory_0: eeprom@0 {
89 eeprom_factory_8000: eeprom@8000 {
93 macaddr_factory_4: macaddr@4 {
97 macaddr_factory_8004: macaddr@8004 {
103 compatible = "denx,uimage";
105 reg = <0x50000 0xfb0000>;
110 reg = <0xfb0000 0x20000>;
115 label = "config_bak ";
116 reg = <0xfd0000 0x20000>;
122 reg = <0xff0000 0x10000>;
135 compatible = "mediatek,mt76";
136 reg = <0x0000 0 0 0 0>;
137 nvmem-cells = <&eeprom_factory_8000>;
138 nvmem-cell-names = "eeprom";
139 ieee80211-freq-limit = <5000000 6000000>;
150 compatible = "mediatek,mt76";
151 reg = <0x0000 0 0 0 0>;
152 nvmem-cells = <&eeprom_factory_0>;
153 nvmem-cell-names = "eeprom";
154 ieee80211-freq-limit = <2400000 2500000>;
164 nvmem-cells = <&macaddr_factory_4>;
165 nvmem-cell-names = "mac-address";
173 nvmem-cells = <&macaddr_factory_4>;
174 nvmem-cell-names = "mac-address";
175 mac-address-increment = <1>;