dts: add partition dtsi for old partition table [2/2]
authorXindong Xu <xindong.xu@amlogic.com>
Mon, 23 Oct 2017 09:10:02 +0000 (17:10 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 1 Nov 2017 06:00:17 +0000 (23:00 -0700)
PD#152829: add partition dtsi for old partition table

Change-Id: I78a84c19fda1f3c1f5aa074dc8606a08ea579f8c
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
MAINTAINERS
arch/arm64/boot/dts/amlogic/partition_mbox_old.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/amlogic/partition_tv_old.dtsi [new file with mode: 0644]

index b1e7346..061c41f 100644 (file)
@@ -14120,3 +14120,8 @@ AMLOGIC ADD S400EMMC DTS
 M: Yue Gui <yuegui.he@amlogic.com>
 F: arch/arm64/boot/dts/amlogic/axg_s400emmc.dts
 F: arch/arm64/boot/dts/amlogic/axg_s400emmc_v03.dts
+
+AMLOGIC ADD PARTITION OLD DTS
+M: Xindong Xu <xindong.xu@amlogic.com>
+F: arch/arm64/boot/dts/amlogic/partition_mbox_old.dtsi
+F: arch/arm64/boot/dts/amlogic/partition_tv_old.dtsi
diff --git a/arch/arm64/boot/dts/amlogic/partition_mbox_old.dtsi b/arch/arm64/boot/dts/amlogic/partition_mbox_old.dtsi
new file mode 100644 (file)
index 0000000..55e4c8f
--- /dev/null
@@ -0,0 +1,78 @@
+/*
+ * Amlogic partition set for normal
+ *
+ * Copyright (c) 2017-2017 Amlogic Ltd
+ *
+ * This file is licensed under a dual GPLv2 or BSD license.
+ *
+ */
+/ {
+    partitions: partitions{
+               parts = <10>;
+               part-0 = <&logo>;
+               part-1 = <&recovery>;
+               part-2 = <&cri_data>;
+               part-3 = <&tee>;
+               part-4 = <&param>;
+               part-5 = <&misc>;
+               part-6 = <&boot>;
+               part-7 = <&system>;
+               part-8 = <&cache>;
+               part-9 = <&data>;
+
+               logo:logo{
+                       pname = "logo";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+               recovery:recovery{
+                       pname = "recovery";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+               cri_data:cri_data{
+                       pname = "cri_data";
+                       size = <0x0 0x800000>;
+                       mask = <1>;
+               };
+               tee:tee{
+                       pname = "tee";
+                       size = <0x0 0x800000>;
+                       mask = <1>;
+               };
+               param:param{
+                       pname = "param";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+               misc:misc{
+                       pname = "misc";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+               boot:boot
+               {
+                       pname = "boot";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+               system:system
+               {
+                       pname = "system";
+                       size = <0x0 0x80000000>;
+                       mask = <1>;
+               };
+               cache:cache
+               {
+                       pname = "cache";
+                       size = <0x0 0x20000000>;
+                       mask = <2>;
+               };
+               data:data
+               {
+                       pname = "data";
+                       size = <0xffffffff 0xffffffff>;
+                       mask = <4>;
+               };
+       };
+};/* end of / */
diff --git a/arch/arm64/boot/dts/amlogic/partition_tv_old.dtsi b/arch/arm64/boot/dts/amlogic/partition_tv_old.dtsi
new file mode 100644 (file)
index 0000000..fb1737d
--- /dev/null
@@ -0,0 +1,86 @@
+/*
+ * Amlogic partition set for normal
+ *
+ * Copyright (c) 2017-2017 Amlogic Ltd
+ *
+ * This file is licensed under a dual GPLv2 or BSD license.
+ *
+ */
+/ {
+    partitions: partitions{
+               parts = <11>;
+               part-0 = <&logo>;
+               part-1 = <&recovery>;
+               part-2 = <&param>;
+               part-3 = <&tee>;
+               part-4 = <&crypt>;
+               part-5 = <&misc>;
+               part-6 = <&boot>;
+               part-7 = <&system>;
+               part-8 = <&cache>;
+               part-9 = <&cri_data>;
+               part-10 = <&data>;
+
+               logo:logo{
+                       pname = "logo";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+               recovery:recovery{
+                       pname = "recovery";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+               param:param{
+                       pname = "param";
+                       size = <0x0 0x8000000>;
+                       mask = <2>;
+               };
+               tee:tee{
+                       pname = "tee";
+                       size = <0x0 0x800000>;
+                       mask = <1>;
+               };
+               crypt:crypt{
+                       pname = "crypt";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+               misc:misc{
+                       pname = "misc";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+
+               boot:boot
+               {
+                       pname = "boot";
+                       size = <0x0 0x2000000>;
+                       mask = <1>;
+               };
+               system:system
+               {
+                       pname = "system";
+                       size = <0x0 0x80000000>;
+                       mask = <1>;
+               };
+               cache:cache
+               {
+                       pname = "cache";
+                       size = <0x0 0x20000000>;
+                       mask = <2>;
+               };
+               cri_data:cri_data
+               {
+                       pname = "cri_data";
+                       size = <0x0 0x1000000>;
+                       mask = <2>;
+               };
+               data:data
+               {
+                       pname = "data";
+                       size = <0xffffffff 0xffffffff>;
+                       mask = <4>;
+               };
+       };
+};/* end of / */