Commit 118e81cb authored by Ken Lin's avatar Ken Lin Committed by Shawn Guo

ARM: dts: imx6q-bx50v3: configure unused pca953x pins

At power on, pca953x GPIO pins are configured as input and may cause
unexpected interrupts. Configure the unused pins as GPO low to
avoid unexpected interrupts.
Signed-off-by: default avatarKen Lin <ken.lin@advantech.com.tw>
Signed-off-by: default avatarAkshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b5ca028f
......@@ -89,3 +89,19 @@ lvds0_out: endpoint {
};
};
};
&pca9539 {
P04 {
gpio-hog;
gpios = <4 0>;
output-low;
line-name = "PCA9539-P04";
};
P05 {
gpio-hog;
gpios = <5 0>;
output-low;
line-name = "PCA9539-P05";
};
};
......@@ -89,3 +89,12 @@ lvds0_out: endpoint {
};
};
};
&pca9539 {
P05 {
gpio-hog;
gpios = <5 0>;
output-low;
line-name = "PCA9539-P05";
};
};
......@@ -183,6 +183,76 @@ pca9539: pca9539@74 {
interrupt-controller;
interrupt-parent = <&gpio2>;
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
P06 {
gpio-hog;
gpios = <6 0>;
output-low;
line-name = "PCA9539-P06";
};
P07 {
gpio-hog;
gpios = <7 0>;
output-low;
line-name = "PCA9539-P07";
};
P10 {
gpio-hog;
gpios = <8 0>;
output-low;
line-name = "PCA9539-P10";
};
P11 {
gpio-hog;
gpios = <9 0>;
output-low;
line-name = "PCA9539-P11";
};
P12 {
gpio-hog;
gpios = <10 0>;
output-low;
line-name = "PCA9539-P12";
};
P13 {
gpio-hog;
gpios = <11 0>;
output-low;
line-name = "PCA9539-P13";
};
P14 {
gpio-hog;
gpios = <12 0>;
output-low;
line-name = "PCA9539-P14";
};
P15 {
gpio-hog;
gpios = <13 0>;
output-low;
line-name = "PCA9539-P15";
};
P16 {
gpio-hog;
gpios = <14 0>;
output-low;
line-name = "PCA9539-P16";
};
P17 {
gpio-hog;
gpios = <15 0>;
output-low;
line-name = "PCA9539-P17";
};
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment