Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3787353rdb; Wed, 27 Dec 2023 22:54:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFd8pX98k5ueV4g7fy8sEyxLSHTWa3oe7DNN/xuB1hPqT2I5A8yRKyuKkCRGfW/QddaBBLV X-Received: by 2002:a50:aad0:0:b0:54c:4837:7594 with SMTP id r16-20020a50aad0000000b0054c48377594mr5155298edc.64.1703746488887; Wed, 27 Dec 2023 22:54:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703746488; cv=none; d=google.com; s=arc-20160816; b=U2daY3atEb6xcmDsv8PLRnMCAYA/vkfq96/GgZeyFNt1Gh2PgLMyMu1JCrLLZXhGKj EnpjZDJa63huEd32elc5/leVfgSHLXxXJn8rCotpYzZRrZ3ifHIKys1+Zsdg57D9y6iJ MCozr6yjByheL2BRiyjSXrEtFnJb4pt+5JvJU8ZqVw0nBp7dKhT2wtlcKVKuAWWaONEf UCxiuxLg7nvT7NRUpP/TcIirhFKcBKWY/cBRNyGHllxFFiuVALirikY4KIB4FiA3/0tu iMwEyeMKy5HAp6cjntSaX/tzkB/yOELA+T8+iCW3Me9mUW8T9UKp29b6qhhr8cI+l3OY +1RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=iW0hGcAK9Cv25x7DN/iwBBYqM1MwlijFGy13GpYD0P8=; fh=SujmxNWP6UUgOFmttKopM1tRLkthr7qfPRUP3RWwLJc=; b=VROyp/zTjHpUNboYwZz0jhmXAwLjpAg3JMaWO3v4qIr16GNqXuZ9ZSMqS7KM/orfIS +AcBh0PK7Eejh7hjhGEwCxUH0zeNuezidKOyEy/Upv28n2KzBLLMYNEcM6+UdjtFE8gb sLtKFbEeikNYtSnI4UGkUWoFpzClzr9mty44GBazWYtZT6Gpfrkzu3PFOyI9f4FVIY0M /rvKT67gC4eG5dcXDo2ufUsp9jTg2FRGUS3xypWQabMN8P7eFNcCQNZJRKRXRFBkXYmd kXMA7PyhtaaPhzSY+ifQ49Ur/wkL7vXZJaXdE94vW9JjpHeHk6boU9OmTa7yPoj8tSpU WK0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12471-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n18-20020a509352000000b005545f4cf210si5519677eda.631.2023.12.27.22.54.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 22:54:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12471-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A416D1F225D0 for ; Thu, 28 Dec 2023 06:54:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 198F26FC7; Thu, 28 Dec 2023 06:53:52 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88EC65235; Thu, 28 Dec 2023 06:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 9F3147F8A; Thu, 28 Dec 2023 14:53:46 +0800 (CST) Received: from EXMBX066.cuchost.com (172.16.7.66) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 28 Dec 2023 14:53:46 +0800 Received: from localhost.localdomain (202.188.176.82) by EXMBX066.cuchost.com (172.16.6.66) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 28 Dec 2023 14:53:41 +0800 From: Alex Soo To: Ulf Hansson , Adrian Hunter , Yangtao Li , Andy Shevchenko , Linus Walleij , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Emil Renner Berthing CC: , , , , "Paul Walmsley" , Palmer Dabbelt , Albert Ou , Alex Soo Subject: [PATCH 3/3] riscv: dts: starfive: jh8100: Add SD/eMMC device tree nodes Date: Thu, 28 Dec 2023 14:53:22 +0800 Message-ID: <20231228065322.1176351-4-yuklin.soo@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231228065322.1176351-1-yuklin.soo@starfivetech.com> References: <20231228065322.1176351-1-yuklin.soo@starfivetech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: quoted-printable Add SD/eMMC device tree nodes. Signed-off-by: Alex Soo --- arch/riscv/boot/dts/starfive/jh8100.dtsi | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh8100.dtsi b/arch/riscv/boot/d= ts/starfive/jh8100.dtsi index 9c8ca73fffe0..545109ca6c49 100644 --- a/arch/riscv/boot/dts/starfive/jh8100.dtsi +++ b/arch/riscv/boot/dts/starfive/jh8100.dtsi @@ -484,6 +484,15 @@ syscrg_sw: syscrg_sw@12720000 { #reset-cells =3D <1>; }; =20 + sd1: mmc@12740000 { + compatible =3D "starfive,jh8100-sd6hc", "cdns,sd6hc"; + reg =3D <0x0 0x12740000 0x0 0x10000>; + interrupts =3D <91>; + bus-width =3D <4>; + cap-sd-highspeed; + status =3D "disabled"; + }; + pinctrl_gmac: pinctrl@12770000 { compatible =3D "starfive,jh8100-sys-pinctrl-gmac", "syscon", "simple-mfd"; @@ -509,6 +518,31 @@ uart6: serial@127e0000 { status =3D "disabled"; }; =20 + emmc: mmc@1f110000 { + compatible =3D "starfive,jh8100-sd6hc", "cdns,sd6hc"; + reg =3D <0x0 0x1f110000 0x0 0x10000>; + interrupts =3D <174>; + clock-names =3D "main", "sdmclk"; + clocks =3D <&aoncrg AONCRG_CLK_EMMC_ICG_EN>, + <&aoncrg AONCRG_CLK_EMMC_SDMCLK>; + resets =3D <&aoncrg AONCRG_RSTN_EMMC>; + bus-width =3D <8>; + status =3D "disabled"; + }; + + sd0: mmc@1f120000 { + compatible =3D "starfive,jh8100-sd6hc", "cdns,sd6hc"; + reg =3D <0x0 0x1f120000 0x0 0x10000>; + interrupts =3D <175>; + clock-names =3D "main", "sdmclk"; + clocks =3D <&aoncrg AONCRG_CLK_SDIO0_ICG_EN>, + <&aoncrg AONCRG_CLK_SDIO0_SDMCLK>; + resets =3D <&aoncrg AONCRG_RSTN_SDIO0>; + bus-width =3D <4>; + cap-sd-highspeed; + status =3D "disabled"; + }; + pinctrl_aon: pinctrl@1f300000 { compatible =3D "starfive,jh8100-aon-pinctrl", "syscon", "simple-mfd"; --=20 2.25.1