arm64: dts: imx8mm-nitrogen-r2: rework USDHC1
authorAdrien Grassein <adrien.grassein@gmail.com>
Tue, 23 Feb 2021 19:16:45 +0000 (20:16 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 15 Mar 2021 04:22:30 +0000 (12:22 +0800)
Add VMMC and VQMMC description for USDHC1 (eMMC).
There are comming directly from the alimentation
stage, so add the vref_3V3 fixed regulator.

Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts

index e8e230aeec8308935c19e5d0432f29a6bc65af33..5f428aa8468152394d5e0600ea57cef196515ae6 100644 (file)
                regulator-max-microvolt = <1800000>;
        };
 
+       reg_vref_3v3: regulator-vref-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "vref-3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+       };
+
        reg_wlan_vmmc: regulator-wlan-vmmc {
                compatible = "regulator-fixed";
                pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usdhc1>;
        pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
        pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
+       vmmc-supply = <&reg_vref_3v3>;
+       vqmmc-supply = <&reg_vref_1v8>;
        status = "okay";
 };