summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Riedmueller <s.riedmueller@phytec.de>2019-12-11 11:59:20 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-12 08:22:44 +0100
commitc1e22c7c8d93c4cd58de7626375d459b539af3bb (patch)
tree07c2a8481d404e664e44cff8f9f09beefdbee44e
parentcaadc725fd5bf139e3537ea63fb664bcd3a00d79 (diff)
downloadbarebox-c1e22c7c8d93c4cd58de7626375d459b539af3bb.tar.gz
ARM: dts: imx6: phycard: Use gpio binding constants
Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
index f17ba7bf80..892bce1fc0 100644
--- a/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi
@@ -4,6 +4,8 @@
* Author: Christian Hemp <c.hemp@phytec.de>
*/
+#include <dt-bindings/gpio/gpio.h>
+
/ {
chosen {
environment-nand {
@@ -155,7 +157,7 @@
&usdhc3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc3>;
- cd-gpios = <&gpio5 22 0>;
+ cd-gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>;
status = "disabled";
partitions {