From: Chunfeng Yun <chunfeng.yun@mediatek.com>
To: u-boot@lists.denx.de
Subject: [PATCH v1 10/10] arm: dts: mt7623: add USB nodes
Date: Mon, 17 Aug 2020 11:02:23 +0800 [thread overview]
Message-ID: <1597633343.5429.7.camel@mhfsdcap03> (raw)
In-Reply-To: <20200816082431.5087-11-linux@fw-web.de>
On Sun, 2020-08-16 at 10:24 +0200, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
>
> This adds USB nodes for MT7623/BPI-R2
>
> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
> ---
> arch/arm/dts/mt7623.dtsi | 46 ++++++++++++++++++++++++
> arch/arm/dts/mt7623n-bananapi-bpi-r2.dts | 16 +++++++++
> 2 files changed, 62 insertions(+)
>
> diff --git a/arch/arm/dts/mt7623.dtsi b/arch/arm/dts/mt7623.dtsi
> index 0452889ef8..e753e08545 100644
> --- a/arch/arm/dts/mt7623.dtsi
> +++ b/arch/arm/dts/mt7623.dtsi
> @@ -352,6 +352,52 @@
> };
> };
>
> + usb1: usb at 1a1c0000 {
> + compatible = "mediatek,mt7623-xhci", "mediatek,mtk-xhci";
> + reg = <0x1a1c0000 0x1000>, <0x1a1c4700 0x0100>;
> + reg-names = "mac", "ippc";
> + power-domains = <&scpsys MT7623_POWER_DOMAIN_HIF>;
> + clocks = <&hifsys CLK_HIFSYS_USB0PHY>, <&topckgen CLK_TOP_ETHIF_SEL>;
> + clock-names = "sys_ck", "ref_ck";
> + phys = <&u2port0 PHY_TYPE_USB2>, <&u3port0 PHY_TYPE_USB3>;
> + status = "disabled";
> + };
> +
> + u3phy1: usb-phy1 at 1a1c4000 {
after change usb-phy1 as usb-phy
Reveiwed-by Chunfeng Yun <chunfeng.yun@mediatek.com>
Thanks
> + compatible = "mediatek,mt7623-tphy", "mediatek,generic-tphy-v1";
> +
> + reg = <0x1a1c4000 0x0700>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
> + status = "disabled";
> +
> + u2port0: usb-phy at 1a1c4800 {
> + reg = <0x1a1c4800 0x0100>;
> + #phy-cells = <1>;
> + clocks = <&topckgen CLK_TOP_USB_PHY48M>;
> + clock-names = "ref";
> + };
> +
> + u3port0: usb-phy at 1a1c4900 {
> + reg = <0x1a1c4900 0x0700>;
> + #phy-cells = <1>;
> + clocks = <&clk26m>;
> + clock-names = "ref";
> + };
> + };
> +
> + usb2: usb at 1a240000 {
> + compatible = "mediatek,mt7623-xhci", "mediatek,mtk-xhci";
> + reg = <0x1a240000 0x1000>, <0x1a244700 0x0100>;
> + reg-names = "mac", "ippc";
> + power-domains = <&scpsys MT7623_POWER_DOMAIN_HIF>;
> + clocks = <&hifsys CLK_HIFSYS_USB1PHY>, <&topckgen CLK_TOP_ETHIF_SEL>;
> + clock-names = "sys_ck", "ref_ck";
> + phys = <&u2port1 PHY_TYPE_USB2>, <&u3port1 PHY_TYPE_USB3>;
> + status = "disabled";
> + };
> +
> u3phy2: usb-phy at 1a244000 {
> compatible = "mediatek,generic-tphy-v1";
> reg = <0x1a244000 0x0700>;
> diff --git a/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
> index bcedcf20f1..ef07369627 100644
> --- a/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
> +++ b/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
> @@ -248,3 +248,19 @@
> pinctrl-0 = <&uart2_pins_a>;
> status = "okay";
> };
> +
> +&usb1 {
> + status = "okay";
> +};
> +
> +&u3phy1 {
> + status = "okay";
> +};
> +
> +&usb2 {
> + status = "okay";
> +};
> +
> +&u3phy2 {
> + status = "okay";
> +};
prev parent reply other threads:[~2020-08-17 3:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-16 8:24 [PATCH v1 00/10] Add MTK AHCI driver, BPI-R64 dts and USB-Nodes for mt7622/mt7623 Frank Wunderlich
2020-08-16 8:24 ` [PATCH v1 01/10] arm: dts: mt7622: add SATA reset constants Frank Wunderlich
2020-08-16 8:24 ` [PATCH v1 02/10] phy: mtk-tphy: add PHY_TYPE_SATA Frank Wunderlich
2020-08-16 8:24 ` [PATCH v1 03/10] reset: add basic reset controller for pciesys Frank Wunderlich
2020-08-16 8:24 ` [PATCH v1 04/10] ahci: mediatek: add ahci driver Frank Wunderlich
2020-08-16 8:24 ` [PATCH v1 05/10] clk: mt7622: add needed clocks for ssusb-node Frank Wunderlich
2020-08-16 8:24 ` [PATCH v1 06/10] arm: dts: add watchdog-reboot node for mt7622 Frank Wunderlich
2020-08-16 8:24 ` [PATCH v1 07/10] arm: dts: add dts for Bananapi-R64 Frank Wunderlich
2020-08-16 8:24 ` [PATCH v1 08/10] dts: r64: add sata- and asm_sel nodes Frank Wunderlich
2020-08-17 6:50 ` Chunfeng Yun
2020-08-16 8:24 ` [PATCH v1 09/10] arm: dts: mt7622: add USB nodes Frank Wunderlich
2020-08-17 2:59 ` Chunfeng Yun
2020-08-17 6:25 ` Frank Wunderlich
2020-08-16 8:24 ` [PATCH v1 10/10] arm: dts: mt7623: " Frank Wunderlich
2020-08-17 2:43 ` Chunfeng Yun
2020-08-17 3:02 ` Chunfeng Yun [this message]
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=1597633343.5429.7.camel@mhfsdcap03 \
--to=chunfeng.yun@mediatek.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