arm64: dts: rockchip: enable UFS controller on FriendlyElec NanoPi M5

The NanoPi M5 board supports pluggable UFS modules using the UFSHC
inside its Rockchip RK3576 SoC.

Enable the respective devicetree node and add its supply regulators.

Link: https://wiki.friendlyelec.com/wiki/images/9/97/NanoPi_M5_LP5_2411_SCH.pdf
Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://patch.msgid.link/20251230-nanopi-m5-ufs-v3-1-ed188ae34fdb@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
Alexey Charkov 2025-12-30 17:23:34 +04:00 committed by Heiko Stuebner
parent a3e4bb6c9a
commit cd50298ffc

View File

@ -110,6 +110,22 @@ vcc12v_dcin: regulator-vcc12v-dcin {
regulator-name = "vcc12v_dcin";
};
vcc1v2_ufs_vccq: regulator-vcc1v2-ufs-vccq {
compatible = "regulator-fixed";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-name = "vcc1v2_ufs_vccq";
vin-supply = <&vcc5v0_sys_s5>;
};
vcc1v8_ufs_vccq2: regulator-vcc1v8-ufs-vccq2 {
compatible = "regulator-fixed";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcc1v8_ufs_vccq2";
vin-supply = <&vcc_1v8_s3>;
};
vcc3v3_m2_keym: regulator-vcc3v3-m2-keym {
compatible = "regulator-fixed";
enable-active-high;
@ -906,6 +922,14 @@ &uart0 {
status = "okay";
};
&ufshc {
vcc-supply = <&vcc_3v3_s3>;
vccq-supply = <&vcc1v2_ufs_vccq>;
vccq2-supply = <&vcc1v8_ufs_vccq2>;
vdd-hba-supply = <&vdda_1v2_s0>;
status = "okay";
};
&usbdp_phy {
status = "okay";
};