From mboxrd@z Thu Jan 1 00:00:00 1970 From: afaerber@suse.de (=?ISO-8859-15?Q?Andreas_F=E4rber?=) Date: Mon, 01 Dec 2014 21:26:11 +0100 Subject: [PATCH] ARM: zynq: DT: Add USB to device tree In-Reply-To: <1417459352-23401-1-git-send-email-soren.brinkmann@xilinx.com> References: <1417459352-23401-1-git-send-email-soren.brinkmann@xilinx.com> Message-ID: <547CCEE3.6020806@suse.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi S?ren, Am 01.12.2014 um 19:42 schrieb Soren Brinkmann: > Add USB nodes to zc702, zc706 and zed device trees. > > Signed-off-by: Soren Brinkmann > --- > arch/arm/boot/dts/zynq-7000.dtsi | 22 +++++++++++++++++++++- > arch/arm/boot/dts/zynq-zc702.dts | 11 +++++++++++ > arch/arm/boot/dts/zynq-zc706.dts | 10 ++++++++++ > arch/arm/boot/dts/zynq-zed.dts | 10 ++++++++++ > 4 files changed, 52 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi > index ce2ef5bec4f2..9ed60938f301 100644 > --- a/arch/arm/boot/dts/zynq-7000.dtsi > +++ b/arch/arm/boot/dts/zynq-7000.dtsi > @@ -315,6 +315,26 @@ > clocks = <&clkc 4>; > }; > > + usb0: usb at e0002000 { > + compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2"; > + status = "disabled"; > + clocks = <&clkc 28>; > + interrupt-parent = <&intc>; > + interrupts = <0 21 4>; > + reg = <0xe0002000 0x1000>; > + phy_type = "ulpi"; > + }; > + > + usb1: usb at e0003000 { > + compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2"; > + status = "disabled"; > + clocks = <&clkc 29>; > + interrupt-parent = <&intc>; > + interrupts = <0 44 4>; > + reg = <0xe0003000 0x1000>; > + phy_type = "ulpi"; > + }; > + > watchdog0: watchdog at f8005000 { > clocks = <&clkc 45>; > compatible = "xlnx,zynq-wdt-r1p2"; This part looks good. > @@ -324,6 +344,6 @@ > reg = <0xf8005000 0x1000>; > reset = <0>; > timeout-sec = <10>; > - }; > + } ; > }; > }; Unrelated accidental change here though. :) Did I miss a matching series actually implementing the driver? I'd need to test the latest version to determine how to update the Parallella device tree - I assume that USB0 is in dr_mode="host", but with the previous patchsets I was unable to verify. CC'ing Ola. Regards, Andreas -- SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend?rffer; HRB 21284 AG N?rnberg From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= Subject: Re: [PATCH] ARM: zynq: DT: Add USB to device tree Date: Mon, 01 Dec 2014 21:26:11 +0100 Message-ID: <547CCEE3.6020806@suse.de> References: <1417459352-23401-1-git-send-email-soren.brinkmann@xilinx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1417459352-23401-1-git-send-email-soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Soren Brinkmann Cc: Michal Simek , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Peter Crosthwaite , Ola Jeppson List-Id: devicetree@vger.kernel.org Hi S=F6ren, Am 01.12.2014 um 19:42 schrieb Soren Brinkmann: > Add USB nodes to zc702, zc706 and zed device trees. >=20 > Signed-off-by: Soren Brinkmann > --- > arch/arm/boot/dts/zynq-7000.dtsi | 22 +++++++++++++++++++++- > arch/arm/boot/dts/zynq-zc702.dts | 11 +++++++++++ > arch/arm/boot/dts/zynq-zc706.dts | 10 ++++++++++ > arch/arm/boot/dts/zynq-zed.dts | 10 ++++++++++ > 4 files changed, 52 insertions(+), 1 deletion(-) >=20 > diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zyn= q-7000.dtsi > index ce2ef5bec4f2..9ed60938f301 100644 > --- a/arch/arm/boot/dts/zynq-7000.dtsi > +++ b/arch/arm/boot/dts/zynq-7000.dtsi > @@ -315,6 +315,26 @@ > clocks =3D <&clkc 4>; > }; > =20 > + usb0: usb@e0002000 { > + compatible =3D "xlnx,zynq-usb-2.20a", "chipidea,usb2"; > + status =3D "disabled"; > + clocks =3D <&clkc 28>; > + interrupt-parent =3D <&intc>; > + interrupts =3D <0 21 4>; > + reg =3D <0xe0002000 0x1000>; > + phy_type =3D "ulpi"; > + }; > + > + usb1: usb@e0003000 { > + compatible =3D "xlnx,zynq-usb-2.20a", "chipidea,usb2"; > + status =3D "disabled"; > + clocks =3D <&clkc 29>; > + interrupt-parent =3D <&intc>; > + interrupts =3D <0 44 4>; > + reg =3D <0xe0003000 0x1000>; > + phy_type =3D "ulpi"; > + }; > + > watchdog0: watchdog@f8005000 { > clocks =3D <&clkc 45>; > compatible =3D "xlnx,zynq-wdt-r1p2"; This part looks good. > @@ -324,6 +344,6 @@ > reg =3D <0xf8005000 0x1000>; > reset =3D <0>; > timeout-sec =3D <10>; > - }; > + } ; > }; > }; Unrelated accidental change here though. :) Did I miss a matching series actually implementing the driver? I'd need to test the latest version to determine how to update the Parallella device tree - I assume that USB0 is in dr_mode=3D"host", but with the previous patchsets I was unable to verify. CC'ing Ola. Regards, Andreas --=20 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 21284 AG N=FCrn= berg -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932329AbaLAU0R (ORCPT ); Mon, 1 Dec 2014 15:26:17 -0500 Received: from cantor2.suse.de ([195.135.220.15]:49978 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932191AbaLAU0Q (ORCPT ); Mon, 1 Dec 2014 15:26:16 -0500 Message-ID: <547CCEE3.6020806@suse.de> Date: Mon, 01 Dec 2014 21:26:11 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= Organization: SUSE LINUX Products GmbH User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Soren Brinkmann CC: Michal Simek , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peter Crosthwaite , Ola Jeppson Subject: Re: [PATCH] ARM: zynq: DT: Add USB to device tree References: <1417459352-23401-1-git-send-email-soren.brinkmann@xilinx.com> In-Reply-To: <1417459352-23401-1-git-send-email-soren.brinkmann@xilinx.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sören, Am 01.12.2014 um 19:42 schrieb Soren Brinkmann: > Add USB nodes to zc702, zc706 and zed device trees. > > Signed-off-by: Soren Brinkmann > --- > arch/arm/boot/dts/zynq-7000.dtsi | 22 +++++++++++++++++++++- > arch/arm/boot/dts/zynq-zc702.dts | 11 +++++++++++ > arch/arm/boot/dts/zynq-zc706.dts | 10 ++++++++++ > arch/arm/boot/dts/zynq-zed.dts | 10 ++++++++++ > 4 files changed, 52 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi > index ce2ef5bec4f2..9ed60938f301 100644 > --- a/arch/arm/boot/dts/zynq-7000.dtsi > +++ b/arch/arm/boot/dts/zynq-7000.dtsi > @@ -315,6 +315,26 @@ > clocks = <&clkc 4>; > }; > > + usb0: usb@e0002000 { > + compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2"; > + status = "disabled"; > + clocks = <&clkc 28>; > + interrupt-parent = <&intc>; > + interrupts = <0 21 4>; > + reg = <0xe0002000 0x1000>; > + phy_type = "ulpi"; > + }; > + > + usb1: usb@e0003000 { > + compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2"; > + status = "disabled"; > + clocks = <&clkc 29>; > + interrupt-parent = <&intc>; > + interrupts = <0 44 4>; > + reg = <0xe0003000 0x1000>; > + phy_type = "ulpi"; > + }; > + > watchdog0: watchdog@f8005000 { > clocks = <&clkc 45>; > compatible = "xlnx,zynq-wdt-r1p2"; This part looks good. > @@ -324,6 +344,6 @@ > reg = <0xf8005000 0x1000>; > reset = <0>; > timeout-sec = <10>; > - }; > + } ; > }; > }; Unrelated accidental change here though. :) Did I miss a matching series actually implementing the driver? I'd need to test the latest version to determine how to update the Parallella device tree - I assume that USB0 is in dr_mode="host", but with the previous patchsets I was unable to verify. CC'ing Ola. Regards, Andreas -- SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 21284 AG Nürnberg