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 bootargs = "console=ttyS0,57600";
18 compatible = "gpio-leds";
21 label = "ghl-r-001:blue:internet";
22 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
26 label = "ghl-r-001:blue:usb";
27 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
28 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
29 linux,default-trigger = "usbport";
34 compatible = "gpio-keys";
38 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
52 compatible = "mx25l25635f", "jedec,spi-nor";
54 spi-max-frequency = <25000000>;
58 compatible = "fixed-partitions";
70 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
81 compatible = "denx,uimage";
83 reg = <0x50000 0x1fb0000>;
95 reg = <0x0000 0 0 0 0>;
96 mediatek,mtd-eeprom = <&factory 0x0000>;
102 reg = <0x0000 0 0 0 0>;
103 mediatek,mtd-eeprom = <&factory 0x8000>;
104 ieee80211-freq-limit = <5000000 6000000>;
114 mtd-mac-address = <&factory 0xe000>;
137 mtd-mac-address = <&factory 0xe000>;
138 mtd-mac-address-increment = <1>;
145 groups = "jtag", "wdt";