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";
14 bootargs = "console=ttyS0,115200n8";
19 led-failsafe = &power;
25 compatible = "gpio-keys-polled";
27 pinctrl-names = "default";
28 pinctrl-0 = <&jtag_disable_pins>;
32 linux,code = <KEY_RESTART>;
33 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
39 linux,input-type = <EV_SW>;
40 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-leds";
48 label = "gl-ar750s:green:power";
49 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
50 default-state = "keep";
54 label = "gl-ar750s:green:wlan2g";
55 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
56 linux,default-trigger = "phy1tpt";
60 label = "gl-ar750s:green:wlan5g";
61 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
62 linux,default-trigger = "phy0tpt";
66 usb_vbus: regulator-usb-vbus {
67 compatible = "regulator-fixed";
69 regulator-name = "USB_VBUS";
71 regulator-min-microvolt = <5000000>;
72 regulator-max-microvolt = <5000000>;
75 gpio = <&gpio 7 GPIO_ACTIVE_HIGH>;
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <25000000>;
90 compatible = "fixed-partitions";
96 reg = <0x000000 0x040000>;
101 label = "u-boot-env";
102 reg = <0x040000 0x010000>;
105 art: partition@50000 {
107 reg = <0x050000 0x010000>;
112 compatible = "denx,uimage";
114 reg = <0x060000 0xfa0000>;
130 vbus-supply = <&usb_vbus>;
149 phy0: ethernet-phy@0 {
152 qca,ar8327-initvals = <
153 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
154 0x7c 0x0000007e /* PORT0_STATUS */
162 mtd-mac-address = <&art 0x0>;
163 phy-handle = <&phy0>;
168 mtd-cal-data = <&art 0x1000>;
169 mtd-mac-address = <&art 0x1002>;