Commit 18e6ccef authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Thierry Reding

ARM: tegra: colibri_t20: add missing regulators

Add missing regulators:
- reg_lan_v_bus being USB Ethernet chip vbus supply
- carrier board reg_3v3 to be used as backlight and panel power supply
- carrier board HDMI supply being reg_5v0
- reg_usbc_vbus being the USB vbus supply of the EHCI instance 0
Signed-off-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 3647c7b8
......@@ -23,6 +23,7 @@ chosen {
host1x@50000000 {
hdmi@54280000 {
status = "okay";
hdmi-supply = <&reg_5v0>;
};
};
......@@ -88,6 +89,7 @@ usb@c5000000 {
usb-phy@c5000000 {
status = "okay";
vbus-supply = <&reg_usbc_vbus>;
};
usb@c5008000 {
......@@ -96,6 +98,7 @@ usb@c5008000 {
usb-phy@c5008000 {
status = "okay";
vbus-supply = <&reg_usbh_vbus>;
};
sdhci@c8000600 {
......@@ -104,14 +107,35 @@ sdhci@c8000600 {
no-1-8-v;
};
reg_3v3: regulator-3v3 {
compatible = "regulator-fixed";
regulator-name = "3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
reg_5v0: regulator-5v0 {
compatible = "regulator-fixed";
regulator-name = "5V";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
reg_usbc_vbus: regulator-usbc-vbus {
compatible = "regulator-fixed";
regulator-name = "VCC_USB2";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&reg_5v0>;
};
/* USBH_PEN resp. USB_P_EN */
reg_usbh_vbus: regulator-usbh-vbus {
compatible = "regulator-fixed";
regulator-name = "VCC_USB1";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-boot-on;
regulator-always-on;
gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
vin-supply = <&reg_5v0>;
};
};
......@@ -471,6 +471,7 @@ usb-phy@c5004000 {
status = "okay";
nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
GPIO_ACTIVE_LOW>;
vbus-supply = <&reg_lan_v_bus>;
};
sdhci@c8000600 {
......
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