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