Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3067390pxk; Mon, 7 Sep 2020 02:07:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1v9AVbwJDcBmSUJ1/ciA0C6wcy8/fTkI0oS3v4W69ZCRqr6/4wPnB0EG0TSJ+vHAzmcWl X-Received: by 2002:a50:c909:: with SMTP id o9mr20556141edh.148.1599469668622; Mon, 07 Sep 2020 02:07:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599469668; cv=none; d=google.com; s=arc-20160816; b=dR49x04eeFMz7DZ4p1Vj8kH7NAQ1YRXPaPkqZ+2S3WD+lrkkphDdnTd9d/gfyUACJo HBqR+3vWh9Pl0AbUhOjHpPQ2Yqn2SjscJJIcQLb8IKeCg1HtwmfgxGhC8LHaz4Y3IJDR JoJzJKmQq1qE/2OMlKUwWe6WgGjU5lfT3CSsQurWDF4rbiE72TD7NE4b14NB+Uu/gGoC 9czyQkqOIuz87YYumCNj3an85U/dpPfAEIQfy9UalZqifNLRE9sWPpRgG2P9DRYt6mXn EjPcmiMCiiIlFBZzBwg2Q/55JoryuJhh9SAsfc0aDSm0LTst/zYmap55kZzUdsUl5J7+ uutw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ULNn4ZI9/GT34H0QowpCbasQ+rRkc9n66eikBz1aXLg=; b=apWEQQmKxIS8gul0TffFUmMR0P+MvPBICuZzuAPWbJXJbyzNbxcJlogVg0fndGmZZa J7Q2/IUpjZ3kth2iq+6ZxtVmw776ZmCmUwmPzNQ1yYByhDXnMFrC2Yyvox1e4R1+rSC0 Ly0ViyCVjsRhcfaKGYHbtflGHi7Msa+LBM27gqmy8v8LR+j/ZZRol+ofaPTc90uEW5Nz OccXmGsqUleoAKy9e//XSC0vVX/5cCpLpa7mjGUxr+38QD93HTSWzZiUfLxg9QYhBrFG AxCY1aCGU6e+1vnYAiH42aHxBQWHnb6pDWkRAayxXJpjdj5BUfJJOhtFfhB6so87BRiy 8b2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=A1QOU0s7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id i8si9778007edj.113.2020.09.07.02.07.24; Mon, 07 Sep 2020 02:07:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=A1QOU0s7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728223AbgIGJFe (ORCPT + 99 others); Mon, 7 Sep 2020 05:05:34 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:56354 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726512AbgIGJFa (ORCPT ); Mon, 7 Sep 2020 05:05:30 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 08795RIf124534; Mon, 7 Sep 2020 04:05:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599469527; bh=ULNn4ZI9/GT34H0QowpCbasQ+rRkc9n66eikBz1aXLg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=A1QOU0s7Kb8Cb/GYp0FXOIZyBYBYro567oRP3h4yi9VzBkqEQe6n9cFuUmj4ZvZrm gD5y297Adr+qdiUsfs5LthJ1YGtU2cF4oj1u2288OR22DTN3XNZ0mmItigy0HMkLoV PyriZ5RgmrAEfTHYrLALgae7hZ+PJu0MF1UJHfQY= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 08795RU7103488 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Sep 2020 04:05:27 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 7 Sep 2020 04:05:26 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 7 Sep 2020 04:05:26 -0500 Received: from a0230074-OptiPlex-7010.dhcp.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 08795LSo000843; Mon, 7 Sep 2020 04:05:24 -0500 From: Faiz Abbas To: , , CC: , , , Subject: [PATCH 1/2] arm64: dts: ti: k3-j7200-main: Add support for MMC/SD controller nodes Date: Mon, 7 Sep 2020 14:35:19 +0530 Message-ID: <20200907090520.25313-2-faiz_abbas@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907090520.25313-1-faiz_abbas@ti.com> References: <20200907090520.25313-1-faiz_abbas@ti.com> MIME-Version: 1.0 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 support for MMC/SD controller nodes present on TI's j7200 SoCs. There are two nodes: 1. sdhci0 (8 bit bus width, 200 MHz, HS200, 200 MBps) 2. sdhci1 (4 bit bus width, 50 MHz, HS, 25 MBps) Signed-off-by: Faiz Abbas --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 37 +++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index 0a87fa3ea5f0..1702ac0bbf40 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -273,4 +273,41 @@ clocks = <&k3_clks 193 1>; power-domains = <&k3_pds 193 TI_SCI_PD_EXCLUSIVE>; }; + + main_sdhci0: sdhci@4f80000 { + compatible = "ti,j7200-sdhci-8bit", "ti,j721e-sdhci-8bit"; + reg = <0x0 0x04f80000 0x0 0x260>, <0x0 0x4f88000 0x0 0x134>; + interrupts = ; + power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>; + clock-names = "clk_xin", "clk_ahb"; + clocks = <&k3_clks 91 3>, <&k3_clks 91 0>; + ti,otap-del-sel-legacy = <0x0>; + ti,otap-del-sel-mmc-hs = <0x0>; + ti,otap-del-sel-ddr52 = <0x6>; + ti,otap-del-sel-hs200 = <0x8>; + ti,otap-del-sel-hs400 = <0x0>; + ti,strobe-sel = <0x77>; + ti,trm-icp = <0x8>; + bus-width = <8>; + mmc-ddr-1_8v; + dma-coherent; + }; + + main_sdhci1: sdhci@4fb0000 { + compatible = "ti,j7200-sdhci-4bit", "ti,j721e-sdhci-4bit"; + reg = <0x0 0x04fb0000 0x0 0x260>, <0x0 0x4fb8000 0x0 0x134>; + interrupts = ; + power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>; + clock-names = "clk_xin", "clk_ahb"; + clocks = <&k3_clks 92 2>, <&k3_clks 92 1>; + ti,otap-del-sel-legacy = <0x0>; + ti,otap-del-sel-sd-hs = <0x0>; + ti,otap-del-sel-sdr12 = <0xf>; + ti,otap-del-sel-sdr25 = <0xf>; + ti,otap-del-sel-sdr50 = <0xc>; + ti,otap-del-sel-sdr104 = <0x5>; + ti,otap-del-sel-ddr50 = <0xc>; + no-1-8-v; + dma-coherent; + }; }; -- 2.17.1