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 device_type = "memory";
15 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
19 bootargs = "console=ttyS0,57600";
23 compatible = "gpio-leds";
26 label = "ghl-r-001:blue:internet";
27 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
31 label = "ghl-r-001:blue:usb";
32 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
33 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
34 linux,default-trigger = "usbport";
39 compatible = "gpio-keys-polled";
44 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
58 compatible = "mx25l25635f", "jedec,spi-nor";
60 spi-max-frequency = <25000000>;
64 compatible = "fixed-partitions";
76 reg = <0x30000 0x10000>;
80 factory: partition@40000 {
82 reg = <0x40000 0x10000>;
87 compatible = "denx,uimage";
89 reg = <0x50000 0x1fb0000>;
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x0000>;
108 reg = <0x0000 0 0 0 0>;
109 mediatek,mtd-eeprom = <&factory 0x8000>;
110 ieee80211-freq-limit = <5000000 6000000>;
120 mtd-mac-address = <&factory 0xe000>;
124 state_default: pinctrl0 {
126 ralink,group = "jtag", "wdt";
127 ralink,function = "gpio";