From: hdegoede@redhat.com (Hans de Goede)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: sun8i: Add support for USB controllers on A23/A33
Date: Tue, 02 Jun 2015 21:18:25 +0200 [thread overview]
Message-ID: <556E0181.2010009@redhat.com> (raw)
In-Reply-To: <1433248152-13753-3-git-send-email-wens@csie.org>
Hi,
On 06/02/2015 02:29 PM, Chen-Yu Tsai wrote:
> A23/A33 has one pair of EHCI/OHCI USB controllers. There are 2 USB PHYs,
> one for the USB OTG controller, one for the EHCI/OHCI pair. The latter
> may also support HSIC, though none of the available boards utilize this,
> so this is not supported yet.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Thanks, I've applied this one (minus the phy node which belongs in
sun8i-a23.dtsi as it is a23 specific) to my sunxi-wip branch, and if it
is ok with you I will take care of upstreaming this further.
Regards,
Hans
> ---
> arch/arm/boot/dts/sun8i-a23-a33.dtsi | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
> index 7abd0ae3143d..4f1ca44a81f1 100644
> --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi
> +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
> @@ -332,6 +332,40 @@
> #size-cells = <0>;
> };
>
> + usbphy: phy at 01c19400 {
> + compatible = "allwinner,sun8i-a23-usb-phy";
> + reg = <0x01c19400 0x10>, <0x01c1a800 0x4>;
> + reg-names = "phy_ctrl", "pmu1";
> + clocks = <&usb_clk 8>, <&usb_clk 9>;
> + clock-names = "usb0_phy", "usb1_phy";
> + resets = <&usb_clk 0>, <&usb_clk 1>;
> + reset-names = "usb0_reset", "usb1_reset";
> + status = "disabled";
> + #phy-cells = <1>;
> + };
> +
> + ehci0: usb at 01c1a000 {
> + compatible = "allwinner,sun8i-a23-ehci", "generic-ehci";
> + reg = <0x01c1a000 0x100>;
> + interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&ahb1_gates 26>;
> + resets = <&ahb1_rst 26>;
> + phys = <&usbphy 1>;
> + phy-names = "usb";
> + status = "disabled";
> + };
> +
> + ohci0: usb at 01c1a400 {
> + compatible = "allwinner,sun8i-a23-ohci", "generic-ohci";
> + reg = <0x01c1a400 0x100>;
> + interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&ahb1_gates 29>, <&usb_clk 16>;
> + resets = <&ahb1_rst 29>;
> + phys = <&usbphy 1>;
> + phy-names = "usb";
> + status = "disabled";
> + };
> +
> pio: pinctrl at 01c20800 {
> /* compatible gets set in SoC specific dtsi file */
> reg = <0x01c20800 0x400>;
>
next prev parent reply other threads:[~2015-06-02 19:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-02 12:29 [PATCH 0/3] ARM: dts: sun8i: Support USB hosts Chen-Yu Tsai
2015-06-02 12:29 ` [PATCH 1/3] phy: sun4i-usb: Add support for sun8i A23/A33 Chen-Yu Tsai
2015-06-02 19:15 ` Hans de Goede
2015-06-03 1:49 ` [linux-sunxi] " Chen-Yu Tsai
2015-06-03 7:20 ` Hans de Goede
2015-06-02 12:29 ` [PATCH 2/3] ARM: dts: sun8i: Add support for USB controllers on A23/A33 Chen-Yu Tsai
2015-06-02 19:18 ` Hans de Goede [this message]
2015-06-03 1:52 ` Chen-Yu Tsai
2015-06-02 12:29 ` [PATCH 3/3] ARM: dts: sun8i: sina33: Enable USB hosts Chen-Yu Tsai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=556E0181.2010009@redhat.com \
--to=hdegoede@redhat.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).