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 = <&gpio0 16 GPIO_ACTIVE_LOW>;
26 label = "ghl-r-001:blue:usb";
27 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
28 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
29 linux,default-trigger = "usbport";
34 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
53 compatible = "mx25l25635f", "jedec,spi-nor";
55 spi-max-frequency = <25000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 compatible = "denx,uimage";
84 reg = <0x50000 0x1fb0000>;
96 reg = <0x0000 0 0 0 0>;
97 mediatek,mtd-eeprom = <&factory 0x0000>;
103 reg = <0x0000 0 0 0 0>;
104 mediatek,mtd-eeprom = <&factory 0x8000>;
105 ieee80211-freq-limit = <5000000 6000000>;
115 mtd-mac-address = <&factory 0xe000>;
119 state_default: pinctrl0 {
121 ralink,group = "jtag", "wdt";
122 ralink,function = "gpio";