]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: harma: add mmc health
authorPeter Yin <peteryin.openbmc@gmail.com>
Wed, 11 Jun 2025 08:05:14 +0000 (16:05 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Fri, 4 Jul 2025 03:58:25 +0000 (13:28 +0930)
Add a GPIO expander node at address 0x13 on i2c11 bus
to monitor MMC health status via a dedicated GPIO line.

Signed-off-by: Peter Yin <peteryin.openbmc@gmail.com>
Link: https://patch.msgid.link/20250611080514.3123335-6-peteryin.openbmc@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts

index fb026c8fb0ee51c737a444a7d2772d3938678d94..b9a93f23bd0ae1e64a04835adee2376f33b56882 100644 (file)
 &i2c11 {
        status = "okay";
 
+       gpio@13 {
+               compatible = "nxp,pca9555";
+               reg = <0x13>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&sgpiom0>;
+               interrupts = <222 IRQ_TYPE_LEVEL_LOW>;
+
+               gpio-line-names =
+               "","",
+               "","",
+               "","",
+               "","health-mmc",
+               "","",
+               "","",
+               "","",
+               "","";
+       };
+
        gpio@30 {
                compatible = "nxp,pca9555";
                reg = <0x30>;