Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp83275ybj; Thu, 19 Sep 2019 11:03:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqytyRSwzgDW5fZzDdO4eK2Bc1k2+wRVKJDOkiid9fO4YM7NnLImoOe9WJdL5XeEmOWFC5vV X-Received: by 2002:a50:d68a:: with SMTP id r10mr17555441edi.151.1568916213038; Thu, 19 Sep 2019 11:03:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568916213; cv=none; d=google.com; s=arc-20160816; b=q2+PWw/pAzLHs39lSeqNob0aTV+gkcbSxKKm7Xcu1p7vbIC5VJJD33U6gpUzP5xTJq XJ8qTTOu/armEPP5XvGWQww2xwCGtrFal/CjBb1AWbkSBzfsx335gh7i7jM4vsWdrZOT gC8FmGhibi9La6rv5jf/j0uq9XfZPqU9tNw79Zaa7B9zmCXAj8I0JQGkWqCC8aKY8Cmg 7u4ldqOYShNEHtTfVEa9D7QIkUfRCbLwmPiSjHAiNd/OiAatcNh3O6gUvMabADfJD6iq eJdZ+en2VpwTH4PVsWLBZhqZR02vBxP5L6/ctVRp9ITfoa0s8biga1teLX95Vc8dOJz4 Y4uQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hgi52LcBYsdTA/OSGmQd/vP08szJy4H/8TwnILemHJg=; b=JyVxqj62nxtWfheFfILG31HD1iYXeT6vY5Nk2nujpb52qtuMbxBPkmo1eFk/gxYffQ FVz85lbWHv2Iqds5b/bPHzcgGJbiHS5DRkuojds54nYR9wJeDZeObzz+tYTEd8XjE9YN M6HCa4vgWJA8TUfZLsxNSw3/JseLkQwO4qElXDpL5UOYF3BzB/ySSNKUw8s2lOVsZXvh dysdLkCviZRFF8wlTfE/yMlj0t7FWDnp0KH6zp0hhr7FmNcR9IyKNPNOtYTnyLCKtHnf Fd17UiIKlIiHjZzCQ6rq7CVgiwXMOTcwT43m0wDrZFgzIb6ifns7vv/c3/s2eVWBx8dQ r01A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="r/eiX4mR"; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7si5989865edb.238.2019.09.19.11.02.51; Thu, 19 Sep 2019 11:03:33 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="r/eiX4mR"; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391327AbfISPcN (ORCPT + 99 others); Thu, 19 Sep 2019 11:32:13 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:50454 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391251AbfISPcM (ORCPT ); Thu, 19 Sep 2019 11:32:12 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8JFW5T4130052; Thu, 19 Sep 2019 10:32:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568907125; bh=hgi52LcBYsdTA/OSGmQd/vP08szJy4H/8TwnILemHJg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=r/eiX4mR14TABN4He5IssAQkU/3y65ZVa9U5d5p3PtUQxg15VfswfvqfUdXDTm3PT 3pipG94yIBqRFxQoNM/JLgtVuNymWzdkE+g5uDEvVkqoW1J4xx6oVI6+6eDKdFCcTs JyulpnEHnRKeKyE1QzyqrSbJ8HC2yYKdlqi8TbJU= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8JFW5CL009562; Thu, 19 Sep 2019 10:32:05 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 19 Sep 2019 10:32:04 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 19 Sep 2019 10:32:01 -0500 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8JFVxwL001224; Thu, 19 Sep 2019 10:32:02 -0500 From: Faiz Abbas To: , , CC: , , , Subject: [PATCH 1/2] arm64: dts: ti: j721e-main: Add SDHCI nodes Date: Thu, 19 Sep 2019 21:02:41 +0530 Message-ID: <20190919153242.29399-2-faiz_abbas@ti.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190919153242.29399-1-faiz_abbas@ti.com> References: <20190919153242.29399-1-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add nodes for the 3 SDHCI instances present on TI's J721E device. instance 0 supports HS400 (8 bit bus widht, DDR, 400 MBps) while instances 1 and 2 support SDR104 (4 bit width, SDR, 100 MBps) as their highest speed modes. Currently, only High speed (50 MHz clock) has been enabled. Signed-off-by: Faiz Abbas --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 50 +++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index 199bc9a00b20..1650bbd10932 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -372,4 +372,54 @@ clocks = <&k3_clks 112 0>; clock-names = "gpio"; }; + + main_sdhci0: sdhci@4f80000 { + compatible = "ti,j721e-sdhci-8bit"; + reg = <0x0 0x4f80000 0x0 0x1000>, <0x0 0x4f88000 0x0 0x400>; + interrupts = ; + power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>; + clock-names = "clk_xin", "clk_ahb"; + clocks = <&k3_clks 91 1>, <&k3_clks 91 0>; + assigned-clocks = <&k3_clks 91 1>; + assigned-clock-parents = <&k3_clks 91 2>; + bus-width = <8>; + mmc-hs400-1_8v; + mmc-ddr-1_8v; + ti,otap-del-sel = <0x2>; + ti,trm-icp = <0x8>; + ti,strobe-sel = <0x77>; + dma-coherent; + }; + + main_sdhci1: sdhci@4fb0000 { + compatible = "ti,j721e-sdhci-4bit"; + reg = <0x0 0x04fb0000 0x0 0x1000>, <0x0 0x4fb8000 0x0 0x400>; + interrupts = ; + power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>; + clock-names = "clk_xin", "clk_ahb"; + clocks = <&k3_clks 92 0>, <&k3_clks 92 5>; + assigned-clocks = <&k3_clks 92 0>; + assigned-clock-parents = <&k3_clks 92 1>; + ti,otap-del-sel = <0x2>; + ti,trm-icp = <0x8>; + ti,clkbuf-sel = <0x7>; + dma-coherent; + no-1-8-v; + }; + + main_sdhci2: sdhci@4f98000 { + compatible = "ti,j721e-sdhci-4bit"; + reg = <0x0 0x4f98000 0x0 0x1000>, <0x0 0x4f90000 0x0 0x400>; + interrupts = ; + power-domains = <&k3_pds 93 TI_SCI_PD_EXCLUSIVE>; + clock-names = "clk_xin", "clk_ahb"; + clocks = <&k3_clks 93 0>, <&k3_clks 93 5>; + assigned-clocks = <&k3_clks 93 0>; + assigned-clock-parents = <&k3_clks 93 1>; + ti,otap-del-sel = <0x2>; + ti,trm-icp = <0x8>; + ti,clkbuf-sel = <0x7>; + dma-coherent; + no-1-8-v; + }; }; -- 2.19.2