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

[C61] add gpio expander PCA6416 support

parent fea3f727
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,17 @@ ...@@ -48,6 +48,17 @@
enable-active-high; enable-active-high;
}; };
reg_gpio_exp_rst: gpio_exp_reset {
compatible = "regulator-fixed";
regulator-name = "GPIO_EXPANDER_RST";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
regulator-always-on;
};
sound-micfil { sound-micfil {
compatible = "fsl,imx-audio-micfil"; compatible = "fsl,imx-audio-micfil";
model = "imx-audio-micfil"; model = "imx-audio-micfil";
...@@ -270,6 +281,32 @@ ...@@ -270,6 +281,32 @@
status = "okay"; status = "okay";
}; };
&i2c4 {
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c4>;
status = "okay";
pca6416_20: gpio@20 {
compatible = "nxp,pcal6416";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pca6416_20>;
interrupt-parent = <&gpio4>;
interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
};
pca6416_21: gpio@21 {
compatible = "ti,tca6416";
reg = <0x21>;
gpio-controller;
#gpio-cells = <2>;
gpio-line-names = "", "blue_led", "red_led", "", "", "green_led";
};
};
&csi1_bridge { &csi1_bridge {
fsl,mipi-mode; fsl,mipi-mode;
status = "disabled"; status = "disabled";
......
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