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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "gehua,ghl-r-001", "mediatek,mt7621-soc";
11 model = "GeHua GHL-R-001";
14 compatible = "gpio-leds";
17 label = "blue:internet";
18 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
22 function = LED_FUNCTION_USB;
23 color = <LED_COLOR_ID_BLUE>;
24 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
25 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
26 linux,default-trigger = "usbport";
31 compatible = "gpio-keys";
35 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <25000000>;
56 compatible = "fixed-partitions";
68 reg = <0x30000 0x10000>;
74 reg = <0x40000 0x10000>;
78 compatible = "fixed-layout";
82 eeprom_factory_0: eeprom@0 {
86 eeprom_factory_8000: eeprom@8000 {
90 macaddr_factory_e000: macaddr@e000 {
91 compatible = "mac-base";
93 #nvmem-cell-cells = <1>;
99 compatible = "denx,uimage";
101 reg = <0x50000 0x1fb0000>;
113 reg = <0x0000 0 0 0 0>;
114 nvmem-cells = <&eeprom_factory_0>;
115 nvmem-cell-names = "eeprom";
121 reg = <0x0000 0 0 0 0>;
122 nvmem-cells = <&eeprom_factory_8000>;
123 nvmem-cell-names = "eeprom";
124 ieee80211-freq-limit = <5000000 6000000>;
134 nvmem-cells = <&macaddr_factory_e000 0>;
135 nvmem-cell-names = "mac-address";
141 phy-handle = <ðphy4>;
143 nvmem-cells = <&macaddr_factory_e000 1>;
144 nvmem-cell-names = "mac-address";
148 ethphy4: ethernet-phy@4 {
174 groups = "jtag", "wdt";