Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp125972yba; Tue, 14 May 2019 21:05:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzj3WpsxD8Lj0zFpFMomWzMCRInjxYVswnDWFJWG+jXXncDn8xbEZmksjbeyIFlbLYlGiHL X-Received: by 2002:a65:62c4:: with SMTP id m4mr41718190pgv.308.1557893142744; Tue, 14 May 2019 21:05:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557893142; cv=none; d=google.com; s=arc-20160816; b=swzqWWdjZHZpYRgQ1N6hOQFcsTJclm5D4lQBLawUJxdsot8k0iy2uBQCHbBI+MgZ87 Iu8xs1uoi5fwLkTxqoodbitefOZO9AWLkwmoOyH0F57pylmuRQeh+nbJcBG+/qUpwEYs pwr7TItie0Ch8/xlpejuT3JahdgWKIisXoa25pUeeHTUvCK+hIqh8+R4vOQ43WR9t69o f5M8+J8ZxuPPuiv/DhJDwg5jkT5j3TNwg+7J4nNGt0Aov2zv9oIYpJiihLlkBo++n9rn 8sz04Fm2gJQVQfOIYA0f85USP/sBO7U+lk8XaehnTDpVixykOX9LnR8OVV3sJvQYV2QF 7Neg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=T/wBaaPU6i5M4TROhk47nmmFwsTLLaC4doww5vWywPk=; b=HlWuQfkUHf0VqeOJwbJL1MikwiGHnQmsgtLw3vG9RG0U+7hne/4Q+PaN2xMUjOPjTI Vyo1VtvtRpT8U1mLIAzxjQwUgMT41MASgyRVBNaEhIxuNbJPb6Jbi9MmAeIM3HDuTp/5 jbV2yxRMu1ptRhVM1GO+4aESP3+ohk93jvLBEbhAZ8QUtqfmzgLg7TQC2oqi4ZQwEBbL buCVVGlenA8j/+Hw6qV+rVPKC8D32OS0wlOIdm8fId1h96tepo4lGkBctqwx8Ob5fdwo T2X++qggQBoRpLtixAT5j6ic6FxIkXbfFYjkph/odksqSpr99S3XFp9ujZM0qPrCvrHH ADvw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h68si814531pgc.270.2019.05.14.21.04.23; Tue, 14 May 2019 21:05:42 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726296AbfEOD7F (ORCPT + 99 others); Tue, 14 May 2019 23:59:05 -0400 Received: from inva020.nxp.com ([92.121.34.13]:52712 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726201AbfEOD7F (ORCPT ); Tue, 14 May 2019 23:59:05 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A068A1A0170; Wed, 15 May 2019 05:59:03 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id EE9DC1A00B9; Wed, 15 May 2019 05:58:57 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id B762540302; Wed, 15 May 2019 11:58:50 +0800 (SGT) From: Yinbo Zhu To: Shawn Guo , Li Yang , Rob Herring Cc: yinbo.zhu@nxp.com, xiaobo.xie@nxp.com, Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, yangbo.lu@nxp.com, jiafei.pan@nxp.com, Ashish Kumar Subject: [PATCH v2] arm64: dts: ls1028a: Add esdhc node in dts Date: Wed, 15 May 2019 12:00:46 +0800 Message-Id: <20190515040046.9230-1-yinbo.zhu@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ashish Kumar This patch is to add esdhc node and enable SD UHS-I, eMMC HS200 for ls1028ardb/ls1028aqds board. Signed-off-by: Ashish Kumar Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu --- Change in v2: Update the patch title Add a commont in dts code arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 8 ++++++ arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 13 ++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 27 +++++++++++++++++++++ 3 files changed, 48 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts index 14c79f4..180e5d2 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts @@ -42,6 +42,14 @@ status = "okay"; }; +&esdhc { + status = "okay"; +}; + +&esdhc1 { + status = "okay"; +}; + &i2c0 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index f86b054..1bfaf42 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -30,6 +30,19 @@ }; }; +&esdhc { + status = "okay"; + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; + }; + +&esdhc1 { + status = "okay"; + mmc-hs200-1_8v; + }; + &i2c0 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 2896bbc..5c7546f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -274,6 +274,33 @@ status = "disabled"; }; + esdhc: esdhc@2140000 { + compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; + reg = <0x0 0x2140000 0x0 0x10000>; + interrupts = <0 28 0x4>; /* Level high type */ + clock-frequency = <0>; /* fixed up by bootloader */ + clocks = <&clockgen 2 1>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + little-endian; + bus-width = <4>; + status = "disabled"; + }; + + esdhc1: esdhc@2150000 { + compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; + reg = <0x0 0x2150000 0x0 0x10000>; + interrupts = <0 63 0x4>; /* Level high type */ + clock-frequency = <0>; /* fixed up by bootloader */ + clocks = <&clockgen 2 1>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + broken-cd; + little-endian; + bus-width = <4>; + status = "disabled"; + }; + sata: sata@3200000 { compatible = "fsl,ls1028a-ahci"; reg = <0x0 0x3200000 0x0 0x10000>, -- 1.7.1