[v3,4/4] ARM: dts: aspeed: bonnell: Add DIMM SPD

Message ID 20230322140348.569397-5-eajames@linux.ibm.com
State New
Headers
Series eeprom: ee1004: Enable devices on multiple busses |

Commit Message

Eddie James March 22, 2023, 2:03 p.m. UTC
  Add the DIMM SPD to the processor I2C busses.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
  

Comments

Joel Stanley March 27, 2023, 12:46 a.m. UTC | #1
On Wed, 22 Mar 2023 at 14:04, Eddie James <eajames@linux.ibm.com> wrote:
>
> Add the DIMM SPD to the processor I2C busses.
>
> Signed-off-by: Eddie James <eajames@linux.ibm.com>

Reviewed-by: Joel Stanley <joel@jms.id.au>

I will take this through the aspeed tree.

> ---
>  arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
> index 79516dc21c01..ab99d915b50e 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
> @@ -232,18 +232,38 @@ cfam0_i2c1: i2c-bus@1 {
>
>                         cfam0_i2c10: i2c-bus@a {
>                                 reg = <10>;     /* OP3A */
> +
> +                               eeprom@50 {
> +                                       compatible = "atmel,at30tse004a";
> +                                       reg = <0x50>;
> +                               };
>                         };
>
>                         cfam0_i2c11: i2c-bus@b {
>                                 reg = <11>;     /* OP3B */
> +
> +                               eeprom@50 {
> +                                       compatible = "atmel,at30tse004a";
> +                                       reg = <0x50>;
> +                               };
>                         };
>
>                         cfam0_i2c12: i2c-bus@c {
>                                 reg = <12>;     /* OP4A */
> +
> +                               eeprom@50 {
> +                                       compatible = "atmel,at30tse004a";
> +                                       reg = <0x50>;
> +                               };
>                         };
>
>                         cfam0_i2c13: i2c-bus@d {
>                                 reg = <13>;     /* OP4B */
> +
> +                               eeprom@50 {
> +                                       compatible = "atmel,at30tse004a";
> +                                       reg = <0x50>;
> +                               };
>                         };
>
>                         cfam0_i2c14: i2c-bus@e {
> --
> 2.31.1
>
  

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
index 79516dc21c01..ab99d915b50e 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
@@ -232,18 +232,38 @@  cfam0_i2c1: i2c-bus@1 {
 
 			cfam0_i2c10: i2c-bus@a {
 				reg = <10>;	/* OP3A */
+
+				eeprom@50 {
+					compatible = "atmel,at30tse004a";
+					reg = <0x50>;
+				};
 			};
 
 			cfam0_i2c11: i2c-bus@b {
 				reg = <11>;	/* OP3B */
+
+				eeprom@50 {
+					compatible = "atmel,at30tse004a";
+					reg = <0x50>;
+				};
 			};
 
 			cfam0_i2c12: i2c-bus@c {
 				reg = <12>;	/* OP4A */
+
+				eeprom@50 {
+					compatible = "atmel,at30tse004a";
+					reg = <0x50>;
+				};
 			};
 
 			cfam0_i2c13: i2c-bus@d {
 				reg = <13>;	/* OP4B */
+
+				eeprom@50 {
+					compatible = "atmel,at30tse004a";
+					reg = <0x50>;
+				};
 			};
 
 			cfam0_i2c14: i2c-bus@e {