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 compatible = "gpio-leds";
25 label = "jhr-ac876m:blue:usb3";
26 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
27 trigger-sources = <&xhci_ehci_port1>;
28 linux,default-trigger = "usbport";
32 label = "jhr-ac876m:blue:usb2";
33 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
34 trigger-sources = <&ehci_port2>;
35 linux,default-trigger = "usbport";
39 label = "jhr-ac876m:blue:wps";
40 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys";
49 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <80000000>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
89 reg = <0x40000 0x10000>;
94 compatible = "denx,uimage";
96 reg = <0x50000 0xfb0000>;
108 compatible = "mediatek,mt76";
109 reg = <0x0000 0 0 0 0>;
110 mediatek,mtd-eeprom = <&factory 0x0>;
111 ieee80211-freq-limit = <2400000 2500000>;
121 compatible = "mediatek,mt76";
122 reg = <0x0000 0 0 0 0>;
123 mediatek,mtd-eeprom = <&factory 0x8000>;
124 ieee80211-freq-limit = <5000000 6000000>;
133 mtd-mac-address = <&factory 0xe000>;
160 mtd-mac-address = <&factory 0x4>;
167 groups = "i2c", "uart3", "jtag", "wdt";