summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32mp157c-ed1.dts
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2018-04-24 11:41:00 +0200
committerAlexandre Torgue <alexandre.torgue@st.com>2018-05-04 09:45:46 +0200
commit51868dacec9d5ddaf1ca29c29720ffa955a5bb6e (patch)
tree7e34ca7c246940b21344dda0fc0e97e8d32dc3c0 /arch/arm/boot/dts/stm32mp157c-ed1.dts
parentARM: dts: stm32: add USBPHYC support to stm32mp157c (diff)
downloadlinux-51868dacec9d5ddaf1ca29c29720ffa955a5bb6e.tar.xz
linux-51868dacec9d5ddaf1ca29c29720ffa955a5bb6e.zip
ARM: dts: stm32: add supplies to usbphyc ports on stm32mp157c-ed1
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>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-ed1.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157c-ed1.dts36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index a454c11dac33..f46a39cd1136 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -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 {
@@ -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>;
+};