Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp320487yba; Wed, 15 May 2019 01:49:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzoL+b21FpCeFd1SxOUiS9sLeQZPAMgy/fspTgp4G8Aw1WoLvEEe1OZP0hhJrNg389gWksg X-Received: by 2002:a63:fb02:: with SMTP id o2mr41850662pgh.357.1557910152562; Wed, 15 May 2019 01:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557910152; cv=none; d=google.com; s=arc-20160816; b=Q0IJIS8c/1401OZwUP5zKuHBcl64gw7nOCD7hvSP/YRfsBjVKdvL4kY6iegF6nOVRp a82DRSc5QeY4No1kbJBkrO1SyTr9dfOB0b6EDEgFGk/D4oYvrG5jvB4OLMdM9tzi5KE4 hnK7BswFgP8s1Tq4imM4E024hwBnDchFwcDW8x1Wtr4a9C1h7iu3GTl975QZQl07pl4E upfNSebswJvg9+IAe6IwZWVpnbbP4U/Higs9auMcQSx7Eo8BLWsS+Va9qZ2Z5WfWEClK c/IUgDJiHEvBm1cCCO/I496lKB0Hin21EDPNUwIsQu/pQIJ+qT8zjcPQuAxR1D5nFVYy b8uQ== 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=A+hduuO34XK8R8pHuXXieqpJ9G2Ss/knRoicAhabUnU=; b=ne3owabPIwQpkN0qPlPu+AYYZVEc9zzaP5rWWhS9uJM1E6CHOnm2bsVh3JBQn/U4l0 a+UYTshd+KIvvzJ4/OV7bfhoLOWhVAS4Jh/mqB+DZD5gZVZTngu4ReB2DnqStvgMKfKJ OFjKTtpaRmjqXbPFpoF4AyBnModqsstk6aFXf69aIiCB87i8TaU7HgGgfHhLBDW23GMN Yhmn//MVsB8+2L2pYNWxfPALa9j1Jz9N7g6cCWF2GNsMUjNEY1kJ5HObl0jqNCeuzUWC j+4NejyVr1cdy6dtfS6D6WUmXgn1GG3bcnCHb8dGq4JqDbpN8et95TtjLz21FkRX0Taa p3xA== 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 d34si1384886pgd.558.2019.05.15.01.48.56; Wed, 15 May 2019 01:49:12 -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 S1726146AbfEOIrp (ORCPT + 99 others); Wed, 15 May 2019 04:47:45 -0400 Received: from inva020.nxp.com ([92.121.34.13]:39150 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbfEOIrp (ORCPT ); Wed, 15 May 2019 04:47:45 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4C0961A0171; Wed, 15 May 2019 10:47:43 +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 9A30A1A006B; Wed, 15 May 2019 10:47:37 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C17CA4029A; Wed, 15 May 2019 16:47:30 +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 v3] arm64: dts: ls1028a: Add esdhc node in dts Date: Wed, 15 May 2019 16:49:25 +0800 Message-Id: <20190515084925.30155-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 v3: replace "esdhc@" with "mmc@" 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..462833c 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: mmc@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: mmc@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