30 lines
870 B
Text
30 lines
870 B
Text
|
|
* rename devices
|
||
|
|
|
||
|
|
Required properties for block devices rename:
|
||
|
|
|
||
|
|
- compatible: "qcom,rename-devices" compatibility string
|
||
|
|
- device-type: Device type to be renamed and supported device-types are block
|
||
|
|
- actual-dev: Original name of the disk assigned by generic driver
|
||
|
|
- rename-dev: New name of the disk or to set for disks respectively
|
||
|
|
|
||
|
|
Example:
|
||
|
|
|
||
|
|
rename_devices: rename_devices {
|
||
|
|
compatible = "qcom,rename-devices";
|
||
|
|
rename_blk: rename_blk {
|
||
|
|
device-type = "block";
|
||
|
|
actual-dev = "vda", "vdb", "vdc",
|
||
|
|
"vdd", "vde", "vdf",
|
||
|
|
"vdg", "vdh", "vdi",
|
||
|
|
"vdj", "vdk", "vdl",
|
||
|
|
"vdm", "vdn", "vdo",
|
||
|
|
"vdp", "vdq";
|
||
|
|
rename-dev = "super", "userdata", "metadata",
|
||
|
|
"persist", "modem_a", "modem_b",
|
||
|
|
"bluetooth_a", "bluetooth_b",
|
||
|
|
"misc", "vbmeta_a", "vbmeta_b",
|
||
|
|
"boot_a", "boot_b", "dtbo_a",
|
||
|
|
"dtbo_b", "dsp_a", "dsp_b";
|
||
|
|
};
|
||
|
|
};
|