public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: Lokesh Vutla <lokeshvutla@ti.com>, Simon Glass <sjg@chromium.org>,
	Tom Rini <trini@konsulko.com>
Cc: Aswath Govindraju <a-govindraju@ti.com>,
	Pratyush Yadav <p.yadav@ti.com>,
	 Kishon Vijay Abraham I <kishon@ti.com>, <u-boot@lists.denx.de>
Subject: [PATCH v5 11/20] ARM: dts: k3-j721e: Add support for USB3 in USB0 instance
Date: Wed, 21 Jul 2021 21:28:40 +0530	[thread overview]
Message-ID: <20210721155849.20994-12-kishon@ti.com> (raw)
In-Reply-To: <20210721155849.20994-1-kishon@ti.com>

Configure the parent clock of wiz3_pll0_refclk to the internal clock
required for USB3 to be functional and also remove "ti,usb2-only"
property as it now supports USB3 mode. This has properties specific to
u-boot on top of DT present in v5.13 of Linux Kernel.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 .../k3-j721e-common-proc-board-u-boot.dtsi    | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
index 974dae8416..85dbf8d2ac 100644
--- a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
@@ -129,13 +129,17 @@
 	u-boot,dm-spl;
 };
 
+&wiz3_pll1_refclk {
+	assigned-clocks = <&wiz3_pll1_refclk>, <&wiz3_pll0_refclk>;
+	assigned-clock-parents = <&k3_clks 295 0>, <&k3_clks 295 9>;
+};
+
 &main_usbss0_pins_default {
 	u-boot,dm-spl;
 };
 
 &usbss0 {
 	u-boot,dm-spl;
-	ti,usb2-only;
 };
 
 &usb0 {
@@ -215,3 +219,16 @@
 &main_r5fss1 {
 	ti,cluster-mode = <0>;
 };
+
+&wiz3_pll1_refclk {
+	assigned-clocks = <&wiz3_pll1_refclk>, <&wiz3_pll0_refclk>;
+	assigned-clock-parents = <&k3_clks 295 0>, <&k3_clks 295 9>;
+};
+
+&serdes_ln_ctrl {
+	u-boot,mux-autoprobe;
+};
+
+&usb_serdes_mux {
+	u-boot,mux-autoprobe;
+};
-- 
2.17.1


  parent reply	other threads:[~2021-07-21 16:01 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 15:58 [PATCH v5 00/20] TI/Cadence: Add Sierra/Torrent SERDES driver Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 01/20] dm: core: Add helper to compare node names Kishon Vijay Abraham I
2021-07-22 13:28   ` Simon Glass
2021-07-21 15:58 ` [PATCH v5 02/20] dm: test: Add test case to check node name ignoring unit address Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 03/20] dt-bindings: phy: Add definitions for additional phy types Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 04/20] dt-bindings: phy: Add defines for AM64 SERDES Wrapper Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 05/20] dt-bindings: phy: cadence-torrent: Add defines for refclk driver Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 06/20] dt-bindings: ti-serdes-mux: Add defines for AM64 SoC Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 07/20] phy: cadence: Add driver for Sierra PHY Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 08/20] phy: cadence: Add driver for Torrent SERDES Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 09/20] phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 10/20] board: ti: j721e: Add support for probing and configuring Torrent serdes on J7200 Kishon Vijay Abraham I
2021-07-21 15:58 ` Kishon Vijay Abraham I [this message]
2021-07-21 15:58 ` [PATCH v5 12/20] arm: dts: k3-j7200-main: Add DT node for torrent serdes Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 13/20] arm: dts: k3-j7200-common-proc-board: Enable SERDES DT Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 14/20] arm: dts: k3-j7200-common-proc-board-u-boot: Add u-boot tags for torrent serdes Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 15/20] configs: j721e_evm_a72_defconfig: Enable the drivers required for the USB3 support Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 16/20] configs: j7200_evm_a72_defconfig: Add config for torrent serdes and common clock framework Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 17/20] env: ti: j721e-evm: Add env variable to power on & reset QSGMII PHY in J7200 EVM Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 18/20] configs: j7200_evm_a72: Add CONFIG_PREBOOT to configure ethernet PHY Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 19/20] doc: board: Move j721e document to doc/board/ti/ directory Kishon Vijay Abraham I
2021-07-21 15:58 ` [PATCH v5 20/20] doc: board: j721e_evm: Add documentation for firmware loading Kishon Vijay Abraham I
2021-07-29  5:14 ` [PATCH v5 00/20] TI/Cadence: Add Sierra/Torrent SERDES driver Lokesh Vutla

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=20210721155849.20994-12-kishon@ti.com \
    --to=kishon@ti.com \
    --cc=a-govindraju@ti.com \
    --cc=lokeshvutla@ti.com \
    --cc=p.yadav@ti.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.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