Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4939529imu; Sun, 25 Nov 2018 13:16:08 -0800 (PST) X-Google-Smtp-Source: AJdET5fCwOYJvaJDAJkGtXAMROZdyGlS7o4N29uj4YqU3e1zf17F6M6MF7Z/a8VrUBHGIeWx2bcL X-Received: by 2002:a62:848d:: with SMTP id k135mr24420072pfd.47.1543180568739; Sun, 25 Nov 2018 13:16:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543180568; cv=none; d=google.com; s=arc-20160816; b=qYAt3fUOuGadYNjaf5XW3rDaweADX4AfQJ/9tX6u+YrYKixCx98kr07xw/uNX63LNK Ckx3C7GzW0SaZmjfNAw0uNWa8NsLYNepbGLd+YsRoXoOqWTrkr5ebT9HMHuWMmrS1HFp sG6cAcFZytbTAd7UT+vmegHFSjW3+0ACFlEYBiWMEoWCR1GKSPaU1F4ZZljBnzMgboy1 Fykx6CBJkBU0tjDCBea9XcxdZgkRKYmDoJLONOncbvvlnVxyyqP+T8RDxdEDCVXJV8cz 3MLNLA597eCuOCKQuBsdnisHx9PwGDTn8xHxJ0O0frgP6dlsz9SJGN1E38GyQpr06+hc qzyA== 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=aYfajAnnLcz/9Kt8brXteTgaaCgo35dcBQZALcVEwrc=; b=ZTqFwKPQHG7Hwe4pgUhpIdKjmz1rlpTtp/xXNsCTVGAkA07oVAczl6Pl1udpjhHhxr Ih+I8mdTj5WAAiB4R92bmGVE0Vqkl0MHodvQdeNUxG9i6XFL9Z2s1TuUWibpfEVA/1Ve mEEVLax6aSDU08EZzrzy4xqg2dpJaMazCwwC8be721HiSgFQGKCyfMdLVIlbDJhfmJeP cJkn1uLJTK9Typ69WAqbubvBFDXMMP7zme/hmC9IS9PXWLE/0VZh3OGjND8J310lAL07 SDaa3ET3d3S7MMa0o3y4xzbTc9xTdexZ+7SHsm/O01K5rFmAYyBzLFpz+97vplhrO5oW EOeQ== 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 35si13320146plf.177.2018.11.25.13.15.40; Sun, 25 Nov 2018 13:16:08 -0800 (PST) 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 S1726060AbeKZIGl (ORCPT + 99 others); Mon, 26 Nov 2018 03:06:41 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:39741 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725910AbeKZIGl (ORCPT ); Mon, 26 Nov 2018 03:06:41 -0500 Received: by mail-qt1-f195.google.com with SMTP id n21so15466443qtl.6; Sun, 25 Nov 2018 13:14:43 -0800 (PST) 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=aYfajAnnLcz/9Kt8brXteTgaaCgo35dcBQZALcVEwrc=; b=rrHfuT51nDM4hKDKUYUgb1zyN28N48Os7RFP+UYmDyQgkazPxx5Uf81V8b/bv+xzOV LXhuTS5bPIrUF/BxGLCjp2II9n1lFOZ+s+wyoXGmOHa8BN0QmSAoBaRZDjYVz+7vol6s OLmBlPlcCGsuLM81j/XeMrCOTkXGxCQ2Eu6wESi9wpDjzlclHuNsNnG5HffACoNPUXzy PD5cjplxCjshwp8U1iqaIZ+6UrWqiZg+IwnwJPv3a4gYofkBdfS1zYKa7EKt6gyQk3uY LA94eOidKgkkvoMFD62SQpznKHTOlXAttQRmBapM8FF35teEMVuu2w8O32/0+z0IuAAv Mo3A== X-Gm-Message-State: AGRZ1gJOjbm7zEQj6tfzJfTlYJvlhcmdpFnuCAR8esS/VhalZArWYsAT Vd4PzcjqmpAHL0itL5jykqZaS+f5 X-Received: by 2002:ac8:2ca9:: with SMTP id 38mr23732002qtw.338.1543180482405; Sun, 25 Nov 2018 13:14:42 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id b20sm33864725qkb.17.2018.11.25.13.14.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:14:41 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:14:35 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Otavio Salvador , devicetree@vger.kernel.org, Heiko Stuebner , Rob Herring , Mark Rutland Subject: [PATCH v2] ARM: dts: rv1108: enable eMMC support Date: Sun, 25 Nov 2018 19:14:27 -0200 Message-Id: <20181125211427.4926-1-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 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.dtsi as it can be used across multiple boards. Signed-off-by: Otavio Salvador --- Changes in v2: - rework evb device tree (Heiko Stuebner) - avoid adding the evb use as it is not present on evb but minievb (which I don't have to test) and we are using it on a custom customer board. arch/arm/boot/dts/rv1108.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index ed8f6ca52c5b..4f4275599f7a 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -734,6 +734,27 @@ }; }; + 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_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.1