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>
9 compatible = "glinet,gl-xe300", "qca,qca9531";
10 model = "GL.iNet GL-XE300";
13 label-mac-device = ð0;
17 compatible = "gpio-export";
20 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
21 gpio-export,name = "lte_power";
22 gpio-export,output = <1>;
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
27 gpio-export,name = "sd_detect";
28 gpio-export,output = <0>;
33 compatible = "gpio-keys";
35 pinctrl-names = "default";
36 pinctrl-0 = <&jtag_disable_pins>;
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-leds";
49 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy0tpt";
65 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <25000000>;
92 compatible = "fixed-partitions";
103 label = "u-boot-env";
104 reg = <0x40000 0x10000>;
107 art: partition@50000 {
109 reg = <0x50000 0x10000>;
115 reg = <0x60000 0x400000>;
119 label = "nor_reserved";
120 reg = <0x460000 0xba0000>;
126 compatible = "spi-nand";
128 spi-max-frequency = <25000000>;
131 compatible = "fixed-partitions";
132 #address-cells = <1>;
137 reg = <0x0 0x8000000>;
146 phy-handle = <&swphy4>;
148 nvmem-cells = <&macaddr_art_0>;
149 nvmem-cell-names = "mac-address";
153 nvmem-cells = <&macaddr_art_0>;
154 nvmem-cell-names = "mac-address";
155 mac-address-increment = <1>;
161 mtd-cal-data = <&art 0x1000>;
165 compatible = "nvmem-cells";
166 #address-cells = <1>;
169 macaddr_art_0: macaddr@0 {