* [PATCH v3 1/2] arm64: dts: ti: k3-am62a-main: Fix main padcfg length
2025-09-03 6:25 [PATCH v3 0/2] Add USB support for AM62D2 Paresh Bhagat
@ 2025-09-03 6:25 ` Paresh Bhagat
2025-09-03 6:32 ` s-vadapalli
2025-09-03 6:25 ` [PATCH v3 2/2] arm64: dts: ti: k3-am62d2-evm: Enable USB support Paresh Bhagat
2025-09-12 9:51 ` [PATCH v3 0/2] Add USB support for AM62D2 Nishanth Menon
2 siblings, 1 reply; 5+ messages in thread
From: Paresh Bhagat @ 2025-09-03 6:25 UTC (permalink / raw)
To: nm, vigneshr, praneeth
Cc: kristo, robh, krzk+dt, conor+dt, linux-arm-kernel, devicetree,
linux-kernel, khasim, v-singh1, afd, bb, devarsht, s-vadapalli
From: Vibhore Vardhan <vibhore@ti.com>
The main pad configuration register region starts with the register
MAIN_PADCFG_CTRL_MMR_CFG0_PADCONFIG0 with address 0x000f4000 and ends
with the MAIN_PADCFG_CTRL_MMR_CFG0_PADCONFIG150 register with address
0x000f4258, as a result of which, total size of the region is 0x25c
instead of 0x2ac.
Reference Docs
TRM (AM62A) - https://www.ti.com/lit/ug/spruj16b/spruj16b.pdf
TRM (AM62D) - https://www.ti.com/lit/ug/sprujd4/sprujd4.pdf
Fixes: 5fc6b1b62639c ("arm64: dts: ti: Introduce AM62A7 family of SoCs")
Cc: <stable@vger.kernel.org>
Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
index 9cad79d7bbc1..260279702c01 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
@@ -267,7 +267,7 @@ secure_proxy_sa3: mailbox@43600000 {
main_pmx0: pinctrl@f4000 {
compatible = "pinctrl-single";
- reg = <0x00 0xf4000 0x00 0x2ac>;
+ reg = <0x00 0xf4000 0x00 0x25c>;
#pinctrl-cells = <1>;
pinctrl-single,register-width = <32>;
pinctrl-single,function-mask = <0xffffffff>;
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v3 1/2] arm64: dts: ti: k3-am62a-main: Fix main padcfg length
2025-09-03 6:25 ` [PATCH v3 1/2] arm64: dts: ti: k3-am62a-main: Fix main padcfg length Paresh Bhagat
@ 2025-09-03 6:32 ` s-vadapalli
0 siblings, 0 replies; 5+ messages in thread
From: s-vadapalli @ 2025-09-03 6:32 UTC (permalink / raw)
To: Paresh Bhagat
Cc: nm, vigneshr, praneeth, kristo, robh, krzk+dt, conor+dt,
linux-arm-kernel, devicetree, linux-kernel, khasim, v-singh1,
afd, bb, devarsht, s-vadapalli
On Wed, Sep 03, 2025 at 11:55:12AM +0530, Paresh Bhagat wrote:
> From: Vibhore Vardhan <vibhore@ti.com>
>
> The main pad configuration register region starts with the register
> MAIN_PADCFG_CTRL_MMR_CFG0_PADCONFIG0 with address 0x000f4000 and ends
> with the MAIN_PADCFG_CTRL_MMR_CFG0_PADCONFIG150 register with address
> 0x000f4258, as a result of which, total size of the region is 0x25c
> instead of 0x2ac.
>
> Reference Docs
> TRM (AM62A) - https://www.ti.com/lit/ug/spruj16b/spruj16b.pdf
> TRM (AM62D) - https://www.ti.com/lit/ug/sprujd4/sprujd4.pdf
>
> Fixes: 5fc6b1b62639c ("arm64: dts: ti: Introduce AM62A7 family of SoCs")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
> Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Regards,
Siddharth.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 2/2] arm64: dts: ti: k3-am62d2-evm: Enable USB support
2025-09-03 6:25 [PATCH v3 0/2] Add USB support for AM62D2 Paresh Bhagat
2025-09-03 6:25 ` [PATCH v3 1/2] arm64: dts: ti: k3-am62a-main: Fix main padcfg length Paresh Bhagat
@ 2025-09-03 6:25 ` Paresh Bhagat
2025-09-12 9:51 ` [PATCH v3 0/2] Add USB support for AM62D2 Nishanth Menon
2 siblings, 0 replies; 5+ messages in thread
From: Paresh Bhagat @ 2025-09-03 6:25 UTC (permalink / raw)
To: nm, vigneshr, praneeth
Cc: kristo, robh, krzk+dt, conor+dt, linux-arm-kernel, devicetree,
linux-kernel, khasim, v-singh1, afd, bb, devarsht, s-vadapalli
Add pinmux configuration for USB1 interface and enable the node for
functionality. Also enable data transfer on USB0, on existing power
delivery configuration.
Co-developed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Reviewed-by: Hrushikesh Salunke <h-salunke@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62d2-evm.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am62d2-evm.dts b/arch/arm64/boot/dts/ti/k3-am62d2-evm.dts
index daea18b0bc61..9704c2d97f43 100644
--- a/arch/arm64/boot/dts/ti/k3-am62d2-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62d2-evm.dts
@@ -367,6 +367,12 @@ usr_led_pins_default: usr-led-default-pins {
AM62DX_IOPAD(0x0244, PIN_INPUT, 7) /* (D18) MMC1_SDWP.GPIO1_49 */
>;
};
+
+ main_usb1_pins_default: main-usb1-default-pins {
+ pinctrl-single,pins = <
+ AM62DX_IOPAD(0x0258, PIN_OUTPUT, 0) /* (D19) USB1_DRVVBUS */
+ >;
+ };
};
&mcu_gpio0 {
@@ -499,6 +505,11 @@ &main_uart0 {
status = "okay";
};
+&usbss0 {
+ status = "okay";
+ ti,vbus-divider;
+};
+
&usb0 {
usb-role-switch;
@@ -509,6 +520,16 @@ usb0_hs_ep: endpoint {
};
};
+&usbss1 {
+ status = "okay";
+};
+
+&usb1 {
+ dr_mode = "host";
+ pinctrl-names = "default";
+ pinctrl-0 = <&main_usb1_pins_default>;
+};
+
&cpsw3g {
pinctrl-names = "default";
pinctrl-0 = <&main_rgmii1_pins_default>,
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v3 0/2] Add USB support for AM62D2
2025-09-03 6:25 [PATCH v3 0/2] Add USB support for AM62D2 Paresh Bhagat
2025-09-03 6:25 ` [PATCH v3 1/2] arm64: dts: ti: k3-am62a-main: Fix main padcfg length Paresh Bhagat
2025-09-03 6:25 ` [PATCH v3 2/2] arm64: dts: ti: k3-am62d2-evm: Enable USB support Paresh Bhagat
@ 2025-09-12 9:51 ` Nishanth Menon
2 siblings, 0 replies; 5+ messages in thread
From: Nishanth Menon @ 2025-09-12 9:51 UTC (permalink / raw)
To: vigneshr, praneeth, Paresh Bhagat
Cc: Nishanth Menon, kristo, robh, krzk+dt, conor+dt,
linux-arm-kernel, devicetree, linux-kernel, khasim, v-singh1,
afd, bb, devarsht, s-vadapalli
Hi Paresh Bhagat,
On Wed, 03 Sep 2025 11:55:11 +0530, Paresh Bhagat wrote:
> This patch series introduces following changes:
>
> * Patch 1 fixes the main pad length in main_pmx/padconfig for AM62D
> and AM62A. This also fixes "i2c 0-003f: deferred probe pending".
>
> * Patch 2 enables USB support for AM62D2-EVM by adding pinmux and device
> tree nodes.
>
> [...]
I have applied the following to branch ti-k3-dts-next on [1].
Thank you!
[1/2] arm64: dts: ti: k3-am62a-main: Fix main padcfg length
commit: 4c4e48afb6d85c1a8f9fdbae1fdf17ceef4a6f5b
[2/2] arm64: dts: ti: k3-am62d2-evm: Enable USB support
commit: 5cd40f33273bb41b5eec763bcfc7c9b2e9fe2e64
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
https://ti.com/opensource
^ permalink raw reply [flat|nested] 5+ messages in thread