From mboxrd@z Thu Jan 1 00:00:00 1970 From: patrice.chotard@st.com (Patrice Chotard) Date: Thu, 24 Sep 2015 08:58:04 +0200 Subject: [STLinux Kernel] [PATCH 3/3] ARM: dts: stih410: Enable USB2.0 and related PHY nodes at board level In-Reply-To: <1443037049-6167-4-git-send-email-maxime.coquelin@st.com> References: <1443037049-6167-1-git-send-email-maxime.coquelin@st.com> <1443037049-6167-4-git-send-email-maxime.coquelin@st.com> Message-ID: <56039EFC.9010405@st.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Max On 09/23/2015 09:37 PM, Maxime Coquelin wrote: > A borad might not expose the USB2.0 ports, so disable them by default in SoC typo borad Otherwise, for the series Acked-by: Patrice Chotard Patrice > file, and enable them in b2120 board. > > Signed-off-by: Maxime Coquelin > --- > arch/arm/boot/dts/stih410-b2120.dts | 24 ++++++++++++++++++++++++ > arch/arm/boot/dts/stih410.dtsi | 12 ++++++++++++ > 2 files changed, 36 insertions(+) > > diff --git a/arch/arm/boot/dts/stih410-b2120.dts b/arch/arm/boot/dts/stih410-b2120.dts > index 16f02c5..8af1e73 100644 > --- a/arch/arm/boot/dts/stih410-b2120.dts > +++ b/arch/arm/boot/dts/stih410-b2120.dts > @@ -35,5 +35,29 @@ > sd-uhs-sdr104; > sd-uhs-ddr50; > }; > + > + usb2_picophy1: phy2 { > + status = "okay"; > + }; > + > + usb2_picophy2: phy3 { > + status = "okay"; > + }; > + > + ohci0: usb at 9a03c00 { > + status = "okay"; > + }; > + > + ehci0: usb at 9a03e00 { > + status = "okay"; > + }; > + > + ohci1: usb at 9a83c00 { > + status = "okay"; > + }; > + > + ehci1: usb at 9a83e00 { > + status = "okay"; > + }; > }; > }; > diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi > index 23f4a48..e3150e3 100644 > --- a/arch/arm/boot/dts/stih410.dtsi > +++ b/arch/arm/boot/dts/stih410.dtsi > @@ -22,6 +22,8 @@ > resets = <&softreset STIH407_PICOPHY_SOFTRESET>, > <&picophyreset STIH407_PICOPHY0_RESET>; > reset-names = "global", "port"; > + > + status = "disabled"; > }; > > usb2_picophy2: phy3 { > @@ -31,6 +33,8 @@ > resets = <&softreset STIH407_PICOPHY_SOFTRESET>, > <&picophyreset STIH407_PICOPHY1_RESET>; > reset-names = "global", "port"; > + > + status = "disabled"; > }; > > ohci0: usb at 9a03c00 { > @@ -43,6 +47,8 @@ > reset-names = "power", "softreset"; > phys = <&usb2_picophy1>; > phy-names = "usb"; > + > + status = "disabled"; > }; > > ehci0: usb at 9a03e00 { > @@ -57,6 +63,8 @@ > reset-names = "power", "softreset"; > phys = <&usb2_picophy1>; > phy-names = "usb"; > + > + status = "disabled"; > }; > > ohci1: usb at 9a83c00 { > @@ -69,6 +77,8 @@ > reset-names = "power", "softreset"; > phys = <&usb2_picophy2>; > phy-names = "usb"; > + > + status = "disabled"; > }; > > ehci1: usb at 9a83e00 { > @@ -83,6 +93,8 @@ > reset-names = "power", "softreset"; > phys = <&usb2_picophy2>; > phy-names = "usb"; > + > + status = "disabled"; > }; > > sti-display-subsystem { From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrice Chotard Subject: Re: [STLinux Kernel] [PATCH 3/3] ARM: dts: stih410: Enable USB2.0 and related PHY nodes at board level Date: Thu, 24 Sep 2015 08:58:04 +0200 Message-ID: <56039EFC.9010405@st.com> References: <1443037049-6167-1-git-send-email-maxime.coquelin@st.com> <1443037049-6167-4-git-send-email-maxime.coquelin@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1443037049-6167-4-git-send-email-maxime.coquelin-qxv4g6HH51o@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Maxime Coquelin , arnd-r2nGTMty4D4@public.gmane.org, olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org, Rob Herring Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Max On 09/23/2015 09:37 PM, Maxime Coquelin wrote: > A borad might not expose the USB2.0 ports, so disable them by default in SoC typo borad Otherwise, for the series Acked-by: Patrice Chotard Patrice > file, and enable them in b2120 board. > > Signed-off-by: Maxime Coquelin > --- > arch/arm/boot/dts/stih410-b2120.dts | 24 ++++++++++++++++++++++++ > arch/arm/boot/dts/stih410.dtsi | 12 ++++++++++++ > 2 files changed, 36 insertions(+) > > diff --git a/arch/arm/boot/dts/stih410-b2120.dts b/arch/arm/boot/dts/stih410-b2120.dts > index 16f02c5..8af1e73 100644 > --- a/arch/arm/boot/dts/stih410-b2120.dts > +++ b/arch/arm/boot/dts/stih410-b2120.dts > @@ -35,5 +35,29 @@ > sd-uhs-sdr104; > sd-uhs-ddr50; > }; > + > + usb2_picophy1: phy2 { > + status = "okay"; > + }; > + > + usb2_picophy2: phy3 { > + status = "okay"; > + }; > + > + ohci0: usb@9a03c00 { > + status = "okay"; > + }; > + > + ehci0: usb@9a03e00 { > + status = "okay"; > + }; > + > + ohci1: usb@9a83c00 { > + status = "okay"; > + }; > + > + ehci1: usb@9a83e00 { > + status = "okay"; > + }; > }; > }; > diff --git a/arch/arm/boot/dts/stih410.dtsi b/arch/arm/boot/dts/stih410.dtsi > index 23f4a48..e3150e3 100644 > --- a/arch/arm/boot/dts/stih410.dtsi > +++ b/arch/arm/boot/dts/stih410.dtsi > @@ -22,6 +22,8 @@ > resets = <&softreset STIH407_PICOPHY_SOFTRESET>, > <&picophyreset STIH407_PICOPHY0_RESET>; > reset-names = "global", "port"; > + > + status = "disabled"; > }; > > usb2_picophy2: phy3 { > @@ -31,6 +33,8 @@ > resets = <&softreset STIH407_PICOPHY_SOFTRESET>, > <&picophyreset STIH407_PICOPHY1_RESET>; > reset-names = "global", "port"; > + > + status = "disabled"; > }; > > ohci0: usb@9a03c00 { > @@ -43,6 +47,8 @@ > reset-names = "power", "softreset"; > phys = <&usb2_picophy1>; > phy-names = "usb"; > + > + status = "disabled"; > }; > > ehci0: usb@9a03e00 { > @@ -57,6 +63,8 @@ > reset-names = "power", "softreset"; > phys = <&usb2_picophy1>; > phy-names = "usb"; > + > + status = "disabled"; > }; > > ohci1: usb@9a83c00 { > @@ -69,6 +77,8 @@ > reset-names = "power", "softreset"; > phys = <&usb2_picophy2>; > phy-names = "usb"; > + > + status = "disabled"; > }; > > ehci1: usb@9a83e00 { > @@ -83,6 +93,8 @@ > reset-names = "power", "softreset"; > phys = <&usb2_picophy2>; > phy-names = "usb"; > + > + status = "disabled"; > }; > > sti-display-subsystem { -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html