Skip to contentSkip to conversation

Add bootph-all property to enable Ethernet boot

PATCH Superseded Chintan Vankar 4 participants 8 messages Jul 8, 2025 – Jul 9, 2025

Subsystems (2)

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v5 cover Add bootph-all property to enable Ethernet boot

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 '8d6c58332c7a' of linux-next tagged next-20250703.

Link to v4:
https://lore.kernel.org/r/[email protected]/

Changes from v4 to v5:
- Updated [PATCH v4 2/2] by adding properties to the respective board files and split [PATCH v4 2/2] for AM62P5-SK and J722S-EVM.
- Added a new patch to enable Ethernet boot on SK-AM69.

This series is based on linux-next tagged next-20250428.

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          |  7 +++++++
 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          |  8 ++++++++
 4 files changed, 39 insertions(+)
Signature · 1 line
2.34.1
#1 lore raw

PATCH v5 1/4 arm64: dts: ti: k3-am68-sk-base-board: Add bootph-all property to enable Ethernet boot

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.

---

Changes from v4 to v5:
- No changes.

Link to v4:
https://lore.kernel.org/r/[email protected]/

 arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +12 -0
index 5fa70a874d7b..e84c504c87d2 100644
@@ -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 {
Signature · 1 line
2.34.1
#2 lore raw

PATCH v5 2/4 arm64: dts: ti: k3-am62p5-sk: Add bootph-all property to enable Ethernet boot

In reply to Chintan Vankar

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.

---

Changes from v4 to v5:
- Split [PATCH v4 2/2] to [PATCH v5 2/4] and [PATCH v5 3/4].
- Added properties to board specific files.

Link to v4:
https://lore.kernel.org/r/[email protected]/

 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +7 -0
index 83c37de7d338..58be0f5d8702 100644
@@ -214,6 +214,10 @@ sound_master: simple-audio-card,codec {
 	};
 };
 
+&phy_gmii_sel {
+	bootph-all;
+};
+
 &main_gpio0 {
 	bootph-all;
 };
@@ -267,6 +271,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 +552,7 @@ &cpsw_port1 {
 	phy-mode = "rgmii-rxid";
 	phy-handle = <&cpsw3g_phy0>;
 	status = "okay";
+	bootph-all;
 };
 
 &cpsw_port2 {
@@ -562,6 +568,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;
Signature · 1 line
2.34.1
#3 lore raw

PATCH v5 3/4 arm64: dts: ti: k3-j722s-evm: Add bootph-all property to enable Ethernet boot

In reply to Chintan Vankar

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.

---

Changes from v4 to v5:
- Split [PATCH v4 2/2] to [PATCH v5 2/4] and [PATCH v5 3/4].
- Added properties to board specific files.

Link to v4:
https://lore.kernel.org/r/[email protected]/

 arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/ti/k3-j722s-evm.dts +8 -0
index a47852fdca70..08a2f26f1f58 100644
@@ -282,6 +282,10 @@ csi23_mux: mux-controller-1 {
 	};
 };
 
+&phy_gmii_sel {
+	bootph-all;
+};
+
 &main_pmx0 {
 
 	main_mcan0_pins_default: main-mcan0-default-pins {
@@ -346,6 +350,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 +385,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 +430,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 +441,7 @@ &cpsw_port1 {
 	phy-mode = "rgmii-rxid";
 	phy-handle = <&cpsw3g_phy0>;
 	status = "okay";
+	bootph-all;
 };
 
 &main_gpio1 {
Signature · 1 line
2.34.1
#4 lore raw

PATCH v5 4/4 arm64: dts: ti: k3-am69-sk: Add bootph-all property to enable Ethernet boot

In reply to Chintan Vankar

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.

---

This patch is introduced new from this version.

 arch/arm64/boot/dts/ti/k3-am69-sk.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/ti/k3-am69-sk.dts +12 -0
index f28375629739..a1a16151015e 100644
@@ -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 */
 		>;
+		booph-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 */
 	};
 };
 
+&phy_gmii_sel {
+	bootph-all;
+};
+
+&mcu_udmap {
+	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 {
Signature · 1 line
2.34.1
#6 lore raw

Re: [PATCH v5 4/4] arm64: dts: ti: k3-am69-sk: Add bootph-all property to enable Ethernet boot

In reply to Chintan Vankar
Quoted 17 lines · Chintan Vankar

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.

---

This patch is introduced new from this version.

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

arch/arm64/boot/dts/ti/k3-am69-sk.dts J784S4_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (E38) MCU_RGMII1_TD3 */ · line 571

Quoted 4 lines
arch/arm64/boot/dts/ti/k3-am69-sk.dts +1 -0
@@ -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 */
 		>;
+		booph-all;

Please test your patches!

Quoted 1 line
arch/arm64/boot/dts/ti/k3-am69-sk.dts +0 -0
 	};
Signature · 3 lines
Regards
Vignesh
https://ti.com/opensource
#7 lore raw
In reply to Chintan Vankar
Quoted 26 lines · Chintan Vankar

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 '8d6c58332c7a' of linux-next tagged next-20250703.

Link to v4:
https://lore.kernel.org/r/[email protected]/

Changes from v4 to v5:
- Updated [PATCH v4 2/2] by adding properties to the respective board files and split [PATCH v4 2/2] for AM62P5-SK and J722S-EVM.
- Added a new patch to enable Ethernet boot on SK-AM69.

This series is based on linux-next tagged next-20250428.

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

Quoted 11 lines
 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts          |  7 +++++++
 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          |  8 ++++++++
 4 files changed, 39 insertions(+)

--
2.34.1

My bot found new DTB warnings on the .dts files added or changed in this series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:

  pip3 install dtschema --upgrade

This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/next-20250704 (exact match)

If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically)

New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/ti/' for [email protected]:

arch/arm64/boot/dts/ti/k3-am69-sk.dtb: pinctrl@4301c068 (ti,j7200-padconf): mcu-cpsw-default-pins: 'booph-all' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/pinctrl/pinctrl-single.yaml#