dt-bindings: android: add entries of firmware and vbmeta

Add dt-bindings entries pertaining to android
firmware required for verified boot.

Change-Id: I67958c81bc4a1f1dbfe1affed57121188fad3c9c
This commit is contained in:
shenghu liu
2021-07-15 19:07:21 -07:00
committed by Gerrit - the friendly Code Review server
parent ce807f952b
commit 4d6e953282

View File

@@ -28,6 +28,8 @@ Required properties:
* "qcom,scm-sm8350"
and:
* "qcom,scm"
* "android,firmware" for firmware image
* "android,vbmeta" for setting system properties for verified boot.
- clocks: Specifies clocks needed by the SCM interface, if any:
* core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660" and
"qcom,scm-msm8960"
@@ -49,3 +51,26 @@ Example for MSM8916:
clock-names = "core", "bus", "iface";
};
};
Example for SM6150:
firmware: firmware {
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";
};
};
};
};