Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2581591ybh; Mon, 5 Aug 2019 03:25:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4nokC5r2FpoYVr4dmXltj2PU+QSTwZyrXfydOXWzz2TZ7Ij+6dBbDNB2Gb2/GlSZEMNNF X-Received: by 2002:a63:5f95:: with SMTP id t143mr75381282pgb.304.1565000715696; Mon, 05 Aug 2019 03:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565000715; cv=none; d=google.com; s=arc-20160816; b=K6Vsr+V3pT3WsKNUx3+uLhQHB7sHHrVmPFzm2Hm9IoRoybfSk3/V9629ZqUlDk9218 pW4v0LXQXS+/kYmn1RSuJdM1uNnpwRtWX6+U5CrnKar6yf27PSuNL8tp+nAYLcbQHK/s OSC2R3z+t6LOxigv+O/3PAkK1uYPAknGyDrKmJyzZIy/WFSKYw1t80ZTly+q6ndedqcm WRFLSvDbnoCzDC2eEAQBznOYvtYcTReohVmjsWLYQ5Dk32X3SDHtCMeaYo2Z/7amJil+ WT/JMLRLxPrpKuq7bMHNiQ+u3ldkw9ju7lKgHBpE838twBtK9hpc1DLDpIbOiHyW1Kg5 POTA== 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=kiu7tsJEshi+yHXaOBylKS02GwpsquM6Wvgx3OzNx3E=; b=w6C4vv0+8W5cbxq6tdpMjjLI7dUmRLRD1CzVsY+t3+UurcrNDmdyLnlte6aUcVJ4eB CJUjcg0zLUURVBUwUeP9cooMFo9ardcddUBPd4z/yrxEVrN+V9tDmV5cEixw4qIdLMUV azuE6BaykmD2N2V7G/mhxqhnmpHjKEk1u/BuGlQSS0cEhB51UrkHMW8fpbmuvy5tk5xy n29LaN7zFyoYmTupL236d18kA1Gt95cIFbh861lb589m8jGRZMlfOs2iqNZrWBOmo2Hg Q9xbh+gnEzUYAg3jAiMTdUozoA63sNRTGR0o4fkHrtTLqvjvrucqll+DrmihT9oDw2oD 1X2A== 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 r13si45440703pgn.420.2019.08.05.03.24.59; Mon, 05 Aug 2019 03:25:15 -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 S1728113AbfHEKYC (ORCPT + 99 others); Mon, 5 Aug 2019 06:24:02 -0400 Received: from inva020.nxp.com ([92.121.34.13]:54060 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727158AbfHEKYC (ORCPT ); Mon, 5 Aug 2019 06:24:02 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2D2D11A00F6; Mon, 5 Aug 2019 12:23:59 +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 7250E1A00F5; Mon, 5 Aug 2019 12:23:52 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 1B366402B5; Mon, 5 Aug 2019 18:23:44 +0800 (SGT) From: Yinbo Zhu To: Shawn Guo , Li Yang , Rob Herring Cc: yinbo.zhu@nxp.com, xiaobo.xie@nxp.com, jiafei.pan@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, Ashish Kumar Subject: [PATCH v4] arm64: dts: ls1028a: Add esdhc node in dts Date: Mon, 5 Aug 2019 18:26:41 +0800 Message-Id: <20190805102641.3732-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 v4: put esdhc 'status' at end of property list. sort the nodes in unit-address Use IRQ_TYPE_LEVEL_HIGH represent 0x4 in "interrupts = <0 28 0x4>" 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(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts index de6ef39..5e14e5a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts @@ -95,6 +95,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 9fb9113..12c9cd3 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -83,6 +83,19 @@ }; }; +&esdhc { + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; + status = "okay"; + }; + +&esdhc1 { + mmc-hs200-1_8v; + status = "okay"; + }; + &i2c0 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 7975519..f299075 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -245,6 +245,33 @@ status = "disabled"; }; + esdhc: mmc@2140000 { + compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; + reg = <0x0 0x2140000 0x0 0x10000>; + interrupts = ; + 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: mmc@2150000 { + compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; + reg = <0x0 0x2150000 0x0 0x10000>; + interrupts = ; + 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"; + }; + duart0: serial@21c0500 { compatible = "fsl,ns16550", "ns16550a"; reg = <0x00 0x21c0500 0x0 0x100>; -- 2.9.5