]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: aspeed: mtmitchell: Add I2C temperature sensor alias ports
authorChanh Nguyen <chanh@os.amperecomputing.com>
Tue, 6 Aug 2024 07:18:03 +0000 (07:18 +0000)
committerJoel Stanley <joel@jms.id.au>
Thu, 22 Aug 2024 03:37:14 +0000 (13:07 +0930)
Add the I2C alias ports to read temperature sensors via channels
of the I2C muxes.

Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20240806071806.1666550-3-chanh@os.amperecomputing.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts

index 3a97e88278d506347bd86058c6f7e9f8f1516751..1679911e4fd82cdbc918a1af336812c02e99c75a 100644 (file)
                serial7 = &uart8;
                serial8 = &uart9;
 
+               /*
+                * I2C temperature alias port
+                */
+               i2c20 = &i2c4_bus70_chn0;
+               i2c21 = &i2c4_bus70_chn1;
+               i2c22 = &i2c4_bus70_chn2;
+               i2c23 = &i2c4_bus70_chn3;
+
                /*
                 *  i2c bus 30-31 assigned to OCP slot 0-1
                 */