ath79: enable UART in SoC DTSI files
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca953x_dlink_dap-2xxx.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca953x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 &spi {
9 status = "okay";
10
11 flash@0 {
12 compatible = "jedec,spi-nor";
13 reg = <0>;
14 spi-max-frequency = <50000000>;
15
16 partitions: partitions {
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x0 0x40000>;
24 read-only;
25 };
26
27 partition@40000 {
28 label = "bdcfg";
29 reg = <0x40000 0x10000>;
30 read-only;
31 };
32
33 partition@50000 {
34 label = "rgdb";
35 reg = <0x50000 0x10000>;
36 read-only;
37 };
38
39 partition@60000 {
40 label = "unused";
41 reg = <0x60000 0x10000>;
42 read-only;
43 };
44 };
45 };
46 };
47
48 &wmac {
49 status = "okay";
50
51 mtd-cal-data = <&art 0x1000>;
52 };