[PATCH] ARM: i.MX: dts: imx93-tqma9352-mba93xxla: add eeprom aliases

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Dec 5 06:33:29 PST 2025


Hi,

On 12/5/25 3:31 PM, Sascha Hauer wrote:
> eeprom0 has an alias in the upstream device tree whereas the other
> EEPROMs have not. Add aliases for the other EEPROMs. Without it the
> other devices will also try to register themselves as eeprom0 which
> fails with -EEXIST.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

Should we fix the driver to use dynamic IDs in absence of EEPROMs?

We could use of_alias_get_highest_id() to get a start ID.

Cheers,
Ahmad

> ---
>  arch/arm/dts/imx93-tqma9352-mba93xxla.dts | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm/dts/imx93-tqma9352-mba93xxla.dts b/arch/arm/dts/imx93-tqma9352-mba93xxla.dts
> index d1d68a55e1..4b1624cdaa 100644
> --- a/arch/arm/dts/imx93-tqma9352-mba93xxla.dts
> +++ b/arch/arm/dts/imx93-tqma9352-mba93xxla.dts
> @@ -3,3 +3,10 @@
>  #include <arm64/freescale/imx93-tqma9352-mba93xxla.dts>
>  #include "imx93.dtsi"
>  #include "imx93-tqma93xx.dtsi"
> +
> +/ {
> +	aliases {
> +		eeprom1 = &eeprom1;
> +		eeprom2 = &eeprom2;
> +	};
> +};

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list