arm64: dts: k3-am654-base-board: Add I2C GPIO expander @ 0x38
authorAndreas Dannenberg <dannenberg@ti.com>
Tue, 4 Jun 2019 23:08:18 +0000 (18:08 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jul 2019 15:13:18 +0000 (11:13 -0400)
The AM654 base board has a TCA9554/PCA9554-type GPIO expander on the
wkup_i2c0 bus at address 0x38 that is used to detect the presence of
daughter cards.  Add a respective DTS description of this expander
to enable its use.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/dts/k3-am654-base-board.dts

index 248d60e89b77575ab74d05f0d9fe7ef2a9d5847d..e73b9aa6b1a81c19c1000d18a59388917bd0b0fd 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&wkup_i2c0_pins_default>;
        clock-frequency = <400000>;
+
+       tca9554: gpio@38 {
+               compatible = "nxp,pca9554";
+               reg = <0x38>;
+               gpio-controller;
+               #gpio-cells = <2>;
+       };
 };