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 compatible = "gpio-export";
16 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
17 gpio-export,name = "lte_power";
18 gpio-export,output = <1>;
22 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
23 gpio-export,name = "sd_detect";
24 gpio-export,output = <0>;
29 compatible = "gpio-keys";
31 pinctrl-names = "default";
32 pinctrl-0 = <&jtag_disable_pins>;
36 linux,code = <KEY_RESTART>;
37 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-leds";
45 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "phy0tpt";
61 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <25000000>;
88 compatible = "fixed-partitions";
100 reg = <0x40000 0x10000>;
103 art: partition@50000 {
105 reg = <0x50000 0x10000>;
111 reg = <0x60000 0x400000>;
115 label = "nor_reserved";
116 reg = <0x460000 0xba0000>;
122 compatible = "spi-nand";
124 spi-max-frequency = <25000000>;
127 compatible = "fixed-partitions";
128 #address-cells = <1>;
133 reg = <0x0 0x8000000>;
142 phy-handle = <&swphy4>;
144 nvmem-cells = <&macaddr_art_0>;
145 nvmem-cell-names = "mac-address";
149 nvmem-cells = <&macaddr_art_0>;
150 nvmem-cell-names = "mac-address";
151 mac-address-increment = <1>;
157 mtd-cal-data = <&art 0x1000>;
161 compatible = "nvmem-cells";
162 #address-cells = <1>;
165 macaddr_art_0: macaddr@0 {