devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/4] Add bootph-all property to enable Ethernet boot
@ 2025-07-09 10:53 Chintan Vankar
  2025-07-09 10:53 ` [PATCH v6 1/4] arm64: dts: ti: k3-am68-sk-base-board: " Chintan Vankar
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Chintan Vankar @ 2025-07-09 10:53 UTC (permalink / raw)
  To: Conor Dooley, Krzysztof Kozlowski, Rob Herring, Tero Kristo,
	Vignesh Raghavendra, Nishanth Menon, c-vankar
  Cc: s-vadapalli, linux-kernel, devicetree, linux-arm-kernel

This series adds bootph-all property to necessary nodes to enable
ethernet boot support for SK-AM68, AM62P5-SK, J722S, and SK-AM69.

This series is based on commit '58ba80c47402' of linux-next tagged
next-20250708.

Link to v5:
https://lore.kernel.org/r/20250708084252.1028191-1-c-vankar@ti.com/

Changes from v5 to v6:
- Added bootph-all property to "cpsw_mac_syscon" node for AM62P5-SK, J722S
  and SK-AM69.
- Removed bootph-all property from "mcu_udmap" node for SK-AM69 since it
  was already present.
- Corrected "bootph-all" which was misspelled in previous version for
  SK-AM69.

Chintan Vankar (4):
  arm64: dts: ti: k3-am68-sk-base-board: Add bootph-all property to
    enable Ethernet boot
  arm64: dts: ti: k3-am62p5-sk: Add bootph-all property to enable
    Ethernet boot
  arm64: dts: ti: k3-j722s-evm: Add bootph-all property to enable
    Ethernet boot
  arm64: dts: ti: k3-am69-sk: Add bootph-all property to enable Ethernet
    boot

 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts          | 11 +++++++++++
 arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 12 ++++++++++++
 arch/arm64/boot/dts/ti/k3-am69-sk.dts            | 12 ++++++++++++
 arch/arm64/boot/dts/ti/k3-j722s-evm.dts          | 12 ++++++++++++
 4 files changed, 47 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v6 1/4] arm64: dts: ti: k3-am68-sk-base-board: Add bootph-all property to enable Ethernet boot
  2025-07-09 10:53 [PATCH v6 0/4] Add bootph-all property to enable Ethernet boot Chintan Vankar
@ 2025-07-09 10:53 ` Chintan Vankar
  2025-07-09 10:53 ` [PATCH v6 2/4] arm64: dts: ti: k3-am62p5-sk: " Chintan Vankar
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Chintan Vankar @ 2025-07-09 10:53 UTC (permalink / raw)
  To: Conor Dooley, Krzysztof Kozlowski, Rob Herring, Tero Kristo,
	Vignesh Raghavendra, Nishanth Menon, c-vankar
  Cc: s-vadapalli, linux-kernel, devicetree, linux-arm-kernel

Ethernet boot requires CPSW nodes to be present starting from R5 SPL
stage. Add bootph-all property to required nodes to enable Ethernet boot
on SK-AM68.

Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Chintan Vankar <c-vankar@ti.com>
---

Link to v5:
https://lore.kernel.org/r/20250708084252.1028191-2-c-vankar@ti.com/

Changes from v5 to v6:
- No changes.

 arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
index 5fa70a874d7b..e84c504c87d2 100644
--- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
@@ -344,6 +344,7 @@ J721S2_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (E22) MCU_RGMII1_TD3 */
 			J721S2_WKUP_IOPAD(0x018, PIN_OUTPUT, 0) /* (F21) MCU_RGMII1_TXC */
 			J721S2_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (F22) MCU_RGMII1_TX_CTL */
 		>;
+		bootph-all;
 	};
 
 	mcu_mdio_pins_default: mcu-mdio-default-pins {
@@ -351,6 +352,7 @@ mcu_mdio_pins_default: mcu-mdio-default-pins {
 			J721S2_WKUP_IOPAD(0x034, PIN_OUTPUT, 0) /* (A21) MCU_MDIO0_MDC */
 			J721S2_WKUP_IOPAD(0x030, PIN_INPUT, 0) /* (A22) MCU_MDIO0_MDIO */
 		>;
+		bootph-all;
 	};
 
 	mcu_mcan0_pins_default: mcu-mcan0-default-pins {
@@ -412,6 +414,14 @@ J721S2_WKUP_IOPAD(0x000, PIN_INPUT, 7) /* (K26) WKUP_GPIO0_49 */
 	};
 };
 
+&cpsw_mac_syscon {
+	bootph-all;
+};
+
+&phy_gmii_sel {
+	bootph-all;
+};
+
 &main_gpio0 {
 	status = "okay";
 	pinctrl-names = "default";
@@ -626,6 +636,7 @@ &mcu_cpsw {
 &davinci_mdio {
 	phy0: ethernet-phy@0 {
 		reg = <0>;
+		bootph-all;
 		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
 		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
 		ti,min-output-impedance;
@@ -635,6 +646,7 @@ phy0: ethernet-phy@0 {
 &cpsw_port1 {
 	phy-mode = "rgmii-rxid";
 	phy-handle = <&phy0>;
+	bootph-all;
 };
 
 &mcu_mcan0 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v6 2/4] arm64: dts: ti: k3-am62p5-sk: Add bootph-all property to enable Ethernet boot
  2025-07-09 10:53 [PATCH v6 0/4] Add bootph-all property to enable Ethernet boot Chintan Vankar
  2025-07-09 10:53 ` [PATCH v6 1/4] arm64: dts: ti: k3-am68-sk-base-board: " Chintan Vankar
@ 2025-07-09 10:53 ` Chintan Vankar
  2025-07-09 10:53 ` [PATCH v6 3/4] arm64: dts: ti: k3-j722s-evm: " Chintan Vankar
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Chintan Vankar @ 2025-07-09 10:53 UTC (permalink / raw)
  To: Conor Dooley, Krzysztof Kozlowski, Rob Herring, Tero Kristo,
	Vignesh Raghavendra, Nishanth Menon, c-vankar
  Cc: s-vadapalli, linux-kernel, devicetree, linux-arm-kernel,
	Roger Quadros

Ethernet boot requires CPSW nodes to be present starting from R5 SPL
stage. Add bootph-all property to required nodes to enable Ethernet boot
for AM62P5-SK.

Reviewed-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Chintan Vankar <c-vankar@ti.com>
---

Link to v5:
https://lore.kernel.org/r/20250708084252.1028191-3-c-vankar@ti.com/

Changes from v5 to v6:
- Added bootph-all property to cpsw_mac_syscon node.

 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
index 83c37de7d338..899da7896563 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
@@ -214,6 +214,14 @@ sound_master: simple-audio-card,codec {
 	};
 };
 
+&cpsw_mac_syscon {
+	bootph-all;
+};
+
+&phy_gmii_sel {
+	bootph-all;
+};
+
 &main_gpio0 {
 	bootph-all;
 };
@@ -267,6 +275,7 @@ main_mdio1_pins_default: main-mdio1-default-pins {
 			AM62PX_IOPAD(0x0160, PIN_OUTPUT, 0) /* (F17) MDIO0_MDC */
 			AM62PX_IOPAD(0x015c, PIN_INPUT, 0) /* (F16) MDIO0_MDIO */
 		>;
+		bootph-all;
 	};
 
 	main_mmc1_pins_default: main-mmc1-default-pins {
@@ -547,6 +556,7 @@ &cpsw_port1 {
 	phy-mode = "rgmii-rxid";
 	phy-handle = <&cpsw3g_phy0>;
 	status = "okay";
+	bootph-all;
 };
 
 &cpsw_port2 {
@@ -562,6 +572,7 @@ &cpsw3g_mdio {
 
 	cpsw3g_phy0: ethernet-phy@0 {
 		reg = <0>;
+		bootph-all;
 		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
 		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
 		ti,min-output-impedance;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v6 3/4] arm64: dts: ti: k3-j722s-evm: Add bootph-all property to enable Ethernet boot
  2025-07-09 10:53 [PATCH v6 0/4] Add bootph-all property to enable Ethernet boot Chintan Vankar
  2025-07-09 10:53 ` [PATCH v6 1/4] arm64: dts: ti: k3-am68-sk-base-board: " Chintan Vankar
  2025-07-09 10:53 ` [PATCH v6 2/4] arm64: dts: ti: k3-am62p5-sk: " Chintan Vankar
@ 2025-07-09 10:53 ` Chintan Vankar
  2025-07-09 10:53 ` [PATCH v6 4/4] arm64: dts: ti: k3-am69-sk: " Chintan Vankar
  2025-07-15  5:29 ` [PATCH v6 0/4] " Vignesh Raghavendra
  4 siblings, 0 replies; 6+ messages in thread
From: Chintan Vankar @ 2025-07-09 10:53 UTC (permalink / raw)
  To: Conor Dooley, Krzysztof Kozlowski, Rob Herring, Tero Kristo,
	Vignesh Raghavendra, Nishanth Menon, c-vankar
  Cc: s-vadapalli, linux-kernel, devicetree, linux-arm-kernel,
	Roger Quadros

Ethernet boot requires CPSW nodes to be present starting from R5 SPL
stage. Add bootph-all property to required nodes to enable Ethernet boot
for J722S-EVM.

Reviewed-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Chintan Vankar <c-vankar@ti.com>
---

Link to v5:
https://lore.kernel.org/r/20250708084252.1028191-4-c-vankar@ti.com/

Changes from v5 to v6:
- Added bootph-all property to cpsw_mac_syscon node.

 arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
index d0533723412a..9d8abfa9afd2 100644
--- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
@@ -282,6 +282,14 @@ csi23_mux: mux-controller-1 {
 	};
 };
 
+&cpsw_mac_syscon {
+	bootph-all;
+};
+
+&phy_gmii_sel {
+	bootph-all;
+};
+
 &main_pmx0 {
 
 	main_mcan0_pins_default: main-mcan0-default-pins {
@@ -346,6 +354,7 @@ mdio_pins_default: mdio-default-pins {
 			J722S_IOPAD(0x0160, PIN_OUTPUT, 0) /* (AC24) MDIO0_MDC */
 			J722S_IOPAD(0x015c, PIN_INPUT, 0) /* (AD25) MDIO0_MDIO */
 		>;
+		bootph-all;
 	};
 
 	ospi0_pins_default: ospi0-default-pins {
@@ -380,6 +389,7 @@ J722S_IOPAD(0x0140, PIN_OUTPUT, 0) /* (AF24) RGMII1_TD3 */
 			J722S_IOPAD(0x0130, PIN_OUTPUT, 0) /* (AG26) RGMII1_TXC */
 			J722S_IOPAD(0x012c, PIN_OUTPUT, 0) /* (AF25) RGMII1_TX_CTL */
 		>;
+		bootph-all;
 	};
 
 	main_usb1_pins_default: main-usb1-default-pins {
@@ -424,6 +434,7 @@ &cpsw3g_mdio {
 
 	cpsw3g_phy0: ethernet-phy@0 {
 		reg = <0>;
+		bootph-all;
 		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
 		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
 		ti,min-output-impedance;
@@ -434,6 +445,7 @@ &cpsw_port1 {
 	phy-mode = "rgmii-rxid";
 	phy-handle = <&cpsw3g_phy0>;
 	status = "okay";
+	bootph-all;
 };
 
 &main_gpio1 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v6 4/4] arm64: dts: ti: k3-am69-sk: Add bootph-all property to enable Ethernet boot
  2025-07-09 10:53 [PATCH v6 0/4] Add bootph-all property to enable Ethernet boot Chintan Vankar
                   ` (2 preceding siblings ...)
  2025-07-09 10:53 ` [PATCH v6 3/4] arm64: dts: ti: k3-j722s-evm: " Chintan Vankar
@ 2025-07-09 10:53 ` Chintan Vankar
  2025-07-15  5:29 ` [PATCH v6 0/4] " Vignesh Raghavendra
  4 siblings, 0 replies; 6+ messages in thread
From: Chintan Vankar @ 2025-07-09 10:53 UTC (permalink / raw)
  To: Conor Dooley, Krzysztof Kozlowski, Rob Herring, Tero Kristo,
	Vignesh Raghavendra, Nishanth Menon, c-vankar
  Cc: s-vadapalli, linux-kernel, devicetree, linux-arm-kernel

Ethernet boot requires CPSW nodes to be present starting from R5 SPL
stage. Add bootph-all property to required nodes to enable Ethernet boot
for SK-AM69.

Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Chintan Vankar <c-vankar@ti.com>
---

Link to v5:
https://lore.kernel.org/r/20250708084252.1028191-5-c-vankar@ti.com/

Changes from v5 to v6:
- Added bootph-all property to cpsw_mac_syscon node.
- Corrected "bootph-all" which was misspelled in previous version.

 arch/arm64/boot/dts/ti/k3-am69-sk.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
index f28375629739..a09dcb812648 100644
--- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
@@ -568,6 +568,7 @@ J784S4_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (E38) MCU_RGMII1_TD3 */
 			J784S4_WKUP_IOPAD(0x018, PIN_OUTPUT, 0) /* (E36) MCU_RGMII1_TXC */
 			J784S4_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (C38) MCU_RGMII1_TX_CTL */
 		>;
+		bootph-all;
 	};
 
 	mcu_mdio_pins_default: mcu-mdio-default-pins {
@@ -575,6 +576,7 @@ mcu_mdio_pins_default: mcu-mdio-default-pins {
 			J784S4_WKUP_IOPAD(0x034, PIN_OUTPUT, 0) /* (A36) MCU_MDIO0_MDC */
 			J784S4_WKUP_IOPAD(0x030, PIN_INPUT, 0) /* (B35) MCU_MDIO0_MDIO */
 		>;
+		bootph-all;
 	};
 
 	mcu_rpi_hdr1_gpio0_pins_default: mcu-rpi-hdr1-gpio0-default-pins {
@@ -630,6 +632,14 @@ J784S4_WKUP_IOPAD(0x0, PIN_INPUT, 7) /* (M33) WKUP_GPIO0_49 */
 	};
 };
 
+&cpsw_mac_syscon {
+	bootph-all;
+};
+
+&phy_gmii_sel {
+	bootph-all;
+};
+
 &mailbox0_cluster0 {
 	status = "okay";
 	interrupts = <436>;
@@ -968,6 +978,7 @@ &mcu_cpsw {
 &davinci_mdio {
 	mcu_phy0: ethernet-phy@0 {
 		reg = <0>;
+		bootph-all;
 		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
 		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
 		ti,min-output-impedance;
@@ -978,6 +989,7 @@ &mcu_cpsw_port1 {
 	status = "okay";
 	phy-mode = "rgmii-rxid";
 	phy-handle = <&mcu_phy0>;
+	bootph-all;
 };
 
 &mcu_r5fss0_core0 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v6 0/4] Add bootph-all property to enable Ethernet boot
  2025-07-09 10:53 [PATCH v6 0/4] Add bootph-all property to enable Ethernet boot Chintan Vankar
                   ` (3 preceding siblings ...)
  2025-07-09 10:53 ` [PATCH v6 4/4] arm64: dts: ti: k3-am69-sk: " Chintan Vankar
@ 2025-07-15  5:29 ` Vignesh Raghavendra
  4 siblings, 0 replies; 6+ messages in thread
From: Vignesh Raghavendra @ 2025-07-15  5:29 UTC (permalink / raw)
  To: Conor Dooley, Krzysztof Kozlowski, Rob Herring, Tero Kristo,
	Nishanth Menon, Chintan Vankar
  Cc: Vignesh Raghavendra, s-vadapalli, linux-kernel, devicetree,
	linux-arm-kernel

Hi Chintan Vankar,

On Wed, 09 Jul 2025 16:23:22 +0530, Chintan Vankar wrote:
> This series adds bootph-all property to necessary nodes to enable
> ethernet boot support for SK-AM68, AM62P5-SK, J722S, and SK-AM69.
> 
> This series is based on commit '58ba80c47402' of linux-next tagged
> next-20250708.
> 
> Link to v5:
> https://lore.kernel.org/r/20250708084252.1028191-1-c-vankar@ti.com/
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/4] arm64: dts: ti: k3-am68-sk-base-board: Add bootph-all property to enable Ethernet boot
      commit: 7cc984fb30d5c2a780fee0f4b2d4ad2001961c6b
[2/4] arm64: dts: ti: k3-am62p5-sk: Add bootph-all property to enable Ethernet boot
      commit: d6ad164e05844be63210900536108812aa00d2fe
[3/4] arm64: dts: ti: k3-j722s-evm: Add bootph-all property to enable Ethernet boot
      commit: ab9ec669cf74b6499c0de4f42a6dd756a4e4e2a1
[4/4] arm64: dts: ti: k3-am69-sk: Add bootph-all property to enable Ethernet boot
      commit: 89a0284bf92e498c8d24a4ce37949eaf4a5101a9

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] 6+ messages in thread

end of thread, other threads:[~2025-07-15  5:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-09 10:53 [PATCH v6 0/4] Add bootph-all property to enable Ethernet boot Chintan Vankar
2025-07-09 10:53 ` [PATCH v6 1/4] arm64: dts: ti: k3-am68-sk-base-board: " Chintan Vankar
2025-07-09 10:53 ` [PATCH v6 2/4] arm64: dts: ti: k3-am62p5-sk: " Chintan Vankar
2025-07-09 10:53 ` [PATCH v6 3/4] arm64: dts: ti: k3-j722s-evm: " Chintan Vankar
2025-07-09 10:53 ` [PATCH v6 4/4] arm64: dts: ti: k3-am69-sk: " Chintan Vankar
2025-07-15  5:29 ` [PATCH v6 0/4] " 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).