Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp104227imm; Tue, 9 Oct 2018 14:37:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV62ah/mLgDYyUdHUk89BwMLuB+y342gEdrIzre/Y4ykar4z5k++zR71ogxAJ3by5/8fjdGGm X-Received: by 2002:a63:82c6:: with SMTP id w189-v6mr27012787pgd.211.1539121064213; Tue, 09 Oct 2018 14:37:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539121064; cv=none; d=google.com; s=arc-20160816; b=m/VBa3i/dNBiDYa0pcsiUBGsXQWSPirXX1+qMS+9Re4kdO6Y2n8LRi5362hzDKJ5XO X4KB9YdaGQhZUJGV/v6IjJuwZzssZZLU2FciEAGmJlx89Dd9pf4gspdmOxQE5uk41IwJ WkNTi9RMidmStEWtyvctcOAHakuV3O35nbYB6NRk0VWtZrw489r8oIWXR7/FhCDLBnlG zod7u0wsw+94G3/0yChtS3WGF1giqBEGT2o5dYcI3eWSMyrxHctGkSnDrZUu1cahR2dG 5+4pJRf/s0je34K54RCKydzrNpp8uyEN5mTxQQmRFhjeH7+fd6BCwK2KxWkRyaLVwGaS gS9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:organization :mime-version:message-id:date:subject:cc:to:from; bh=hblN8q8gUG/U0aFiotnemC58vA2ZfVizjitRY8gaGxA=; b=Lv7Y3o4tFpLpNnSPOvZB9QSYWqIeRPk+wpW04dDt8M4t1RdchCwhL4SD1XVuTlndB1 WMnVNTQqDYg7qWyrmQRsiPiovJrbezjMiQfDmLDmp0yJnAQGZ+BO1rvZOUNpJCCRSvBz 2D6cfXuw8rMkluYXsU434PhCZZTqB5VZ69T9Qhc+/D8U+cYHhfm3Wwe+zj5o38zcCnPC e8cj6XQqMzKVuH9HAJDqzp8F39hy4Ea2fUbF+xJ7fLiXqZTp/3AcjDl/ubYmmll7lIFH +HC7oywg4pLDeWL1I3SJ2dNP47Gtp0dao6DnuzTdaBt2F/CxulUcxwmtCs2MVXA0lQ3W w5OA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f88-v6si23175208pfe.243.2018.10.09.14.37.27; Tue, 09 Oct 2018 14:37:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727056AbeJJE4A (ORCPT + 99 others); Wed, 10 Oct 2018 00:56:00 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:46343 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbeJJE4A (ORCPT ); Wed, 10 Oct 2018 00:56:00 -0400 Received: by mail-qk1-f193.google.com with SMTP id q12-v6so1933002qkl.13; Tue, 09 Oct 2018 14:37:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :organization:content-transfer-encoding; bh=hblN8q8gUG/U0aFiotnemC58vA2ZfVizjitRY8gaGxA=; b=Utr+w645X5I3/pz4U0NweBRKB9KO/yCRMeZuE2T60mh1Txbhq6xnFI+fhZrFy6H/Ji HbYdljKQyDkn+LfJ33LT27dRJ+Stv/HNA1ZfoXrcycyNzPFB/zgWl9lc400BsWVyJ4y0 Lm4HF6HHaCUzhv7wJb54/j9GcqFfiZFnjV6Mlwp/ovxvYYrq8CDJ5khA+UrYyniAeI3C PA2TU5XulKXdvTOh6nJVq5J9QagJE3gwudnaZtW2Y+8yggFRUD3XZh1aghowPZl06/1f vGhFLqVdt00kb+pkCMio0rIAtlLvSjg8Fsgc8jOo4FWQMyv6ladWYQrrb3bbr61nY2Fd 2RpQ== X-Gm-Message-State: ABuFfohlmQLRtk79xDdua6Xp2P6VgAwYd6vQGR3YsUn0gCKhZyDcIFPh HTURHra8kEcd9Eq/6xKjKcs= X-Received: by 2002:a37:cb8a:: with SMTP id u10-v6mr21968335qkl.324.1539121024074; Tue, 09 Oct 2018 14:37:04 -0700 (PDT) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id g39-v6sm3495200qtc.89.2018.10.09.14.36.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Oct 2018 14:37:03 -0700 (PDT) Received: by localhost.localdomain (sSMTP sendmail emulation); Tue, 09 Oct 2018 18:36:56 -0300 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Cc: Otavio Salvador , devicetree@vger.kernel.org, Heiko Stuebner , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Mark Rutland Subject: [PATCH] ARM: dts: rv1108-evb: enable eMMC support Date: Tue, 9 Oct 2018 18:36:56 -0300 Message-Id: <20181009213656.27719-1-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable eMMC support for rv1108 evaluation board. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108-evb.dts | 8 ++++++++ arch/arm/boot/dts/rv1108.dtsi | 29 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts b/arch/arm/boot/dts/rv1108-evb.dts index 70f0106d1252..f3c6f52c49e6 100644 --- a/arch/arm/boot/dts/rv1108-evb.dts +++ b/arch/arm/boot/dts/rv1108-evb.dts @@ -226,6 +226,14 @@ status = "okay"; }; +&emmc { + cap-mmc-highspeed; + supports-emmc; + non-removable; + num-slots = <1>; + status = "okay"; +}; + &u2phy { status = "okay"; diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 76ea24636feb..f14a733d85f6 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -772,6 +772,35 @@ }; }; + emmc { + emmc_clk: emmc-clk { + rockchip,pins = <2 RK_PB6 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; + }; + + emmc_cmd: emmc-cmd { + rockchip,pins = <2 RK_PB4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; + }; + + emmc_pwren: emmc-pwren { + rockchip,pins = <2 RK_PC2 RK_FUNC_2 &pcfg_pull_none>; + }; + + emmc_bus1: emmc-bus1 { + rockchip,pins = <2 RK_PA0 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; + }; + + emmc_bus8: emmc-bus8 { + rockchip,pins = <2 RK_PA0 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, + <2 RK_PA1 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, + <2 RK_PA2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, + <2 RK_PA3 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, + <2 RK_PA4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, + <2 RK_PA5 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, + <2 RK_PA6 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, + <2 RK_PA7 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; + }; + }; + sdmmc { sdmmc_clk: sdmmc-clk { rockchip,pins = <3 RK_PC4 RK_FUNC_1 &pcfg_pull_none_drv_4ma>; -- 2.19.0