1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "glinet,gl-x750", "qca,qca9531";
11 model = "GL.iNet GL-X750";
14 compatible = "gpio-keys";
16 pinctrl-names = "default";
17 pinctrl-0 = <&jtag_disable_pins>;
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-leds";
30 function = LED_FUNCTION_POWER;
31 color = <LED_COLOR_ID_GREEN>;
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
37 label = "green:wlan2g";
38 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy1tpt";
43 label = "green:wlan5g";
44 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy0tpt";
49 function = LED_FUNCTION_WAN;
50 color = <LED_COLOR_ID_GREEN>;
51 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
65 compatible = "qcom,ath10k";
66 reg = <0x0000 0 0 0 0>;
67 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
68 nvmem-cell-names = "calibration", "mac-address";
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <25000000>;
89 compatible = "fixed-partitions";
95 reg = <0x000000 0x040000>;
100 label = "u-boot-env";
101 reg = <0x040000 0x010000>;
104 art: partition@50000 {
106 reg = <0x050000 0x010000>;
110 compatible = "fixed-layout";
111 #address-cells = <1>;
114 macaddr_art_0: macaddr@0 {
115 compatible = "mac-base";
117 #nvmem-cell-cells = <1>;
120 cal_art_5000: calibration@5000 {
121 reg = <0x5000 0x844>;
127 compatible = "denx,uimage";
129 reg = <0x060000 0xfa0000>;
138 phy-handle = <&swphy4>;
140 nvmem-cells = <&macaddr_art_0 0>;
141 nvmem-cell-names = "mac-address";
145 nvmem-cells = <&macaddr_art_0 1>;
146 nvmem-cell-names = "mac-address";
152 mtd-cal-data = <&art 0x1000>;