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 = "ghl-r-001:blue:internet";
17 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
21 label = "ghl-r-001:blue:usb";
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 mtd-mac-address = <&factory 0xe000>;
133 mtd-mac-address = <&factory 0xe000>;
134 mtd-mac-address-increment = <1>;
141 groups = "jtag", "wdt";