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 = "dual-q,h721", "mediatek,mt7621-soc";
10 model = "Dual-Q H721";
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-export";
28 gpio-export,name = "usb-30-power";
29 gpio-export,output = <0>;
30 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
34 gpio-export,name = "usb-20-power";
35 gpio-export,output = <0>;
36 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
45 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
51 compatible = "gpio-leds";
55 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
65 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
70 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
75 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
79 label = "green:wifi1";
80 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
84 label = "green:wifi2";
85 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
89 label = "green:status";
90 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <40000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
109 label = "bootloader";
116 reg = <0x30000 0x10000>;
122 reg = <0x40000 0x10000>;
125 compatible = "nvmem-cells";
126 #address-cells = <1>;
129 macaddr_factory_e000: macaddr@e000 {
135 compatible = "denx,uimage";
137 reg = <0x50000 0xfb0000>;
177 nvmem-cells = <&macaddr_factory_e000>;
178 nvmem-cell-names = "mac-address";
179 mac-address-increment = <1>;
185 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
189 nvmem-cells = <&macaddr_factory_e000>;
190 nvmem-cell-names = "mac-address";
195 groups = "jtag", "wdt", "rgmii2";