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 {
71 compatible = "nvmem-cells";
73 reg = <0x40000 0x10000>;
78 eeprom_factory_0: eeprom@0 {
82 eeprom_factory_8000: eeprom@8000 {
86 macaddr_factory_e000: macaddr@e000 {
92 compatible = "denx,uimage";
94 reg = <0x50000 0x1fb0000>;
106 reg = <0x0000 0 0 0 0>;
107 nvmem-cells = <&eeprom_factory_0>;
108 nvmem-cell-names = "eeprom";
114 reg = <0x0000 0 0 0 0>;
115 nvmem-cells = <&eeprom_factory_8000>;
116 nvmem-cell-names = "eeprom";
117 ieee80211-freq-limit = <5000000 6000000>;
127 nvmem-cells = <&macaddr_factory_e000>;
128 nvmem-cell-names = "mac-address";
134 phy-handle = <ðphy4>;
136 nvmem-cells = <&macaddr_factory_e000>;
137 nvmem-cell-names = "mac-address";
138 mac-address-increment = <1>;
142 ethphy4: ethernet-phy@4 {
168 groups = "jtag", "wdt";