Skip to content

Commit

Permalink
ARM: dts: stm32: add supplies to usbphyc ports on stm32mp157c-ed1
Browse files Browse the repository at this point in the history
USBPHYC ports require 3 supplies: 3v3, 1v1 and 1v8.
This patch adds the corresponding properties to usbphyc ports on
stm32mp157c-ed1 board.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
  • Loading branch information
Amelie Delaunay authored and Alexandre Torgue committed May 4, 2018
1 parent 3c00436 commit 51868da
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions arch/arm/boot/dts/stm32mp157c-ed1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,30 @@
aliases {
serial0 = &uart4;
};

reg11: reg11 {
compatible = "regulator-fixed";
regulator-name = "reg11";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
regulator-always-on;
};

reg18: reg18 {
compatible = "regulator-fixed";
regulator-name = "reg18";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};

vdd_usb: vdd-usb {
compatible = "regulator-fixed";
regulator-name = "vdd_usb";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
};

&rng1 {
Expand All @@ -49,3 +73,15 @@
pinctrl-0 = <&uart4_pins_a>;
status = "okay";
};

&usbphyc_port0 {
phy-supply = <&vdd_usb>;
vdda1v1-supply = <&reg11>;
vdda1v8-supply = <&reg18>;
};

&usbphyc_port1 {
phy-supply = <&vdd_usb>;
vdda1v1-supply = <&reg11>;
vdda1v8-supply = <&reg18>;
};

0 comments on commit 51868da

Please sign in to comment.