Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1590549ybl; Wed, 14 Aug 2019 20:37:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmArQ5m92QH+O/ix3rvezdmLA1QmNuAqm8+uUkg3IhBHGAFvaXiWfm3iKHlAylVYfcmWZo X-Received: by 2002:a17:902:8345:: with SMTP id z5mr2581874pln.29.1565840269689; Wed, 14 Aug 2019 20:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565840269; cv=none; d=google.com; s=arc-20160816; b=w8OIA9egfkHLCuNwk+B6/thiqGISOWcX3wSeeXa/pUlgd3U3gAjSGX6NsSE2ebW2D9 yan06kwVHhZPdzH3G/0cWuDpSHAJWJyS2bmee8PidVoxuwmob4btHp7vD7RtMaFKbtzg GKDM0xnYjxyglcWRNNCPXyL3zfpXvscSpznfoJuV5nEt7INY8pe8vfXg82UP8jNaE56D DJsxmLdAcH5pU+zpFjgSthEhMwvUt0U77G9glocL+CJiy1BjD1ceJf9EbXvtpp7V7pZZ BOW+w2KeXiOfx44ZYLmNqapp6A3uIjAi0/3sDSuDDGGga8OMNKZLubCHhxe4rmy+ymCa WUcg== 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=51/XWbZfXnm+R5XyuNMz9VYB67jwM+o+Nw2iP87XC+8=; b=tCuMmwtF16CM19sTYwW6Lwj+qBEsfCY8wtEEoRxEc7+U10QxKEO4xg5DnbEC6gXLZW 1Au+jf0GQbd6PFXMRhDLPYkxr97T0L0CEc69xGZf0IrR4ZVbhP6mXyPJ76MicYVowN4h Dhl49gzOd4BNehpXH3d6VSsK4CyRH+huursWTimT1bgwsj69EQTa8KLvQstOe2gctrgx af0CtRCyihpzan0a++hIk0GdJfZAVJZOH0w/spqBCDOz+kiarJJJgerKM0IfqBBsqVoe SuxpJg9ekS1xJwR8/ZSIq+Nqm0pscQ9wBRlFAavxCxMcJfc0o7CZ+9jCdgm8Hza+0fB7 jvlg== 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 y10si1139616plp.117.2019.08.14.20.37.34; Wed, 14 Aug 2019 20:37:49 -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 S1729796AbfHODgp (ORCPT + 99 others); Wed, 14 Aug 2019 23:36:45 -0400 Received: from inva021.nxp.com ([92.121.34.21]:40284 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728320AbfHODgo (ORCPT ); Wed, 14 Aug 2019 23:36:44 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3FCE120041A; Thu, 15 Aug 2019 05:36:42 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BD0EA2001A0; Thu, 15 Aug 2019 05:36:36 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C2696402A2; Thu, 15 Aug 2019 11:36:29 +0800 (SGT) From: Yinbo Zhu To: Shawn Guo , Li Yang , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: yinbo.zhu@nxp.com, xiaobo.xie@nxp.com, jiafei.pan@nxp.com, yangbo.lu@nxp.com, Ashish Kumar Subject: [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts Date: Thu, 15 Aug 2019 11:39:01 +0800 Message-Id: <20190815033901.18696-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 v5: Fix indent. 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..1a69221 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