ath79: use gpios for switch management in WZR-HP-G300NH variants
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca955x_ubnt_xc.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "qca955x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 &pcie0 {
9 status = "okay";
10 };
11
12 &spi {
13 status = "okay";
14
15 flash@0 {
16 compatible = "jedec,spi-nor";
17 reg = <0>;
18 spi-max-frequency = <25000000>;
19
20 partitions {
21 compatible = "fixed-partitions";
22 #address-cells = <1>;
23 #size-cells = <1>;
24
25 partition@0 {
26 label = "u-boot";
27 reg = <0x000000 0x040000>;
28 read-only;
29 };
30
31 partition@40000 {
32 label = "u-boot-env";
33 reg = <0x040000 0x010000>;
34 read-only;
35 };
36
37 partition@50000 {
38 compatible = "denx,uimage";
39 label = "firmware";
40 reg = <0x050000 0xf60000>;
41 };
42
43 partition@fb0000 {
44 label = "cfg";
45 reg = <0xfb0000 0x040000>;
46 read-only;
47 };
48
49 art: partition@ff0000 {
50 label = "art";
51 reg = <0xff0000 0x010000>;
52 read-only;
53 };
54 };
55 };
56 };