Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58e455cd authored by Zhen Kong's avatar Zhen Kong Committed by Gerrit - the friendly Code Review server
Browse files

dt-bindings: Add DT binding entry for verified boot



Add DT binding entry for the vbmeta for kona.

Change-Id: I274cedaff744bb362865dc4e552e6939c07c95d2
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
parent 90ed92ec
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@ Required properties:
 * "qcom,scm-msm8996" for MSM8996 platforms
 * "qcom,scm-ipq4019" for IPQ4019 platforms
 * "qcom,scm" for later processors (MSM8916, APQ8084, MSM8974, etc)
 * "android,firmware" for firmware image
 * "android,vbmeta" for setting system properties for verified boot.
- clocks: One to three clocks may be required based on compatible.
 * No clock required for "qcom,scm-msm8996", "qcom,scm-ipq4019"
 * Only core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660", and "qcom,scm-msm8960"
@@ -31,3 +33,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";
				};
			};
		};
	};