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-x300b", "qca,qca9531";
10 model = "GL.iNet GL-X300B";
13 compatible = "gpio-keys";
15 pinctrl-names = "default";
16 pinctrl-0 = <&jtag_disable_pins>;
20 linux,code = <KEY_RESTART>;
21 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
26 compatible = "gpio-leds";
29 label = "green:wlan2g";
30 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "phy0tpt";
36 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-export";
49 gpio-export,name = "minipcie";
50 gpio-export,output = <0>;
51 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
55 gpio-export,name = "rs485tx_en";
56 gpio-export,output = <0>;
57 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
61 gpio-export,name = "ble_rst";
62 gpio-export,output = <0>;
63 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
68 compatible = "hw_wdt";
71 feed_dog_interval = <100000000>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <25000000>;
91 nor_partitions: partitions {
92 compatible = "fixed-partitions";
98 reg = <0x000000 0x040000>;
103 label = "u-boot-env";
104 reg = <0x040000 0x010000>;
107 art: partition@50000 {
109 reg = <0x050000 0x010000>;
114 compatible = "denx,uimage";
116 reg = <0x060000 0xfa0000>;
126 mtd-mac-address = <&art 0x0>;
127 phy-handle = <&swphy4>;
131 mtd-mac-address = <&art 0x0>;
132 mtd-mac-address-increment = <1>;
138 mtd-cal-data = <&art 0x1000>;