From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33D78C54798 for ; Tue, 27 Feb 2024 16:36:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EtSzuBuH+PD+p40LohK4dc+ZzAPOvmCweNLaqxmkpZE=; b=3Ld5I7v+1xdSuC +uPr3odZYH8/lZtw/joYrzf+dMC/oJii9YUHzecWb7JrIrvN6hdDYLB+rpd6AkMMnyPcz4Rlr4DRa kASTp/6W/FsfxIUx+G/37F/HPp17S8D3uFe03/QuCS7L2p9Jw8d1gjM0aTBWMCRSbd2pXD2AwP33a R3CrWAKpp3eeXtT6JD9hq85LBsXBBcgLNXufoeh5+fVwVNcVTQPxa0rj1vpF0u4Tn4P5V+QhJV3IR zN5lr1bk/XJ42j4yb9ZpRT/syJ7AS2XdNR+2Ujccyr7PXP88ZzvjI/7XFnT3u+ZPlq/US7uAGP7TA 6sK9KOJtZw8HwJdKurWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf0Rm-0000000606Z-2oCX; Tue, 27 Feb 2024 16:36:50 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf0RS-00000005zze-135i for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 16:36:34 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 6E59B20007; Tue, 27 Feb 2024 16:36:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709051786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1HjaL0N4MQbpBEM8c6K7nKarXSwAV7+wRWAqTEQw6nQ=; b=Lk+vdFlkAOtang21DjVUcPqXZ4xGmhzcxrPvzUf24IYp4biewuQduaZWoOtjhyxNcN62Rr rwxOMoCoIRZX8wclegXOQ76VXTHyjapTr9IsP2t6ODUtGaiqRsLJbUwI44+vvfEXexbb94 9/bAnwyQ9P3XE+Euu4f/yR4u4RGs3y9WzvKTTIxXUmjR9YpE0MFyeN/1jw0p+Ze7kGCnuc ldhXELyC5r7hPxbHFBp0ACq9Wy+swSTwc84hn7yW8M/Jmp37LYLF68PK2vHN8r1Z5B0iFn /GIEHqOOyOX3wHmJ4ik/OXScGHoUIg1Cf9QcVlv/TtrPEjZgCwaeT5tqz5m43Q== From: Gregory CLEMENT To: Elad Nachman , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@lunn.ch, sebastian.hesselbarth@gmail.com, huziji@marvell.com, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: enachman@marvell.com Subject: Re: [PATCH v2 2/2] arm64: dts: ac5: add mmc node and clock In-Reply-To: <20240103172803.1826113-3-enachman@marvell.com> References: <20240103172803.1826113-1-enachman@marvell.com> <20240103172803.1826113-3-enachman@marvell.com> Date: Tue, 27 Feb 2024 17:36:25 +0100 Message-ID: <871q8xkgom.fsf@BL-laptop> MIME-Version: 1.0 X-GND-Sasl: gregory.clement@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_083632_901241_70CF54A3 X-CRM114-Status: GOOD ( 14.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Elad Nachman, > From: Elad Nachman > > Add mmc and mmc clock nodes to ac5 and ac5x device tree files > > Signed-off-by: Elad Nachman Applied on mvebu/dt64 Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi | 31 ++++++++++++++++++- > .../boot/dts/marvell/ac5-98dx35xx-rd.dts | 4 +++ > 2 files changed, 34 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi b/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi > index b5e042b8e929..5591939e057b 100644 > --- a/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi > +++ b/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi > @@ -77,7 +77,6 @@ soc { > #address-cells = <2>; > #size-cells = <2>; > ranges; > - dma-ranges; > > internal-regs@7f000000 { > #address-cells = <1>; > @@ -204,6 +203,30 @@ gpio1: gpio@18140 { > }; > }; > > + mmc_dma: bus@80500000 { > + compatible = "simple-bus"; > + ranges; > + #address-cells = <0x2>; > + #size-cells = <0x2>; > + reg = <0x0 0x80500000 0x0 0x100000>; > + dma-ranges = <0x0 0x0 0x2 0x0 0x0 0x80000000>; > + dma-coherent; > + > + sdhci: mmc@805c0000 { > + compatible = "marvell,ac5-sdhci", > + "marvell,armada-ap806-sdhci"; > + reg = <0x0 0x805c0000 0x0 0x1000>; > + interrupts = ; > + clocks = <&emmc_clock>, <&cnm_clock>; > + clock-names = "core", "axi"; > + bus-width = <8>; > + non-removable; > + mmc-ddr-1_8v; > + mmc-hs200-1_8v; > + mmc-hs400-1_8v; > + }; > + }; > + > /* > * Dedicated section for devices behind 32bit controllers so we > * can configure specific DMA mapping for them > @@ -335,5 +358,11 @@ nand_clock: nand-clock { > #clock-cells = <0>; > clock-frequency = <400000000>; > }; > + > + emmc_clock: emmc-clock { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <400000000>; > + }; > }; > }; > diff --git a/arch/arm64/boot/dts/marvell/ac5-98dx35xx-rd.dts b/arch/arm64/boot/dts/marvell/ac5-98dx35xx-rd.dts > index f0ebdb84eec9..0c973d7a215a 100644 > --- a/arch/arm64/boot/dts/marvell/ac5-98dx35xx-rd.dts > +++ b/arch/arm64/boot/dts/marvell/ac5-98dx35xx-rd.dts > @@ -99,3 +99,7 @@ parition@2 { > }; > }; > }; > + > +&sdhci { > + status = "okay"; > +}; > -- > 2.25.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel