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 = "jcg,jhr-ac876m", "mediatek,mt7621-soc";
11 model = "JCG JHR-AC876M";
15 led-failsafe = &led_wps;
16 led-running = &led_wps;
17 led-upgrade = &led_wps;
21 bootargs = "console=ttyS0,57600";
25 compatible = "gpio-leds";
28 label = "jhr-ac876m:blue:usb3";
29 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&xhci_ehci_port1>;
31 linux,default-trigger = "usbport";
35 label = "jhr-ac876m:blue:usb2";
36 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
37 trigger-sources = <&ehci_port2>;
38 linux,default-trigger = "usbport";
42 label = "jhr-ac876m:blue:wps";
43 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys";
52 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
58 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <80000000>;
74 compatible = "fixed-partitions";
86 reg = <0x30000 0x10000>;
90 factory: partition@40000 {
92 reg = <0x40000 0x10000>;
97 compatible = "denx,uimage";
99 reg = <0x50000 0xfb0000>;
111 compatible = "mediatek,mt76";
112 reg = <0x0000 0 0 0 0>;
113 mediatek,mtd-eeprom = <&factory 0x0>;
114 ieee80211-freq-limit = <2400000 2500000>;
124 compatible = "mediatek,mt76";
125 reg = <0x0000 0 0 0 0>;
126 mediatek,mtd-eeprom = <&factory 0x8000>;
127 ieee80211-freq-limit = <5000000 6000000>;
136 mtd-mac-address = <&factory 0xe000>;
141 ralink,group = "i2c", "uart3", "jtag", "wdt";
142 ralink,function = "gpio";