bd8ebaf04058b61b85a31168a2f705d205eae5d8
[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 / {
9         chosen {
10                 bootargs = "console=ttyS0,115200n8";
11         };
12 };
13
14 &uart {
15         status = "okay";
16 };
17
18 &pcie0 {
19         status = "okay";
20 };
21
22 &spi {
23         status = "okay";
24         num-cs = <1>;
25
26         flash@0 {
27                 compatible = "jedec,spi-nor";
28                 reg = <0>;
29                 spi-max-frequency = <25000000>;
30
31                 partitions {
32                         compatible = "fixed-partitions";
33                         #address-cells = <1>;
34                         #size-cells = <1>;
35
36                         partition@0 {
37                                 label = "u-boot";
38                                 reg = <0x000000 0x040000>;
39                                 read-only;
40                         };
41
42                         partition@40000 {
43                                 label = "u-boot-env";
44                                 reg = <0x040000 0x010000>;
45                                 read-only;
46                         };
47
48                         partition@50000 {
49                                 compatible = "denx,uimage";
50                                 label = "firmware";
51                                 reg = <0x050000 0xf60000>;
52                         };
53
54                         partition@fb0000 {
55                                 label = "cfg";
56                                 reg = <0xfb0000 0x040000>;
57                                 read-only;
58                         };
59
60                         art: partition@ff0000 {
61                                 label = "art";
62                                 reg = <0xff0000 0x010000>;
63                                 read-only;
64                         };
65                 };
66         };
67 };