From: Heiko Stuebner <heiko@sntech.de>
To: linux-usb@vger.kernel.org
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
Heiko Stuebner <heiko@sntech.de>,
balbi@kernel.org, gregkh@linuxfoundation.org,
linux-rockchip@lists.infradead.org, robh+dt@kernel.org,
cl@rock-chips.com, hminas@synopsys.com,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] arm64: dts: rockchip: add dwc2 otg controller on px30
Date: Thu, 2 Aug 2018 15:01:32 +0200 [thread overview]
Message-ID: <20180802130133.4898-3-heiko@sntech.de> (raw)
In-Reply-To: <20180802130133.4898-1-heiko@sntech.de>
Add the node for the dwc2-based otg controller on the px30 soc.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm64/boot/dts/rockchip/px30.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi
index dc3b22ca9a0e..fed782194a94 100644
--- a/arch/arm64/boot/dts/rockchip/px30.dtsi
+++ b/arch/arm64/boot/dts/rockchip/px30.dtsi
@@ -702,6 +702,22 @@
<100000000>, <200000000>;
};
+ usb20_otg: usb@ff300000 {
+ compatible = "rockchip,px30-usb", "rockchip,rk3066-usb",
+ "snps,dwc2";
+ reg = <0x0 0xff300000 0x0 0x40000>;
+ interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru HCLK_OTG>;
+ clock-names = "otg";
+ dr_mode = "otg";
+ g-np-tx-fifo-size = <16>;
+ g-rx-fifo-size = <280>;
+ g-tx-fifo-size = <256 128 128 64 32 16>;
+ g-use-dma;
+ power-domains = <&power PX30_PD_USB>;
+ status = "disabled";
+ };
+
usb_host0_ehci: usb@ff340000 {
compatible = "generic-ehci";
reg = <0x0 0xff340000 0x0 0x10000>;
--
2.17.0
next prev parent reply other threads:[~2018-08-02 13:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-02 13:01 [PATCH 0/3] add dwc2 support for px30 Heiko Stuebner
2018-08-02 13:01 ` [PATCH 1/3] dt-bindings: usb: dwc2: add description " Heiko Stuebner
2018-09-10 12:36 ` Heiko Stuebner
2018-08-02 13:01 ` Heiko Stuebner [this message]
2018-08-02 13:01 ` [PATCH 3/3] arm64: dts: rockchip: enable dwc2-based otg controller on px30-evb Heiko Stuebner
2018-09-24 13:47 ` [PATCH 0/3] add dwc2 support for px30 Heiko Stuebner
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=20180802130133.4898-3-heiko@sntech.de \
--to=heiko@sntech.de \
--cc=balbi@kernel.org \
--cc=cl@rock-chips.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hminas@synopsys.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-usb@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.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