Skip to content
Snippets Groups Projects
Commit f4d9ae56 authored by Gianfranco Mariotti's avatar Gianfranco Mariotti
Browse files

[D18] enable gpio expander PCAL6416

parent f018cc0b
No related merge requests found
......@@ -54,6 +54,17 @@
regulator-always-on;
};
reg_pca6416_20: regulator-pca6416-20-pwr {
compatible = "regulator-fixed";
regulator-name = "pca6416-20-pwr";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
regulator-boot-on;
};
bt_sco_codec: bt_sco_codec {
};
......@@ -314,10 +325,16 @@
status = "okay";
pca6416: gpio@20 {
compatible = "ti,tca6416";
compatible = "nxp,pcal6416";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pca6416_20>;
interrupt-parent = <&gpio1>;
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
};
ov5640_1: ov5640_mipi@3c {
......@@ -569,6 +586,15 @@
MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c3
MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000019
MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000019
/* GPIO expander 0x20 */
MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x40000
>;
};
pinctrl_pca6416_20: pca641620 {
fsl,pins = <
MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01 0x0
>;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment