ARM: dts: aspeed: ast2600-evb: Update I2C devices
authorJoel Stanley <joel@jms.id.au>
Thu, 23 Jun 2022 09:47:17 +0000 (19:17 +0930)
committerJoel Stanley <joel@jms.id.au>
Thu, 18 Aug 2022 06:24:04 +0000 (16:24 +1000)
The AST2600A3 EVB has the following I2C devices:

 - ADT7490 at 0x2e
 - EEPROM at 0xa0
 - LM75 at 0x9a

The bus these devices appear on can be configured by jumpers. The device
tree is configured with the buses given by the default jumper settings.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>
Link: https://lore.kernel.org/r/20220623094717.3873328-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-ast2600-evb.dts

index c698e653826937f0fb5566140abf42277585bdd7..14dbeaee7ee335d778e4588619d6ce65ef151f0f 100644 (file)
 
 &i2c0 {
        status = "okay";
-
-       temp@2e {
-               compatible = "adi,adt7490";
-               reg = <0x2e>;
-       };
 };
 
 &i2c1 {
 
 &i2c7 {
        status = "okay";
+
+       temp@2e {
+               compatible = "adi,adt7490";
+               reg = <0x2e>;
+       };
+
+       eeprom@50 {
+               compatible = "atmel,24c08";
+               reg = <0x50>;
+               pagesize = <16>;
+       };
 };
 
 &i2c8 {
        status = "okay";
+
+       lm75@4d {
+               compatible = "national,lm75";
+               reg = <0x4d>;
+       };
 };
 
 &i2c9 {