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 = "gehua,ghl-r-001", "mediatek,mt7621-soc";
10 model = "GeHua GHL-R-001";
13 compatible = "gpio-leds";
16 label = "blue:internet";
17 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
22 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
23 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
24 linux,default-trigger = "usbport";
29 compatible = "gpio-keys";
33 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
47 compatible = "jedec,spi-nor";
49 spi-max-frequency = <25000000>;
54 compatible = "fixed-partitions";
66 reg = <0x30000 0x10000>;
70 factory: partition@40000 {
72 reg = <0x40000 0x10000>;
76 compatible = "fixed-layout";
80 eeprom_factory_0: eeprom@0 {
84 eeprom_factory_8000: eeprom@8000 {
88 macaddr_factory_e000: macaddr@e000 {
95 compatible = "denx,uimage";
97 reg = <0x50000 0x1fb0000>;
109 reg = <0x0000 0 0 0 0>;
110 nvmem-cells = <&eeprom_factory_0>;
111 nvmem-cell-names = "eeprom";
117 reg = <0x0000 0 0 0 0>;
118 nvmem-cells = <&eeprom_factory_8000>;
119 nvmem-cell-names = "eeprom";
120 ieee80211-freq-limit = <5000000 6000000>;
130 nvmem-cells = <&macaddr_factory_e000>;
131 nvmem-cell-names = "mac-address";
137 phy-handle = <ðphy4>;
139 nvmem-cells = <&macaddr_factory_e000>;
140 nvmem-cell-names = "mac-address";
141 mac-address-increment = <1>;
145 ethphy4: ethernet-phy@4 {
171 groups = "jtag", "wdt";