]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: harma: add fan board I/O expander
authorPeter Yin <peteryin.openbmc@gmail.com>
Wed, 11 Jun 2025 08:05:11 +0000 (16:05 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Fri, 4 Jul 2025 03:58:25 +0000 (13:28 +0930)
Add GPIO I/O expander node for the fan board to detect and monitor
fan board status.

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

index 3a215bb1e2207c585cf5b978371169441e77f5f4..344e20394665cfc9b75df5eeeef71791896c748a 100644 (file)
                compatible = "ti,tmp75";
                reg = <0x4b>;
        };
+
+       gpio@12 {
+               compatible = "nxp,pca9555";
+               reg = <0x12>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&sgpiom0>;
+               interrupts = <116 IRQ_TYPE_LEVEL_LOW>;
+
+               gpio-line-names =
+               "","",
+               "","",
+               "","",
+               "","",
+               "","",
+               "","",
+               "","fcb1-activate",
+               "","";
+       };
 };
 
 &i2c1 {
                compatible = "ti,tmp75";
                reg = <0x4b>;
        };
+
+       gpio@12 {
+               compatible = "nxp,pca9555";
+               reg = <0x12>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-parent = <&sgpiom0>;
+               interrupts = <114 IRQ_TYPE_LEVEL_LOW>;
+
+               gpio-line-names =
+               "","",
+               "","",
+               "","",
+               "","",
+               "","",
+               "","",
+               "","fcb0-activate",
+               "","";
+       };
 };
 
 &i2c3 {