1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "jcg,jhr-ac876m", "mediatek,mt7621-soc";
10 model = "JCG JHR-AC876M";
14 led-failsafe = &led_wps;
15 led-running = &led_wps;
16 led-upgrade = &led_wps;
17 label-mac-device = &gmac1;
21 compatible = "gpio-leds";
25 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
26 trigger-sources = <&xhci_ehci_port1>;
27 linux,default-trigger = "usbport";
32 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
33 trigger-sources = <&ehci_port2>;
34 linux,default-trigger = "usbport";
39 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-keys";
48 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
54 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <80000000>;
70 compatible = "fixed-partitions";
82 reg = <0x30000 0x10000>;
86 factory: partition@40000 {
88 reg = <0x40000 0x10000>;
92 compatible = "fixed-layout";
96 eeprom_factory_0: eeprom@0 {
100 eeprom_factory_8000: eeprom@8000 {
101 reg = <0x8000 0x4da8>;
104 macaddr_factory_4: macaddr@4 {
108 macaddr_factory_e000: macaddr@e000 {
115 compatible = "denx,uimage";
117 reg = <0x50000 0xfb0000>;
129 compatible = "mediatek,mt76";
130 reg = <0x0000 0 0 0 0>;
131 nvmem-cells = <&eeprom_factory_0>;
132 nvmem-cell-names = "eeprom";
133 ieee80211-freq-limit = <2400000 2500000>;
143 compatible = "mediatek,mt76";
144 reg = <0x0000 0 0 0 0>;
145 nvmem-cells = <&eeprom_factory_8000>;
146 nvmem-cell-names = "eeprom";
147 ieee80211-freq-limit = <5000000 6000000>;
156 nvmem-cells = <&macaddr_factory_e000>;
157 nvmem-cell-names = "mac-address";
163 phy-handle = <ðphy4>;
165 nvmem-cells = <&macaddr_factory_4>;
166 nvmem-cell-names = "mac-address";
170 ethphy4: ethernet-phy@4 {
201 groups = "i2c", "uart3", "jtag", "wdt";