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>;
77 compatible = "denx,uimage";
79 reg = <0x50000 0x1fb0000>;
91 reg = <0x0000 0 0 0 0>;
92 mediatek,mtd-eeprom = <&factory 0x0000>;
98 reg = <0x0000 0 0 0 0>;
99 mediatek,mtd-eeprom = <&factory 0x8000>;
100 ieee80211-freq-limit = <5000000 6000000>;
110 nvmem-cells = <&macaddr_factory_e000>;
111 nvmem-cell-names = "mac-address";
117 phy-handle = <ðphy4>;
119 nvmem-cells = <&macaddr_factory_e000>;
120 nvmem-cell-names = "mac-address";
121 mac-address-increment = <1>;
125 ethphy4: ethernet-phy@4 {
151 groups = "jtag", "wdt";
157 compatible = "nvmem-cells";
158 #address-cells = <1>;
161 macaddr_factory_e000: macaddr@e000 {