1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca956x.dtsi"
10 compatible = "glinet,gl-ar750s", "qca,qca9563";
11 model = "GL.iNet GL-AR750S";
15 led-failsafe = &power;
21 compatible = "gpio-keys-polled";
23 pinctrl-names = "default";
24 pinctrl-0 = <&jtag_disable_pins>;
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
35 linux,input-type = <EV_SW>;
36 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
44 label = "gl-ar750s:green:power";
45 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
46 default-state = "keep";
50 label = "gl-ar750s:green:wlan2g";
51 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy1tpt";
56 label = "gl-ar750s:green:wlan5g";
57 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "phy0tpt";
62 usb_vbus: regulator-usb-vbus {
63 compatible = "regulator-fixed";
65 regulator-name = "USB_VBUS";
67 regulator-min-microvolt = <5000000>;
68 regulator-max-microvolt = <5000000>;
71 gpio = <&gpio 7 GPIO_ACTIVE_HIGH>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <25000000>;
86 compatible = "fixed-partitions";
92 reg = <0x000000 0x040000>;
98 reg = <0x040000 0x010000>;
101 art: partition@50000 {
103 reg = <0x050000 0x010000>;
108 compatible = "denx,uimage";
110 reg = <0x060000 0xfa0000>;
126 vbus-supply = <&usb_vbus>;
145 phy0: ethernet-phy@0 {
148 qca,ar8327-initvals = <
149 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
150 0x7c 0x0000007e /* PORT0_STATUS */
158 mtd-mac-address = <&art 0x0>;
159 phy-handle = <&phy0>;
164 mtd-cal-data = <&art 0x1000>;
165 mtd-mac-address = <&art 0x1002>;