From 91b676b8076ab4f96b212930b5338a3f4cd0fa9c Mon Sep 17 00:00:00 2001 From: Salendarsingh Gaud Date: Mon, 20 Apr 2020 18:15:37 +0530 Subject: [PATCH] ARM: dts: qcom: add dt entry needed for avb Add dt node snapshot of firmware entry required for android verified boot. Change-Id: I6fda2d4bd82cb1e0aad5d0789db580f6a7ebee5f --- qcom/shima.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index f26cd5e503af..27dd40c64885 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -344,6 +344,27 @@ scm { compatible = "qcom,scm"; }; + + android { + compatible = "android,firmware"; + vbmeta { + compatible = "android,vbmeta"; + parts = "vbmeta,boot,system,vendor,dtbo"; + }; + + fstab { + compatible = "android,fstab"; + vendor { + compatible = "android,vendor"; + dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor"; + + type = "ext4"; + mnt_flags = "ro,barrier=1,discard"; + fsmgr_flags = "wait,slotselect,avb"; + status = "ok"; + }; + }; + }; }; };