[PATCH 1/3] arch: arm: dts: phyboard-electra-uboot.dtsi: Add bootph props to i2c

Dhruva Gole d-gole at ti.com
Mon Jan 27 07:22:01 CET 2025


Hi Wadim,

On Jan 27, 2025 at 05:16:10 +0100, Wadim Egorov wrote:
> Add bootph-all properties to I2C0 nodes to ensure the bus and EEPROM
> are accessible across all stages. This enables reading the SoM
> configuration at any point during the boot process.
> 
> Signed-off-by: Wadim Egorov <w.egorov at phytec.de>
> ---
>  arch/arm/dts/k3-am642-phyboard-electra-rdk-u-boot.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-am642-phyboard-electra-rdk-u-boot.dtsi b/arch/arm/dts/k3-am642-phyboard-electra-rdk-u-boot.dtsi
> index 8f3c3a185ae..c68a48678a2 100644
> --- a/arch/arm/dts/k3-am642-phyboard-electra-rdk-u-boot.dtsi
> +++ b/arch/arm/dts/k3-am642-phyboard-electra-rdk-u-boot.dtsi
> @@ -72,6 +72,14 @@
>  	bootph-all;
>  };
>  
> +&main_i2c0 {
> +	bootph-all;
> +};
> +
> +&main_i2c0_pins_default {
> +	bootph-all;
> +};
> +

Can we not add the bootph-all property in the kernel DT nodes for this?
Also, I don't see main_i2c0 in the kernel DTS file for this[1] platform. Is
there a particular reason to not put it there?

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts


-- 
Best regards,
Dhruva Gole
Texas Instruments Incorporated


More information about the U-Boot mailing list