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>
8 #include "qca956x.dtsi"
11 compatible = "glinet,gl-ar750s", "qca,qca9563";
12 model = "GL.iNet GL-AR750S";
15 bootargs = "console=ttyS0,115200n8";
19 led-boot = &led_power;
20 led-failsafe = &led_power;
21 led-running = &led_power;
22 led-upgrade = &led_power;
23 label-mac-device = ð0;
27 compatible = "gpio-keys";
29 pinctrl-names = "default";
30 pinctrl-0 = <&jtag_disable_pins>;
34 linux,code = <KEY_RESTART>;
35 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
41 linux,input-type = <EV_SW>;
42 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-leds";
50 label = "gl-ar750s:green:power";
51 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
52 default-state = "keep";
56 label = "gl-ar750s:green:wlan2g";
57 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy1tpt";
62 label = "gl-ar750s:green:wlan5g";
63 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
64 linux,default-trigger = "phy0tpt";
69 compatible = "i2c-gpio";
71 sda-gpios = <&gpio 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
72 scl-gpios = <&gpio 21 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <25000000>;
87 nor_partitions: partitions {
88 compatible = "fixed-partitions";
94 reg = <0x000000 0x040000>;
100 reg = <0x040000 0x010000>;
103 art: partition@50000 {
105 reg = <0x050000 0x010000>;
109 nor_firmware: partition@60000 {
110 label = "nor_firmware";
111 reg = <0x060000 0xfa0000>;
114 nor_kernel: partition_alt@60000 {
115 label = "nor_kernel";
116 reg = <0x060000 0x400000>;
119 nor_reserved: parition_alt@460000 {
120 label = "nor_reserved";
121 reg = <0x460000 0xba0000>;
126 flash_nand: flash@1 {
127 compatible = "spi-nand";
129 spi-max-frequency = <25000000>;
131 nand_partitions: partitions {
132 compatible = "fixed-partitions";
133 #address-cells = <1>;
136 nand_ubi: partition@0 {
138 reg = <0x000000 0x8000000>;
147 phy-handle = <&phy0>;
148 mtd-mac-address = <&art 0x0>;
154 gpios = <7 GPIO_ACTIVE_HIGH>;
156 line-name = "usb-vbus";
165 phy0: ethernet-phy@0 {
168 qca,ar8327-initvals = <
169 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
170 0x7c 0x0000007e /* PORT0_STATUS */
202 mtd-cal-data = <&art 0x1000>;