ARM: dts: msm: Early mount of vendor partition for msm8998
Add support to early mount vendor partition so that venodr modules can be loaded during early init. Change-Id: I668a7c3b1716816d497b7f170b554dfe8960701c Signed-off-by: Imran Khan <kimran@codeaurora.org>
This commit is contained in:
parent
a5706c4fda
commit
ab67b28f1e
2 changed files with 71 additions and 0 deletions
54
Documentation/devicetree/bindings/arm/msm/android.txt
Normal file
54
Documentation/devicetree/bindings/arm/msm/android.txt
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
Android firmware
|
||||||
|
|
||||||
|
Node to specify early mount of vendor 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
|
@ -282,6 +282,23 @@
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
reserved-memory {
|
reserved-memory {
|
||||||
#address-cells = <2>;
|
#address-cells = <2>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
|
Loading…
Add table
Reference in a new issue