diff options
author | Fabio Estevam <festevam@gmail.com> | 2021-12-18 18:10:21 -0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-08 11:16:03 -0500 |
commit | 6869bab6a11e20b2f70bef5d286111a57b82e227 (patch) | |
tree | b45ab484761565d54905f8c879248cad1712ed83 | |
parent | 11907cb5cfbb30ab3923d10a874aee0bde8ec64c (diff) | |
download | u-boot-6869bab6a11e20b2f70bef5d286111a57b82e227.zip u-boot-6869bab6a11e20b2f70bef5d286111a57b82e227.tar.gz u-boot-6869bab6a11e20b2f70bef5d286111a57b82e227.tar.bz2 |
ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
GPIO7_IO00 is used as SD card detect.
Properly describe this in the devicetree.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
-rw-r--r-- | arch/arm/dts/imx6qdl-udoo.dtsi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/dts/imx6qdl-udoo.dtsi b/arch/arm/dts/imx6qdl-udoo.dtsi index d07d8f8..2d0d102 100644 --- a/arch/arm/dts/imx6qdl-udoo.dtsi +++ b/arch/arm/dts/imx6qdl-udoo.dtsi @@ -4,7 +4,7 @@ * * Author: Fabio Estevam <fabio.estevam@freescale.com> */ - +#include <dt-bindings/gpio/gpio.h> / { aliases { backlight = &backlight; @@ -226,6 +226,7 @@ MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 + MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 >; }; @@ -304,7 +305,7 @@ &usdhc3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc3>; - non-removable; + cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; status = "okay"; }; |