ipq40xx: Move reserved-memory DT to qcom-ipq4019.dtsi
[oweals/openwrt.git] / target / linux / ipq40xx / patches-4.14 / 864-07-dts-ipq4019-ap-dk01.1-c1-add-spi-and-ram-nodes.patch
1 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1-c1.dts
2 +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1-c1.dts
3 @@ -19,4 +19,71 @@
4  / {
5         model = "Qualcomm Technologies, Inc. IPQ40xx/AP-DK01.1-C1";
6  
7 +       memory {
8 +               device_type = "memory";
9 +               reg = <0x80000000 0x10000000>;
10 +       };
11 +};
12 +
13 +&spi_0 {
14 +       mx25l25635f@0 {
15 +               compatible = "mx25l25635f", "jedec,spi-nor";
16 +               #address-cells = <1>;
17 +               #size-cells = <1>;
18 +               reg = <0>;
19 +               spi-max-frequency = <24000000>;
20 +
21 +               SBL1@0 {
22 +                       label = "SBL1";
23 +                       reg = <0x0 0x40000>;
24 +                       read-only;
25 +               };
26 +               MIBIB@40000 {
27 +                       label = "MIBIB";
28 +                       reg = <0x40000 0x20000>;
29 +                       read-only;
30 +               };
31 +               QSEE@60000 {
32 +                       label = "QSEE";
33 +                       reg = <0x60000 0x60000>;
34 +                       read-only;
35 +               };
36 +               CDT@c0000 {
37 +                       label = "CDT";
38 +                       reg = <0xc0000 0x10000>;
39 +                       read-only;
40 +               };
41 +               DDRPARAMS@d0000 {
42 +                       label = "DDRPARAMS";
43 +                       reg = <0xd0000 0x10000>;
44 +                       read-only;
45 +               };
46 +               APPSBLENV@e0000 {
47 +                       label = "APPSBLENV";
48 +                       reg = <0xe0000 0x10000>;
49 +                       read-only;
50 +               };
51 +               APPSBL@f0000 {
52 +                       label = "APPSBL";
53 +                       reg = <0xf0000 0x80000>;
54 +                       read-only;
55 +               };
56 +               ART@170000 {
57 +                       label = "ART";
58 +                       reg = <0x170000 0x10000>;
59 +                       read-only;
60 +               };
61 +               kernel@180000 {
62 +                       label = "kernel";
63 +                       reg = <0x180000 0x400000>;
64 +               };
65 +               rootfs@580000 {
66 +                       label = "rootfs";
67 +                       reg = <0x580000 0x1600000>;
68 +               };
69 +               firmware@180000 {
70 +                       label = "firmware";
71 +                       reg = <0x180000 0x1a00000>;
72 +               };
73 +       };
74  };