diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2019-06-11 16:13:38 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-06-12 00:55:50 -0700 |
commit | 2cdc9c200de7b320d2b36ed2212ef92d34764366 (patch) | |
tree | 113fa3d447ec20575ede92b1236e053b76b4c9d6 /arch/arm/boot/dts/am335x-baltos-ir2110.dts | |
parent | 79499bb11db50877862331960260f981ec49668d (diff) |
ARM: dts: am335x-baltos: add support for MMC1 CD pin
Baltos 5221/3220 devices provide CD signal on GPIO2_18.
Baltos 2110 device provides CD signal on GPIO1_15.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-baltos-ir2110.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-baltos-ir2110.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-baltos-ir2110.dts b/arch/arm/boot/dts/am335x-baltos-ir2110.dts index f127af2afd00..f40fd55970dd 100644 --- a/arch/arm/boot/dts/am335x-baltos-ir2110.dts +++ b/arch/arm/boot/dts/am335x-baltos-ir2110.dts @@ -33,6 +33,12 @@ AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) /* lcd_ac_bias_en.gpio2[25] RI */ >; }; + + mmc1_pins: pinmux_mmc1_pins { + pinctrl-single,pins = < + AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT, MUX_MODE7) /* MMC1 CD */ + >; + }; }; &uart1 { @@ -72,3 +78,9 @@ dual_emac_res_vlan = <2>; phy-handle = <&phy1>; }; + +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; + cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; +}; |