Message ID | 1502962386-6683-5-git-send-email-amelie.delaunay@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hello! On 8/17/2017 12:33 PM, Amelie Delaunay wrote: > This patch enables USB HS on stm32746g-eval (Host mode). > > Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> > --- > arch/arm/boot/dts/stm32746g-eval.dts | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts > index 69a9579..944501d 100644 > --- a/arch/arm/boot/dts/stm32746g-eval.dts > +++ b/arch/arm/boot/dts/stm32746g-eval.dts > @@ -83,6 +83,13 @@ > gpios = <&gpioc 13 0>; > }; > }; > + > + usbotg_hs_phy: usbphy { Name it "usb-phy" please, tpo be m,ore in line with the DT spec. [...] MBR, Sergei
Hi! On 08/17/2017 12:44 PM, Sergei Shtylyov wrote: > Hello! > > On 8/17/2017 12:33 PM, Amelie Delaunay wrote: > >> This patch enables USB HS on stm32746g-eval (Host mode). >> >> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> >> --- >> arch/arm/boot/dts/stm32746g-eval.dts | 16 ++++++++++++++++ >> 1 file changed, 16 insertions(+) >> >> diff --git a/arch/arm/boot/dts/stm32746g-eval.dts >> b/arch/arm/boot/dts/stm32746g-eval.dts >> index 69a9579..944501d 100644 >> --- a/arch/arm/boot/dts/stm32746g-eval.dts >> +++ b/arch/arm/boot/dts/stm32746g-eval.dts >> @@ -83,6 +83,13 @@ >> gpios = <&gpioc 13 0>; >> }; >> }; >> + >> + usbotg_hs_phy: usbphy { > > Name it "usb-phy" please, tpo be m,ore in line with the DT spec. OK, will be fixed in v2. Thanks! > > [...] > > MBR, Sergei Regards, Amelie
diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts index 69a9579..944501d 100644 --- a/arch/arm/boot/dts/stm32746g-eval.dts +++ b/arch/arm/boot/dts/stm32746g-eval.dts @@ -83,6 +83,13 @@ gpios = <&gpioc 13 0>; }; }; + + usbotg_hs_phy: usbphy { + #phy-cells = <0>; + compatible = "usb-nop-xceiv"; + clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>; + clock-names = "main_clk"; + }; }; &clk_hse { @@ -102,3 +109,12 @@ pinctrl-names = "default"; status = "okay"; }; + +&usbotg_hs { + dr_mode = "host"; + phys = <&usbotg_hs_phy>; + phy-names = "usb2-phy"; + pinctrl-0 = <&usbotg_hs_pins_a>; + pinctrl-names = "default"; + status = "okay"; +};
This patch enables USB HS on stm32746g-eval (Host mode). Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> --- arch/arm/boot/dts/stm32746g-eval.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)