* [PATCH] arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports
@ 2025-05-21 5:33 Wadim Egorov
2025-05-26 5:32 ` Vignesh Raghavendra
2025-06-24 18:45 ` Vignesh Raghavendra
0 siblings, 2 replies; 4+ messages in thread
From: Wadim Egorov @ 2025-05-21 5:33 UTC (permalink / raw)
To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt
Cc: linux-arm-kernel, devicetree, linux-kernel, upstream
For the ICSSG PHYs to operate correctly, a 25 MHz reference clock must
be supplied on CLKOUT0. Previously, our bootloader configured this
clock, which is why the PRU Ethernet ports appeared to work, but the
change never made it into the device tree.
Add clock properties to make EXT_REFCLK1.CLKOUT0 output a 25MHz clock.
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
---
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
index f63c101b7d61..129524eb5b91 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
@@ -322,6 +322,8 @@ AM64X_IOPAD(0x0040, PIN_OUTPUT, 7) /* (U21) GPMC0_AD1.GPIO0_16 */
&icssg0_mdio {
pinctrl-names = "default";
pinctrl-0 = <&icssg0_mdio_pins_default &clkout0_pins_default>;
+ assigned-clocks = <&k3_clks 157 123>;
+ assigned-clock-parents = <&k3_clks 157 125>;
status = "okay";
icssg0_phy1: ethernet-phy@1 {
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports
2025-05-21 5:33 [PATCH] arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports Wadim Egorov
@ 2025-05-26 5:32 ` Vignesh Raghavendra
2025-05-26 14:03 ` Wadim Egorov
2025-06-24 18:45 ` Vignesh Raghavendra
1 sibling, 1 reply; 4+ messages in thread
From: Vignesh Raghavendra @ 2025-05-26 5:32 UTC (permalink / raw)
To: Wadim Egorov, nm, kristo, robh, krzk+dt, conor+dt
Cc: linux-arm-kernel, devicetree, linux-kernel, upstream
On 21/05/25 11:03, Wadim Egorov wrote:
> For the ICSSG PHYs to operate correctly, a 25 MHz reference clock must
> be supplied on CLKOUT0. Previously, our bootloader configured this
> clock, which is why the PRU Ethernet ports appeared to work, but the
> change never made it into the device tree.
>
Should this patch have a Fixes tag then?
> Add clock properties to make EXT_REFCLK1.CLKOUT0 output a 25MHz clock.
>
> Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
> ---
> arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> index f63c101b7d61..129524eb5b91 100644
> --- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> @@ -322,6 +322,8 @@ AM64X_IOPAD(0x0040, PIN_OUTPUT, 7) /* (U21) GPMC0_AD1.GPIO0_16 */
> &icssg0_mdio {
> pinctrl-names = "default";
> pinctrl-0 = <&icssg0_mdio_pins_default &clkout0_pins_default>;
> + assigned-clocks = <&k3_clks 157 123>;
> + assigned-clock-parents = <&k3_clks 157 125>;
> status = "okay";
>
> icssg0_phy1: ethernet-phy@1 {
--
Regards
Vignesh
https://ti.com/opensource
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports
2025-05-26 5:32 ` Vignesh Raghavendra
@ 2025-05-26 14:03 ` Wadim Egorov
0 siblings, 0 replies; 4+ messages in thread
From: Wadim Egorov @ 2025-05-26 14:03 UTC (permalink / raw)
To: Vignesh Raghavendra, nm, kristo, robh, krzk+dt, conor+dt
Cc: linux-arm-kernel, devicetree, linux-kernel, upstream
Am 26.05.25 um 08:32 schrieb Vignesh Raghavendra:
>
>
> On 21/05/25 11:03, Wadim Egorov wrote:
>> For the ICSSG PHYs to operate correctly, a 25 MHz reference clock must
>> be supplied on CLKOUT0. Previously, our bootloader configured this
>> clock, which is why the PRU Ethernet ports appeared to work, but the
>> change never made it into the device tree.
>>
>
> Should this patch have a Fixes tag then?
Yes,
Fixes: 87adfd1ab03a ("arm64: dts: ti: am642-phyboard-electra: Add
PRU-ICSSG nodes")
>
>> Add clock properties to make EXT_REFCLK1.CLKOUT0 output a 25MHz clock.
>>
>> Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
>> ---
>> arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
>> index f63c101b7d61..129524eb5b91 100644
>> --- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
>> @@ -322,6 +322,8 @@ AM64X_IOPAD(0x0040, PIN_OUTPUT, 7) /* (U21) GPMC0_AD1.GPIO0_16 */
>> &icssg0_mdio {
>> pinctrl-names = "default";
>> pinctrl-0 = <&icssg0_mdio_pins_default &clkout0_pins_default>;
>> + assigned-clocks = <&k3_clks 157 123>;
>> + assigned-clock-parents = <&k3_clks 157 125>;
>> status = "okay";
>>
>> icssg0_phy1: ethernet-phy@1 {
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports
2025-05-21 5:33 [PATCH] arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports Wadim Egorov
2025-05-26 5:32 ` Vignesh Raghavendra
@ 2025-06-24 18:45 ` Vignesh Raghavendra
1 sibling, 0 replies; 4+ messages in thread
From: Vignesh Raghavendra @ 2025-06-24 18:45 UTC (permalink / raw)
To: nm, kristo, robh, krzk+dt, conor+dt, Wadim Egorov
Cc: Vignesh Raghavendra, linux-arm-kernel, devicetree, linux-kernel,
upstream
Hi Wadim Egorov,
On Wed, 21 May 2025 07:33:39 +0200, Wadim Egorov wrote:
> For the ICSSG PHYs to operate correctly, a 25 MHz reference clock must
> be supplied on CLKOUT0. Previously, our bootloader configured this
> clock, which is why the PRU Ethernet ports appeared to work, but the
> change never made it into the device tree.
>
> Add clock properties to make EXT_REFCLK1.CLKOUT0 output a 25MHz clock.
>
> [...]
I have applied the following to branch ti-k3-dts-next on [1].
Thank you!
[1/1] arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports
commit: 945e48a39c957924bc84d1a6c137da039e13855b
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
--
Vignesh
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-06-24 18:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-21 5:33 [PATCH] arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports Wadim Egorov
2025-05-26 5:32 ` Vignesh Raghavendra
2025-05-26 14:03 ` Wadim Egorov
2025-06-24 18:45 ` Vignesh Raghavendra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).