From: Chris Morgan <macroalpha82@gmail.com>
To: linux-sunxi@lists.linux.dev
Cc: devicetree@vger.kernel.org, airlied@gmail.com,
andre.przywara@arm.com, conor+dt@kernel.org, daniel@ffwll.ch,
heiko@sntech.de, jagan@edgeble.ai, jernej.skrabec@gmail.com,
krzysztof.kozlowski+dt@linaro.org, mripard@kernel.org,
neil.armstrong@linaro.org, noralf@tronnes.org,
robh+dt@kernel.org, sam@ravnborg.org, samuel@sholland.org,
uwu@icenowy.me, wens@csie.org,
Chris Morgan <macromorgan@hotmail.com>
Subject: [PATCH V4 6/8] ARM: dts: sun8i: v3s: add EHCI and OHCI to v3s dts
Date: Mon, 28 Aug 2023 13:19:39 -0500 [thread overview]
Message-ID: <20230828181941.1609894-7-macroalpha82@gmail.com> (raw)
In-Reply-To: <20230828181941.1609894-1-macroalpha82@gmail.com>
From: Chris Morgan <macromorgan@hotmail.com>
Add the EHCI and OHCI controller to the Allwinner v3s to support using
USB in host mode.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi
index c87476ea31e2..e8a04476b776 100644
--- a/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi
+++ b/arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi
@@ -319,6 +319,29 @@ usbphy: phy@1c19400 {
#phy-cells = <1>;
};
+ ehci: usb@1c1a000 {
+ compatible = "allwinner,sun8i-v3s-ehci", "generic-ehci";
+ reg = <0x01c1a000 0x100>;
+ interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>;
+ resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
+ phys = <&usbphy 0>;
+ phy-names = "usb";
+ status = "disabled";
+ };
+
+ ohci: usb@1c1a400 {
+ compatible = "allwinner,sun8i-v3s-ohci", "generic-ohci";
+ reg = <0x01c1a400 0x100>;
+ interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>,
+ <&ccu CLK_USB_OHCI0>;
+ resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
+ phys = <&usbphy 0>;
+ phy-names = "usb";
+ status = "disabled";
+ };
+
ccu: clock@1c20000 {
compatible = "allwinner,sun8i-v3s-ccu";
reg = <0x01c20000 0x400>;
--
2.34.1
next prev parent reply other threads:[~2023-08-28 18:19 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-28 18:19 [PATCH V4 0/8] Add Anbernic RG-Nano Chris Morgan
2023-08-28 18:19 ` [PATCH V4 1/8] dt-bindings: vendor-prefixes: document Saef Technology Chris Morgan
2023-08-28 21:33 ` Rob Herring
2023-08-28 18:19 ` [PATCH V4 2/8] dt-bindings: display: panel: mipi-dbi-spi: add Saef SF-TC154B Chris Morgan
2023-08-28 21:33 ` Rob Herring
2023-08-28 18:19 ` [PATCH V4 3/8] arm: dts: sun8i: V3s: Add pinctrl for pwm Chris Morgan
2023-09-04 20:46 ` Andre Przywara
2023-08-28 18:19 ` [PATCH V4 4/8] dt-bindings: usb: Add V3s compatible string for EHCI Chris Morgan
2023-08-28 21:33 ` Rob Herring
2023-08-28 21:34 ` Rob Herring
2023-09-08 9:32 ` Andre Przywara
2023-08-28 18:19 ` [PATCH V4 5/8] dt-bindings: usb: Add V3s compatible string for OHCI Chris Morgan
2023-08-28 21:34 ` Rob Herring
2023-08-28 18:19 ` Chris Morgan [this message]
2023-09-04 20:59 ` [PATCH V4 6/8] ARM: dts: sun8i: v3s: add EHCI and OHCI to v3s dts Andre Przywara
2023-08-28 18:19 ` [PATCH V4 7/8] dt-bindings: arm: sunxi: add Anbernic RG-Nano Chris Morgan
2023-08-28 18:19 ` [PATCH V4 8/8] ARM: dts: sunxi: add support for " Chris Morgan
2023-09-05 20:32 ` Jernej Škrabec
2023-09-07 15:39 ` Chris Morgan
2023-09-07 15:48 ` Jernej Škrabec
2023-09-09 20:42 ` Samuel Holland
2023-09-11 0:05 ` Andre Przywara
2023-09-11 13:35 ` Chen-Yu Tsai
2023-09-11 14:36 ` Andre Przywara
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=20230828181941.1609894-7-macroalpha82@gmail.com \
--to=macroalpha82@gmail.com \
--cc=airlied@gmail.com \
--cc=andre.przywara@arm.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=jagan@edgeble.ai \
--cc=jernej.skrabec@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=macromorgan@hotmail.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=noralf@tronnes.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=samuel@sholland.org \
--cc=uwu@icenowy.me \
--cc=wens@csie.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.