mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
dt-bindings: android: add entries for android
Add dt-bindigns entries pertaining to android firmware required for verified boot. Change-Id: Id7e449f3d42101f7c6f009f6174d1bed6bdfcc5e
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
af9bdcae57
commit
ce807f952b
118
bindings/arm/msm/android.txt
Normal file
118
bindings/arm/msm/android.txt
Normal file
@@ -0,0 +1,118 @@
|
||||
Android firmware
|
||||
|
||||
Node to specify early mount of vendor and system partition.
|
||||
|
||||
Required properties
|
||||
|
||||
-compatible: "android,firmware"
|
||||
|
||||
Child nodes:
|
||||
------------
|
||||
|
||||
fstab:
|
||||
------------------------------
|
||||
|
||||
fstab entry to specify mount attributes of vendor partition.
|
||||
|
||||
Required properties:
|
||||
|
||||
-compatible: "android,fstab"
|
||||
|
||||
Child nodes:
|
||||
------------
|
||||
|
||||
vendor:
|
||||
-----------------
|
||||
|
||||
vendor partition specification.
|
||||
|
||||
Required properties:
|
||||
|
||||
-compatible: "android, vendor"
|
||||
-dev: block device corresponding to vendor partition
|
||||
-type: file system type of vendor partition
|
||||
-mnt_flags: mount flags
|
||||
-fsmgr_flags: fsmgr flags
|
||||
|
||||
Example:
|
||||
|
||||
firmware: firmware {
|
||||
android {
|
||||
compatible = "android,firmware";
|
||||
fstab {
|
||||
compatible = "android,fstab";
|
||||
vendor {
|
||||
compatible = "android,vendor";
|
||||
dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/vendor";
|
||||
type = "ext4";
|
||||
mnt_flags = "ro,barrier=1,discard";
|
||||
fsmgr_flags = "wait,slotselect";
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
odm:
|
||||
-----------------
|
||||
|
||||
odm partition specification.
|
||||
|
||||
Required properties:
|
||||
|
||||
-compatible: "android, odm"
|
||||
-dev: block device corresponding to odm partition
|
||||
-type: file system type of odm partition
|
||||
-mnt_flags: mount flags
|
||||
-fsmgr_flags: fsmgr flags
|
||||
|
||||
Example:
|
||||
|
||||
firmware: firmware {
|
||||
android {
|
||||
compatible = "android,firmware";
|
||||
fstab {
|
||||
compatible = "android,fstab";
|
||||
odm {
|
||||
compatible = "android,odm";
|
||||
dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/odm";
|
||||
type = "ext4";
|
||||
mnt_flags = "ro,barrier=1,discard";
|
||||
fsmgr_flags = "wait,slotselect";
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system:
|
||||
-----------------
|
||||
|
||||
system partition specification.
|
||||
|
||||
Required properties:
|
||||
|
||||
-compatible: "android,system"
|
||||
-dev: block device corresponding to system partition
|
||||
-type: file system type of system partition
|
||||
-mnt_flags: mount flags
|
||||
-fsmgr_flags: fsmgr flags
|
||||
|
||||
Example:
|
||||
|
||||
firmware: firmware {
|
||||
android {
|
||||
compatible = "android,firmware";
|
||||
fstab {
|
||||
compatible = "android,fstab";
|
||||
system {
|
||||
compatible = "android,system";
|
||||
dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/system";
|
||||
type = "ext4";
|
||||
mnt_flags = "ro,barrier=1,discard";
|
||||
fsmgr_flags = "wait,slotselect";
|
||||
status = "ok";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user