arm64: dts: imx8mp: Describe CSI2 GPIO expander on i.MX8MP DHCOM PDK3 board
authorMarek Vasut <marex@denx.de>
Tue, 19 Mar 2024 04:37:09 +0000 (05:37 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 2 Apr 2024 03:03:40 +0000 (11:03 +0800)
The production PDK3 carrier board rev.200 contains additional GPIO
expander to control power and reset signals for each CSI2 plug
separately. Describe this expander in the carrier board DT. The
label is used by sensor DTOs to reference the expander and its
signals.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts

index b749e28e5ede5cf85f309f2f7903ebee44b41f98..ac7ec7533a3c8c7b28ec1e75616b55735ba9b306 100644 (file)
                                VDDIO-supply = <&reg_vdd_3p3v_awo>;
                        };
 
+                       csi2exp: gpio@24 {
+                               compatible = "nxp,pca9570";
+                               reg = <0x24>;
+                               gpio-controller;
+                               #gpio-cells = <2>;
+                               gpio-line-names =
+                                       "CSI2_#RESET", "CSI2_#PWDN",
+                                       "CSI_#PWDN", "CSI_#RESET";
+                       };
+
                        typec@3d {
                                compatible = "nxp,ptn5150";
                                reg = <0x3d>;