dts: add dtsi for system as root [1/9]
authorXindong Xu <xindong.xu@amlogic.com>
Mon, 9 Jul 2018 05:49:38 +0000 (13:49 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Tue, 7 Aug 2018 06:05:33 +0000 (23:05 -0700)
PD#170278: dts: add dtsi for system as root

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

index 388d95d6e0b2c8f221386804261b89dfad2a07c0..44276d62ece78d4e09b434532ffa9753bfe72845 100644 (file)
@@ -14595,3 +14595,8 @@ F:    Documentation/devicetree/bindings/spi/spidev.txt
 AMLOGIC SOUND ADC3101
 M: Renjun Xu <renjun.xu@amlogic.com>
 F: Documentation/devicetree/bindings/amlogic/axg-sound-adc3010-d608mic-pcm.txt
+
+AMLOGIC SYSTEM AS ROOT
+M:     Xindong Xu  <xindong.xu@amlogic.com>
+F:     arch/arm64/boot/dts/amlogic/firmware_avb_system.dtsi
+F:      arch/arm64/boot/dts/amlogic/firmware_system.dtsi
diff --git a/arch/arm64/boot/dts/amlogic/firmware_avb_system.dtsi b/arch/arm64/boot/dts/amlogic/firmware_avb_system.dtsi
new file mode 100644 (file)
index 0000000..fbd08b0
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * Amlogic partition set for normal
+ *
+ * Copyright (c) 2017-2017 Amlogic Ltd
+ *
+ * This file is licensed under a dual GPLv2 or BSD license.
+ *
+ */
+/ {
+       firmware {
+               android {
+                       compatible = "android,firmware";
+                       vbmeta {
+                               compatible = "android,vbmeta";
+                               parts = "vbmeta,boot,system,vendor";
+                               by_name_prefix="/dev/block";
+                       };
+               fstab {
+                       compatible = "android,fstab";
+
+                       vendor {
+                               compatible = "android,vendor";
+                               dev = "/dev/block/vendor";
+                               type = "ext4";
+                               mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
+                               fsmgr_flags = "wait,avb";
+                               };
+                       product {
+                               compatible = "android,product";
+                               dev = "/dev/block/product";
+                               type = "ext4";
+                               mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
+                               fsmgr_flags = "wait";
+                               };
+                       odm {
+                               compatible = "android,odm";
+                               dev = "/dev/block/odm";
+                               type = "ext4";
+                               mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
+                               fsmgr_flags = "wait";
+                               };
+                       };
+               };
+       };
+};/* end of / */
diff --git a/arch/arm64/boot/dts/amlogic/firmware_system.dtsi b/arch/arm64/boot/dts/amlogic/firmware_system.dtsi
new file mode 100644 (file)
index 0000000..73a4b6c
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * Amlogic partition set for normal
+ *
+ * Copyright (c) 2017-2017 Amlogic Ltd
+ *
+ * This file is licensed under a dual GPLv2 or BSD license.
+ *
+ */
+/ {
+       firmware {
+               android {
+                       compatible = "android,firmware";
+                       vbmeta {
+                               compatible = "android,vbmeta";
+                               parts = "vbmeta,boot,system,vendor";
+                               by_name_prefix="/dev/block";
+                       };
+               fstab {
+                       compatible = "android,fstab";
+
+                       vendor {
+                               compatible = "android,vendor";
+                               dev = "/dev/block/vendor";
+                               type = "ext4";
+                               mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
+                               fsmgr_flags = "wait";
+                               };
+                       product {
+                               compatible = "android,product";
+                               dev = "/dev/block/product";
+                               type = "ext4";
+                               mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
+                               fsmgr_flags = "wait";
+                               };
+                       odm {
+                               compatible = "android,odm";
+                               dev = "/dev/block/odm";
+                               type = "ext4";
+                               mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
+                               fsmgr_flags = "wait";
+                               };
+                       };
+               };
+       };
+};/* end of / */