Re: [PATCH v2] arm64: dts: ti: k3-am62a7-sk: Add bootph-all property for ethernet boot

Vignesh Raghavendra <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree
Message-ID <178582009758.4187098.13677911190468773934.b4-review@b4>
> Ethernet boot requires CPSW and PKTDMA nodes to be present starting
> from R5 SPL stage. Add "bootph-all" property in CPSW MAC's eFuse node
> "cpsw_mac_syscon" and "main_pktdma" to enable these nodes during SPL
> stage along with later boot stages so that CPSW port will get static
> MAC address and DMA transfers are functional during ethernet boot.
> 
> Signed-off-by: Chintan Vankar <[email protected]>
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
> index 821a9705bb7d..59cf49a14f61 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
> @@ -230,6 +230,10 @@ AM62AX_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (C8) WKUP_UART0_RTSn */
>  	};
>  };
>  
> +&cpsw_mac_syscon {
> +	bootph-all;
> +};
> +
>  /* WKUP UART0 is used for DM firmware logs */
>  &wkup_uart0 {
>  	pinctrl-names = "default";
> @@ -241,6 +245,10 @@ &wkup_uart0 {
>  	status = "reserved";
>  };
>  
> +&main_pktdma {
> +	bootph-all;
> +};
> +

I ended up applying v1 as bootph-all for main_pktdma is already present
in the k3-am64-main.dtsi making the above redundant.

-- 
Vignesh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.