arm64: dts: renesas: ulcb-kf: Add regulators for PCIe ch1
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 29 Jan 2024 13:58:40 +0000 (14:58 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 22 Feb 2024 10:03:31 +0000 (11:03 +0100)
Without them, no power, so cards do not get recognized.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240129135840.28988-1-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi

index e3cc0e0e73cc33c49475c04c7460f2ce67baedf5..c8dc06f0dfed71acc281789a68521640f5d4d0dc 100644 (file)
                regulator-max-microvolt = <1800000>;
        };
 
+       pcie_1v5: regulator-pcie-1v5 {
+               compatible = "regulator-fixed";
+               regulator-name = "pcie-1v5";
+               regulator-min-microvolt = <1500000>;
+               regulator-max-microvolt = <1500000>;
+               gpio = <&gpio_exp_77 15 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
+
+       pcie_3v3: regulator-pcie-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "pcie-3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               gpio = <&gpio_exp_77 14 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
+
        snd_vcc5v: regulator-snd_vcc5v {
                compatible = "regulator-fixed";
                regulator-name = "snd-vcc5v";
 
 &pciec1 {
        status = "okay";
+
+       vpcie1v5-supply = <&pcie_1v5>;
+       vpcie3v3-supply = <&pcie_3v3>;
 };
 
 &pfc {