1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca956x.dtsi"
9 compatible = "glinet,gl-ar750s", "qca,qca9563";
10 model = "GL.iNet GL-AR750S";
13 bootargs = "console=ttyS0,115200n8";
17 led-boot = &led_power;
18 led-failsafe = &led_power;
19 led-running = &led_power;
20 led-upgrade = &led_power;
21 label-mac-device = ð0;
25 compatible = "gpio-keys";
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";
67 compatible = "i2c-gpio";
69 sda-gpios = <&gpio 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
70 scl-gpios = <&gpio 21 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <25000000>;
85 nor_partitions: partitions {
86 compatible = "fixed-partitions";
92 reg = <0x000000 0x040000>;
98 reg = <0x040000 0x010000>;
101 art: partition@50000 {
103 reg = <0x050000 0x010000>;
107 nor_firmware: partition@60000 {
108 label = "nor_firmware";
109 reg = <0x060000 0xfa0000>;
112 nor_kernel: partition_alt@60000 {
113 label = "nor_kernel";
114 reg = <0x060000 0x400000>;
117 nor_reserved: parition_alt@460000 {
118 label = "nor_reserved";
119 reg = <0x460000 0xba0000>;
124 flash_nand: flash@1 {
125 compatible = "spi-nand";
127 spi-max-frequency = <25000000>;
129 nand_partitions: partitions {
130 compatible = "fixed-partitions";
131 #address-cells = <1>;
134 nand_ubi: partition@0 {
136 reg = <0x000000 0x8000000>;
145 phy-handle = <&phy0>;
146 mtd-mac-address = <&art 0x0>;
152 gpios = <7 GPIO_ACTIVE_HIGH>;
154 line-name = "usb-vbus";
163 phy0: ethernet-phy@0 {
166 qca,ar8327-initvals = <
167 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
168 0x7c 0x0000007e /* PORT0_STATUS */
200 mtd-cal-data = <&art 0x1000>;