summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChanh Nguyen <chanh@os.amperecomputing.com>2024-08-06 09:18:05 +0200
committerJoel Stanley <joel@jms.id.au>2024-08-22 05:37:15 +0200
commitf689462fcd5dc6af32332cb8bf733582434de999 (patch)
treed31b98cc4986ff98aa6c2bcd7de8f271d5528c1c /arch
parentARM: dts: aspeed: mtmitchell: Add Riser cards (diff)
downloadlinux-f689462fcd5dc6af32332cb8bf733582434de999.tar.xz
linux-f689462fcd5dc6af32332cb8bf733582434de999.zip
ARM: dts: aspeed: mtmitchell: Enable i2c10 and i2c15
Enable the BMC I2C10. Enable the BMC I2C15 and add the GPIO Expander as a child node. Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> Link: https://lore.kernel.org/r/20240806071806.1666550-5-chanh@os.amperecomputing.com Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
index 4d2f6e5348ce..3111f23e56dc 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
@@ -890,6 +890,10 @@
};
};
+&i2c10 {
+ status = "okay";
+};
+
&i2c11 {
status = "okay";
ssif-bmc@10 {
@@ -912,6 +916,25 @@
};
};
+&i2c15 {
+ status = "okay";
+ gpio_expander1: gpio-expander@22 {
+ compatible = "nxp,pca9535";
+ reg = <0x22>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-line-names =
+ "fan-fault","psu-fault",
+ "","",
+ "","",
+ "","",
+ "","",
+ "","",
+ "","",
+ "","";
+ };
+};
+
&adc0 {
status = "okay";