From: Meng Dongyang <daniel.meng@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 02/10] rockchip: dts: rk3328: add ehci and ohci node and enable host0 port
Date: Tue, 6 Jun 2017 18:31:34 +0800 [thread overview]
Message-ID: <1496745102-28267-3-git-send-email-daniel.meng@rock-chips.com> (raw)
In-Reply-To: <1496745102-28267-1-git-send-email-daniel.meng@rock-chips.com>
Add dts node for ehci and ohci controller, enable the controllers.
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/rk3328-evb.dts | 8 ++++++++
arch/arm/dts/rk3328.dtsi | 14 ++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts
index 01794ed..9920935 100644
--- a/arch/arm/dts/rk3328-evb.dts
+++ b/arch/arm/dts/rk3328-evb.dts
@@ -43,3 +43,11 @@
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
status = "okay";
};
+
+&usb_host0_ehci {
+ status = "okay";
+};
+
+&usb_host0_ohci {
+ status = "okay";
+};
diff --git a/arch/arm/dts/rk3328.dtsi b/arch/arm/dts/rk3328.dtsi
index 8a98ee3..e1219c3 100644
--- a/arch/arm/dts/rk3328.dtsi
+++ b/arch/arm/dts/rk3328.dtsi
@@ -446,6 +446,20 @@
status = "disabled";
};
+ usb_host0_ehci: usb at ff5c0000 {
+ compatible = "generic-ehci";
+ reg = <0x0 0xff5c0000 0x0 0x10000>;
+ interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ usb_host0_ohci: usb at ff5d0000 {
+ compatible = "generic-ohci";
+ reg = <0x0 0xff5d0000 0x0 0x10000>;
+ interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
sdmmc_ext: rksdmmc at ff5f0000 {
compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff5f0000 0x0 0x4000>;
--
1.9.1
next prev parent reply other threads:[~2017-06-06 10:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 10:31 [U-Boot] [PATCH v3 00/10] rk3328: add support of usb host and gadget Meng Dongyang
2017-06-06 10:31 ` [U-Boot] [PATCH v3 01/10] configs: rk3328: add support for usb and config ehci and ohci driver Meng Dongyang
2017-06-06 10:31 ` Meng Dongyang [this message]
2017-06-06 10:31 ` [U-Boot] [PATCH v3 03/10] configs: rk3328: config xhci controller Meng Dongyang
2017-06-06 10:31 ` [U-Boot] [PATCH v3 04/10] usb: host: xhci-rockchip: add support for rk3328 Meng Dongyang
2017-06-06 15:03 ` Marek Vasut
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=1496745102-28267-3-git-send-email-daniel.meng@rock-chips.com \
--to=daniel.meng@rock-chips.com \
--cc=u-boot@lists.denx.de \
/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