[PATCH 3/5] ARM: dts: at91: sam9x60: Change i2c compatible

Durai.ManickamKR at microchip.com Durai.ManickamKR at microchip.com
Thu Jul 6 10:32:41 CEST 2023


Hi Alexander,

sam9x60_curiosity and sam9x60ek belongs to same SOC family. So the 
compatible string is updated as "microchip,sam9x60-i2c" in the 
sam9x60.dtsi file. These changes are available in linux-6.4.y branch.

On 06/07/23 01:46, Alexander Dahl wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> From: Alexander Dahl <ada at thorsis.com>
>
> There's a more specific compatible string for the i2c interface, use it.
>
> Signed-off-by: Alexander Dahl <ada at thorsis.com>
> ---
>
> Notes:
>      I²C access to the eeprom did not work though, neither before nor after
>      this change.
>
>   arch/arm/dts/at91-sam9x60_curiosity.dts | 2 +-
>   arch/arm/dts/sam9x60ek.dts              | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/dts/at91-sam9x60_curiosity.dts b/arch/arm/dts/at91-sam9x60_curiosity.dts
> index da5e19b66b..ae707dd64b 100644
> --- a/arch/arm/dts/at91-sam9x60_curiosity.dts
> +++ b/arch/arm/dts/at91-sam9x60_curiosity.dts
> @@ -21,7 +21,7 @@
>                                  status = "okay";
>
>                                  i2c at 600 {
> -                                       compatible = "atmel,sama5d2-i2c";
> +                                       compatible = "microchip,sam9x60-i2c";
>                                          reg = <0x600 0x200>;
>                                          pinctrl-names = "default";
>                                          pinctrl-0 = <&pinctrl_flx0>;
> diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts/sam9x60ek.dts
> index 45e2f4cc40..74016f5e28 100644
> --- a/arch/arm/dts/sam9x60ek.dts
> +++ b/arch/arm/dts/sam9x60ek.dts
> @@ -62,7 +62,7 @@
>                                  status = "okay";
>
>                                  i2c at 600 {
> -                                       compatible = "atmel,sama5d2-i2c";
> +                                       compatible = "microchip,sam9x60-i2c";
>                                          reg = <0x600 0x200>;
>                                          pinctrl-names = "default";
>                                          pinctrl-0 = <&pinctrl_flx0>;
> --
> 2.30.2
>


More information about the U-Boot mailing list