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 {
96 compatible = "mac-base";
98 #nvmem-cell-cells = <1>;
101 macaddr_factory_8004: macaddr@8004 {
108 compatible = "denx,uimage";
110 reg = <0x50000 0xfb0000>;
115 reg = <0xfb0000 0x20000>;
120 label = "config_bak ";
121 reg = <0xfd0000 0x20000>;
127 reg = <0xff0000 0x10000>;
140 compatible = "mediatek,mt76";
141 reg = <0x0000 0 0 0 0>;
142 nvmem-cells = <&eeprom_factory_8000>;
143 nvmem-cell-names = "eeprom";
144 ieee80211-freq-limit = <5000000 6000000>;
155 compatible = "mediatek,mt76";
156 reg = <0x0000 0 0 0 0>;
157 nvmem-cells = <&eeprom_factory_0>;
158 nvmem-cell-names = "eeprom";
159 ieee80211-freq-limit = <2400000 2500000>;
169 nvmem-cells = <&macaddr_factory_4 0>;
170 nvmem-cell-names = "mac-address";
178 nvmem-cells = <&macaddr_factory_4 1>;
179 nvmem-cell-names = "mac-address";