Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753946AbbLJUdH (ORCPT ); Thu, 10 Dec 2015 15:33:07 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:55806 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752425AbbLJUdD (ORCPT ); Thu, 10 Dec 2015 15:33:03 -0500 From: Karsten Merker To: Maxime Ripard , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, dev@linux-sunxi.org Cc: linux-kernel@vger.kernel.org, Hans de Goede , Rob Herring , Ian Campbell , Karsten Merker Subject: [PATCH 2/3] ARM: dts: sun7i: Olimex A20-SOM-EVB: Enable mmc3 (baseboard SD socket) Date: Thu, 10 Dec 2015 21:32:00 +0100 Message-Id: <1449779521-754-3-git-send-email-merker@debian.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1449779521-754-1-git-send-email-merker@debian.org> References: <1449779521-754-1-git-send-email-merker@debian.org> X-Provags-ID: V03:K0:eTKiEdZosGBaNGEZjzU3UOc852/iu2SIVvmtWJMp1I6MsXqLJZr 0HrXHUI9Qua9lhp/Ul7F+OuQyQglEJPvEBy4nsCyIFBO/KEkqRYvaQq/QX7z7KORMNM5XIl Xbg7wwW4dhI5PdTvnWJbfNjBdovt6a+IQ2sGjdeWKaMp5yoVUpH/uXsblRe8kSp48qD7PHd N5v3ImZDc3EOpIGAp9oAw== X-UI-Out-Filterresults: notjunk:1;V01:K0:HN7AloRslOs=:hQae0C2iDbACbkN9nYblwJ AWNT05vxivau1nIlUKUQAg1QGS5sIKlHaTvlZ9fIZRyOJxgpNKobsQieYWuF1+wXMNOlM2HhT 0jO+sNbS8j2IaPVvwE+TpThUfu9EphtVlhryVjeyRT2S7YJzKO5liDtfCk01Wl7H+iltl7/Ax z69WhON8tnsOZ2UH0LylQ93QHmLfk9OirqSErNgmihElgG/KsZNQKc7sMAEsTdn3dr9jpITXR gNuZho0FbyutgjCPYGQLx8CCyOCBxv6morOERqbrlF99Eye1L3V5mRj3wmppE79ooJLIc7g7U BjXbOeiheJ/BYsrjzzYDholqqjefGrLvz6ZQ4zUxtDjrd6Sr6M3FvaQpSWF2pKCxcdjpvnQTL lWVgd8pODFDzsWtNNlUk3guQOVYktG/phIrpbmi7YEFeHTMp6qt+lqiIrXFiLiBm1Gl2AwdyH J3E6PZ27lDL97ZpzCP+8Z80raDeea462lLHmJAlxucojxvAtajLoEId+bF2KoXWLeXntyZily rTxueDSfMs+nhWD9QalAdk/UNYeG9NQvo0YQrImkst2PseuDHKdhOPwzQfuElufcgygrDBrDA zufnXmnJmNmjzUqRnVbKy/tfLTi0VXirPwOe6iGi2CJBJtjvqQVTG7NuKseXr5usD4Zq5Riev mH0WTtskDswsRwRfcqv+cV8Z9xuOkGVDP1vtY+d+NpReXWYygJcbhZpvk9qfibrFKBbA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1599 Lines: 55 The Olimex A20-SOM-EVB is an evaluation board for the Olimex A20-SOM system-on-module. The baseboard provides a full-size SD socket (connected to mmc3) in addition to the micro-SD socket on the SOM itself (which is connected to mmc0). Enable the mmc3 controller in the dts. Signed-off-by: Karsten Merker --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts index 6562a6bc..6a3d95d 100644 --- a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts +++ b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts @@ -176,6 +176,16 @@ status = "okay"; }; +&mmc3 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc3_pins_a>, <&mmc3_cd_pin_olimex_som_evb>; + vmmc-supply = <®_vcc3v3>; + bus-width = <4>; + cd-gpios = <&pio 7 0 GPIO_ACTIVE_HIGH>; /* PH0 */ + cd-inverted; + status = "okay"; +}; + &ohci0 { status = "okay"; }; @@ -198,6 +208,13 @@ allwinner,drive = ; allwinner,pull = ; }; + + mmc3_cd_pin_olimex_som_evb: mmc3_cd_pin@0 { + allwinner,pins = "PH0"; + allwinner,function = "gpio_in"; + allwinner,drive = ; + allwinner,pull = ; + }; }; ®_ahci_5v { -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/