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;
18 label-mac-device = &wan;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "jhr-ac876m:blue:usb3";
30 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
31 trigger-sources = <&xhci_ehci_port1>;
32 linux,default-trigger = "usbport";
36 label = "jhr-ac876m:blue:usb2";
37 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
38 trigger-sources = <&ehci_port2>;
39 linux,default-trigger = "usbport";
43 label = "jhr-ac876m:blue:wps";
44 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-keys";
53 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_WPS_BUTTON>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <80000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
98 compatible = "denx,uimage";
100 reg = <0x50000 0xfb0000>;
112 compatible = "mediatek,mt76";
113 reg = <0x0000 0 0 0 0>;
114 mediatek,mtd-eeprom = <&factory 0x0>;
115 ieee80211-freq-limit = <2400000 2500000>;
125 compatible = "mediatek,mt76";
126 reg = <0x0000 0 0 0 0>;
127 mediatek,mtd-eeprom = <&factory 0x8000>;
128 ieee80211-freq-limit = <5000000 6000000>;
137 mtd-mac-address = <&factory 0xe000>;
164 mtd-mac-address = <&factory 0x4>;
171 groups = "i2c", "uart3", "jtag", "wdt";