3043d63f3e3ed43402c23fb7522fbeff675b30f0
[openwrt/staging/nbd.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,87 @@
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 + reserved-memory {
13 + #address-cells = <0x1>;
14 + #size-cells = <0x1>;
15 + ranges;
16 +
17 + smem@87e00000 {
18 + reg = <0x87e00000 0x080000>;
19 + no-map;
20 + };
21 +
22 + tz@87e80000 {
23 + reg = <0x87e80000 0x180000>;
24 + no-map;
25 + };
26 + };
27 +};
28 +
29 +&spi_0 {
30 + mx25l25635f@0 {
31 + compatible = "mx25l25635f", "jedec,spi-nor";
32 + #address-cells = <1>;
33 + #size-cells = <1>;
34 + reg = <0>;
35 + spi-max-frequency = <24000000>;
36 +
37 + SBL1@0 {
38 + label = "SBL1";
39 + reg = <0x0 0x40000>;
40 + read-only;
41 + };
42 + MIBIB@40000 {
43 + label = "MIBIB";
44 + reg = <0x40000 0x20000>;
45 + read-only;
46 + };
47 + QSEE@60000 {
48 + label = "QSEE";
49 + reg = <0x60000 0x60000>;
50 + read-only;
51 + };
52 + CDT@c0000 {
53 + label = "CDT";
54 + reg = <0xc0000 0x10000>;
55 + read-only;
56 + };
57 + DDRPARAMS@d0000 {
58 + label = "DDRPARAMS";
59 + reg = <0xd0000 0x10000>;
60 + read-only;
61 + };
62 + APPSBLENV@e0000 {
63 + label = "APPSBLENV";
64 + reg = <0xe0000 0x10000>;
65 + read-only;
66 + };
67 + APPSBL@f0000 {
68 + label = "APPSBL";
69 + reg = <0xf0000 0x80000>;
70 + read-only;
71 + };
72 + ART@170000 {
73 + label = "ART";
74 + reg = <0x170000 0x10000>;
75 + read-only;
76 + };
77 + kernel@180000 {
78 + label = "kernel";
79 + reg = <0x180000 0x400000>;
80 + };
81 + rootfs@580000 {
82 + label = "rootfs";
83 + reg = <0x580000 0x1600000>;
84 + };
85 + firmware@180000 {
86 + label = "firmware";
87 + reg = <0x180000 0x1a00000>;
88 + };
89 + };
90 };