From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Mon, 16 Jul 2018 13:49:42 +0530 Subject: [U-Boot] [PATCH 11/25] ARM: dts: sun7i: Add mmc0 node for Toptech BD1078 In-Reply-To: <20180716081956.32434-1-jagan@amarulasolutions.com> References: <20180716081956.32434-1-jagan@amarulasolutions.com> Message-ID: <20180716081956.32434-12-jagan@amarulasolutions.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Since SUN7I moved to DM_MMC, we need to have mmc node in Toptech BD1078 DT otherwise it will not probe. Cc: Paul Kocialkowski Signed-off-by: Jagan Teki --- arch/arm/dts/sun7i-a20-yones-toptech-bd1078.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/sun7i-a20-yones-toptech-bd1078.dts b/arch/arm/dts/sun7i-a20-yones-toptech-bd1078.dts index f1fb97d3fb..89c8cf60b1 100644 --- a/arch/arm/dts/sun7i-a20-yones-toptech-bd1078.dts +++ b/arch/arm/dts/sun7i-a20-yones-toptech-bd1078.dts @@ -7,6 +7,9 @@ /dts-v1/; #include "sun7i-a20.dtsi" +#include "sunxi-common-regulators.dtsi" +#include +#include / { model = "Yones Toptech BD1078"; @@ -21,6 +24,16 @@ }; }; +&mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + vmmc-supply = <®_vcc3v3>; + bus-width = <4>; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ + cd-inverted; + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; -- 2.17.1