Add bootph-all property to necessary nodes to enable ethernet boot for AM68-SK, J722s and AM62p-SK
Subsystems (2)
v2 cover Add bootph-all property to necessary nodes to enable ethernet boot for AM68-SK, J722s and AM62p-SK
This series adds bootph-all property to necessary nodes to enable ethernet boot support for AM68-SK, J722s and AM62p-SK.
This series is based on linux-next tagged next-20250228.
Link to v1:
https://lore.kernel.org/r/[email protected]/
Changes from v1 to v2:
- Updated order of "bootph-all" in [PATCH 1/1].
Chintan Vankar (2):
arm64: dts: ti: k3-am68-sk/k3-j721s2-mcu: Add bootph-all property to
enable Ethernet boot
arm64: dts: ti: k3-am62p5*/k3-j722s: Add bootph-all property to enable
Ethernet boot
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 3 +++ arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 2 ++ arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 3 +++ arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 4 ++++ arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 3 +++ 5 files changed, 15 insertions(+)
Signature · 1 line
2.34.1
PATCH v2 1/2 arm64: dts: ti: k3-am68-sk/k3-j721s2-mcu: 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 AM68-SK and J721S2-EVM.
---
Link to v1:
https://lore.kernel.org/r/[email protected]/
Changes from v1 to v2:
- No changes.
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 3 +++ arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 4 ++++ 2 files changed, 7 insertions(+)
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +3 -0
@@ -333,6 +333,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 {
@@ -340,6 +341,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 {
@@ -615,6 +617,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;
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +4 -0
@@ -154,12 +154,14 @@ mcu_conf: bus@40f00000 { cpsw_mac_syscon: ethernet-mac-syscon@200 { compatible = "ti,am62p-cpsw-mac-efuse", "syscon"; reg = <0x200 0x8>; + bootph-all; }; phy_gmii_sel: phy@4040 { compatible = "ti,am654-phy-gmii-sel"; reg = <0x4040 0x4>; #phy-cells = <1>; + bootph-all; }; };
@@ -538,6 +540,7 @@ mcu_cpsw: ethernet@46000000 { clocks = <&k3_clks 29 28>; clock-names = "fck"; power-domains = <&k3_pds 29 TI_SCI_PD_EXCLUSIVE>; + bootph-all; dmas = <&mcu_udmap 0xf000>, <&mcu_udmap 0xf001>,
@@ -562,6 +565,7 @@ cpsw_port1: port@1 { label = "port1"; ti,syscon-efuse = <&cpsw_mac_syscon 0x0>; phys = <&phy_gmii_sel 1>; + bootph-all; }; };
Signature · 1 line
2.34.1
Re: [PATCH v2 1/2] arm64: dts: ti: k3-am68-sk/k3-j721s2-mcu: Add bootph-all property to enable Ethernet boot
Quoted 5 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 on AM68-SK and J721S2-EVM.
Signed-off-by Chintan Vankar <[email protected]>
Regards,
Siddharth.
Vignesh Raghavendra
maintainerRe: [PATCH v2 1/2] arm64: dts: ti: k3-am68-sk/k3-j721s2-mcu: Add bootph-all property to enable Ethernet boot
In reply to Chintan VankarQuoted 65 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 on AM68-SK and J721S2-EVM.
Signed-off-by Chintan Vankar <[email protected]>---
Link to v1:
https://lore.kernel.org/r/[email protected]/Changes from v1 to v2:
- No changes.arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 3 +++ arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 4 ++++ 2 files changed, 7 insertions(+)arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +3
-0@@ -333,6 +333,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 {@@ -340,6 +341,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 {@@ -615,6 +617,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;arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +2
-0@@ -154,12 +154,14 @@ mcu_conf: bus@40f00000 { cpsw_mac_syscon: ethernet-mac-syscon@200 { compatible = "ti,am62p-cpsw-mac-efuse", "syscon"; reg = <0x200 0x8>; + bootph-all; }; phy_gmii_sel: phy@4040 { compatible = "ti,am654-phy-gmii-sel"; reg = <0x4040 0x4>; #phy-cells = <1>; + bootph-all; }; };
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi mcu_cpsw: ethernet@46000000 { · line 544
Quoted 5 lines
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +1
-0@@ -538,6 +540,7 @@ mcu_cpsw: ethernet@46000000 { clocks = <&k3_clks 29 28>; clock-names = "fck"; power-domains = <&k3_pds 29 TI_SCI_PD_EXCLUSIVE>; + bootph-all;
Since a child node has bootph-all, no need to put the same in the parent hierarchy.
Quoted 10 lines
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +1
-0dmas = <&mcu_udmap 0xf000>, <&mcu_udmap 0xf001>,@@ -562,6 +565,7 @@ cpsw_port1: port@1 { label = "port1"; ti,syscon-efuse = <&cpsw_mac_syscon 0x0>; phys = <&phy_gmii_sel 1>; + bootph-all; }; };
Signature · 3 lines
Regards Vignesh https://ti.com/opensource
Re: [PATCH v2 1/2] arm64: dts: ti: k3-am68-sk/k3-j721s2-mcu: Add bootph-all property to enable Ethernet boot
Hello Vignesh,
Quoted 66 lines · Vignesh Raghavendra
Quoted 63 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 on AM68-SK and J721S2-EVM.
Signed-off-by Chintan Vankar <[email protected]>---
Link to v1:
https://lore.kernel.org/r/[email protected]/Changes from v1 to v2:
- No changes.arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 3 +++ arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 4 ++++ 2 files changed, 7 insertions(+)arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +3
-0@@ -333,6 +333,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 {@@ -340,6 +341,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 {@@ -615,6 +617,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;arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +2
-0@@ -154,12 +154,14 @@ mcu_conf: bus@40f00000 { cpsw_mac_syscon: ethernet-mac-syscon@200 { compatible = "ti,am62p-cpsw-mac-efuse", "syscon"; reg = <0x200 0x8>; + bootph-all; }; phy_gmii_sel: phy@4040 { compatible = "ti,am654-phy-gmii-sel"; reg = <0x4040 0x4>; #phy-cells = <1>; + bootph-all; };
Quoted 11 lines
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi mcu_cpsw: ethernet@46000000 { · line 544
Quoted 7 lines
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +1
-0};@@ -538,6 +540,7 @@ mcu_cpsw: ethernet@46000000 { clocks = <&k3_clks 29 28>; clock-names = "fck"; power-domains = <&k3_pds 29 TI_SCI_PD_EXCLUSIVE>; + bootph-all;Since a child node has bootph-all, no need to put the same in the parent hierarchy.
Thank you for pointing this out, I will remove it from the parent node and post the next version.
Regards,
Chintan.
Quoted 12 lines
Quoted 10 lines
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +1
-0dmas = <&mcu_udmap 0xf000>, <&mcu_udmap 0xf001>,@@ -562,6 +565,7 @@ cpsw_port1: port@1 { label = "port1"; ti,syscon-efuse = <&cpsw_mac_syscon 0x0>; phys = <&phy_gmii_sel 1>; + bootph-all; }; };
PATCH v2 2/2 arm64: dts: ti: k3-am62p5*/k3-j722s: Add bootph-all property to enable Ethernet boot
In reply to Chintan VankarEthernet boot requires CPSW nodes to be present starting from R5 SPL stage. Add bootph-all property to required nodes to enable Ethernet boot for AM62p-SK and J722s.
---
Link to v1:
https://lore.kernel.org/r/[email protected]/
Changes from v1 to v2:
- Updated order of "bootph-all" property for cpsw_port1 node in "k3-am62p-j722s-common-main.dtsi".
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 3 +++ arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 2 ++ arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 3 +++ 3 files changed, 8 insertions(+)
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi +3 -0
@@ -50,6 +50,7 @@ phy_gmii_sel: phy@4044 { compatible = "ti,am654-phy-gmii-sel"; reg = <0x4044 0x8>; #phy-cells = <1>; + bootph-all; }; epwm_tbclk: clock-controller@4130 {
@@ -721,6 +722,7 @@ cpsw_port1: port@1 { mac-address = [00 00 00 00 00 00]; ti,syscon-efuse = <&cpsw_mac_syscon 0x0>; status = "disabled"; + bootph-all; }; cpsw_port2: port@2 {
@@ -742,6 +744,7 @@ cpsw3g_mdio: mdio@f00 { clock-names = "fck"; bus_freq = <1000000>; status = "disabled"; + bootph-all; }; cpts@3d000 {
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +2 -0
@@ -226,6 +226,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 {
@@ -495,6 +496,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;
arch/arm64/boot/dts/ti/k3-j722s-evm.dts +3 -0
@@ -303,6 +303,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 {
@@ -337,6 +338,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 {
@@ -381,6 +383,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