summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChristoph Fritz <chf.fritz@googlemail.com>2020-03-09 19:50:12 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-03-11 16:04:47 +0100
commit22598cc17539d30f3e56c67eff3d60a0a7d9df4c (patch)
treeef7e479c48daea2d162124995bab90d80dfce04b /arch
parent72ba815bf6feaa0a98d2496f52784dd5b4258e73 (diff)
downloadbarebox-22598cc17539d30f3e56c67eff3d60a0a7d9df4c.tar.gz
barebox-22598cc17539d30f3e56c67eff3d60a0a7d9df4c.tar.xz
ARM: dts: advantech-rom-7421: fix sd-card cd pin
Enable possibility to auto detect sd-card insertion on Advantech ROM-7421, this patch sets a necessary gpio to active-low. Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/dts/imx6dl-advantech-rom-7421.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/dts/imx6dl-advantech-rom-7421.dts b/arch/arm/dts/imx6dl-advantech-rom-7421.dts
index cdf378114a..22ce744307 100755
--- a/arch/arm/dts/imx6dl-advantech-rom-7421.dts
+++ b/arch/arm/dts/imx6dl-advantech-rom-7421.dts
@@ -100,7 +100,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc2>;
bus-width = <8>;
- cd-gpios = <&gpio2 0 0>;
+ cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
status = "okay";
#address-cells = <1>;
@@ -121,9 +121,9 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc3>;
bus-width = <4>;
- cd-gpios = <&gpio2 1 0>;
- en-gpios = <&gpio2 2 0>;
- wp-gpios = <&gpio2 3 0>;
+ cd-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
+ en-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
+ wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
status = "okay";
};