layerscape: add ls2088ardb device support
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 3228-ls2088a-add-ls2088a-its.patch
1 From e0f9ccd657893d1a10dfbae291900b3045c471fc Mon Sep 17 00:00:00 2001
2 From: Zhao Qiang <qiang.zhao@nxp.com>
3 Date: Mon, 7 Nov 2016 10:38:51 +0800
4 Subject: [PATCH 228/238] ls2088a: add ls2088a its
5
6 Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
7 ---
8 kernel2088a-qds.its | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++
9 kernel2088a-rdb.its | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++
10 2 files changed, 110 insertions(+)
11 create mode 100644 kernel2088a-qds.its
12 create mode 100644 kernel2088a-rdb.its
13
14 diff --git a/kernel2088a-qds.its b/kernel2088a-qds.its
15 new file mode 100644
16 index 0000000..4732954
17 --- /dev/null
18 +++ b/kernel2088a-qds.its
19 @@ -0,0 +1,55 @@
20 +/*
21 + * Copyright (C) 2016, Freescale Semiconductor
22 + *
23 + * Abhimanyu Saini <abhimanyu.saini@nxp.com>
24 + *
25 + * This file is licensed under the terms of the GNU General Public
26 + * License version 2. This program is licensed "as is" without any
27 + * warranty of any kind, whether express or implied.
28 + */
29 +
30 +/dts-v1/;
31 +
32 +/ {
33 + description = "QDS Image file for the LS2080A Linux Kernel";
34 + #address-cells = <1>;
35 +
36 + images {
37 + kernel@1 {
38 + description = "ARM64 Linux kernel";
39 + data = /incbin/("./arch/arm64/boot/Image.gz");
40 + type = "kernel";
41 + arch = "arm64";
42 + os = "linux";
43 + compression = "gzip";
44 + load = <0x80080000>;
45 + entry = <0x80080000>;
46 + };
47 + fdt@1 {
48 + description = "Flattened Device Tree blob";
49 + data = /incbin/("./arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dtb");
50 + type = "flat_dt";
51 + arch = "arm64";
52 + compression = "none";
53 + load = <0x90000000>;
54 + };
55 + ramdisk@1 {
56 + description = "LS2 Ramdisk";
57 + data = /incbin/("./fsl-image-core-ls2088aqds.ext2.gz");
58 + type = "ramdisk";
59 + arch = "arm64";
60 + os = "linux";
61 + compression = "none";
62 + };
63 + };
64 +
65 + configurations {
66 + default = "config@1";
67 + config@1 {
68 + description = "Boot Linux kernel";
69 + kernel = "kernel@1";
70 + fdt = "fdt@1";
71 + ramdisk = "ramdisk@1";
72 + };
73 + };
74 +};
75 diff --git a/kernel2088a-rdb.its b/kernel2088a-rdb.its
76 new file mode 100644
77 index 0000000..151241f
78 --- /dev/null
79 +++ b/kernel2088a-rdb.its
80 @@ -0,0 +1,55 @@
81 +/*
82 + * Copyright (C) 2016, Freescale Semiconductor
83 + *
84 + * Abhimanyu Saini <abhimanyu.saini@nxp.com>
85 + *
86 + * This file is licensed under the terms of the GNU General Public
87 + * License version 2. This program is licensed "as is" without any
88 + * warranty of any kind, whether express or implied.
89 + */
90 +
91 +/dts-v1/;
92 +
93 +/ {
94 + description = "RDB Image file for the LS2080A Linux Kernel";
95 + #address-cells = <1>;
96 +
97 + images {
98 + kernel@1 {
99 + description = "ARM64 Linux kernel";
100 + data = /incbin/("./arch/arm64/boot/Image.gz");
101 + type = "kernel";
102 + arch = "arm64";
103 + os = "linux";
104 + compression = "gzip";
105 + load = <0x80080000>;
106 + entry = <0x80080000>;
107 + };
108 + fdt@1 {
109 + description = "Flattened Device Tree blob";
110 + data = /incbin/("./arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dtb");
111 + type = "flat_dt";
112 + arch = "arm64";
113 + compression = "none";
114 + load = <0x90000000>;
115 + };
116 + ramdisk@1 {
117 + description = "LS2 Ramdisk";
118 + data = /incbin/("./fsl-image-core-ls2088ardb.ext2.gz");
119 + type = "ramdisk";
120 + arch = "arm64";
121 + os = "linux";
122 + compression = "none";
123 + };
124 + };
125 +
126 + configurations {
127 + default = "config@1";
128 + config@1 {
129 + description = "Boot Linux kernel";
130 + kernel = "kernel@1";
131 + fdt = "fdt@1";
132 + ramdisk = "ramdisk@1";
133 + };
134 + };
135 +};
136 --
137 1.7.9.5
138