[PATCH 05/10] ARM: dts: ast2600-evb: Add I2C devices

Ryan Chen ryan_chen at aspeedtech.com
Tue Jun 21 07:38:06 CEST 2022


> -----Original Message-----
> From: joel.stan at gmail.com <joel.stan at gmail.com> On Behalf Of Joel Stanley
> Sent: Monday, June 20, 2022 3:25 PM
> To: Ryan Chen <ryan_chen at aspeedtech.com>; BMC-SW
> <BMC-SW at aspeedtech.com>; Heiko Schocher <hs at denx.de>
> Cc: u-boot at lists.denx.de; Cédric Le Goater <clg at kaod.org>
> Subject: [PATCH 05/10] ARM: dts: ast2600-evb: Add I2C devices
> 
> The EVB has an EEPROM on bus 7 and a LM75 temp sensor on bus 8. Enable
> those busses we can test the I2C driver.
> 
Hello,
	https://github.com/AspeedTech-BMC/linux/blob/aspeed-master-v5.15/arch/arm/boot/dts/aspeed-ast2600-evb.dts#L662-L687
	The eeprom is under the same bus with bus#7. Please add in bus#7.
	Bus#8 have LM75. Not have eeprom.

> Signed-off-by: Joel Stanley <joel at jms.id.au>
> ---
>  arch/arm/dts/ast2600-evb.dts | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/dts/ast2600-evb.dts b/arch/arm/dts/ast2600-evb.dts
> index 0d650543134a..cee787ecc0eb 100644
> --- a/arch/arm/dts/ast2600-evb.dts
> +++ b/arch/arm/dts/ast2600-evb.dts
> @@ -174,6 +174,11 @@
> 
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_i2c8_default>;
> +
> +	temp at 2e {
> +		compatible = "adi,adt7490";
> +		reg = <0x2e>;
> +	};
>  };
> 
>  &i2c8 {
> @@ -181,6 +186,12 @@
> 
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_i2c9_default>;
> +
> +	eeprom at 50 {
> +		compatible = "atmel,24c08";
> +		reg = <0x50>;
> +		pagesize = <16>;
> +	};
>  };
> 
>  &mdio0 {
> --
> 2.35.1



More information about the U-Boot mailing list