Commit 7a3eabdc authored by Michael Riesch's avatar Michael Riesch Committed by Heiko Stuebner

arm64: dts: rockchip: add vcc_mipi regulator to rock-3a

The Radxa ROCK3 Model A features a voltage regulator that provides
a 3V3 supply to the MIPI DSI connector. Add this regulator to the
device tree of the board.
Signed-off-by: default avatarMichael Riesch <michael.riesch@wolfvision.net>
Link: https://lore.kernel.org/r/20220712133204.2524942-2-michael.riesch@wolfvision.netSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 2fd8bd00
...@@ -147,6 +147,22 @@ regulator-state-mem { ...@@ -147,6 +147,22 @@ regulator-state-mem {
regulator-off-in-suspend; regulator-off-in-suspend;
}; };
}; };
vcc_mipi: vcc-mipi {
compatible = "regulator-fixed";
enable-active-high;
gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&vcc_mipi_en>;
regulator-name = "vcc_mipi";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc3v3_sys>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
}; };
&combphy0 { &combphy0 {
...@@ -484,6 +500,12 @@ vcc_cam_en: vcc_cam_en { ...@@ -484,6 +500,12 @@ vcc_cam_en: vcc_cam_en {
}; };
}; };
display {
vcc_mipi_en: vcc_mipi_en {
rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
ethernet { ethernet {
eth_phy_rst: eth_phy_rst { eth_phy_rst: eth_phy_rst {
rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment