1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "gehua,ghl-r-001", "mediatek,mt7621-soc";
11 model = "GeHua GHL-R-001";
14 compatible = "gpio-leds";
17 label = "ghl-r-001:blue:internet";
18 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
22 label = "ghl-r-001:blue:usb";
23 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
24 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
25 linux,default-trigger = "usbport";
30 compatible = "gpio-keys";
34 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
48 compatible = "jedec,spi-nor";
50 spi-max-frequency = <25000000>;
55 compatible = "fixed-partitions";
67 reg = <0x30000 0x10000>;
71 factory: partition@40000 {
73 reg = <0x40000 0x10000>;
78 compatible = "denx,uimage";
80 reg = <0x50000 0x1fb0000>;
92 reg = <0x0000 0 0 0 0>;
93 mediatek,mtd-eeprom = <&factory 0x0000>;
99 reg = <0x0000 0 0 0 0>;
100 mediatek,mtd-eeprom = <&factory 0x8000>;
101 ieee80211-freq-limit = <5000000 6000000>;
111 mtd-mac-address = <&factory 0xe000>;
134 mtd-mac-address = <&factory 0xe000>;
135 mtd-mac-address-increment = <1>;
142 groups = "jtag", "wdt";