Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5823624rwl; Wed, 22 Mar 2023 02:53:38 -0700 (PDT) X-Google-Smtp-Source: AK7set+k5OfiCzdQMeBczYCSwyb+p0QJz5+tDZTV2pcnFqcHkStloKKkVeqpQhIS6qLdFf7//ABH X-Received: by 2002:a62:4e47:0:b0:626:166f:6db1 with SMTP id c68-20020a624e47000000b00626166f6db1mr2489690pfb.13.1679478818383; Wed, 22 Mar 2023 02:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679478818; cv=none; d=google.com; s=arc-20160816; b=ySYFE8hUPE3khYYM4XOay8S5H/evdJZP8f/EaFkTVy1Fym75b0O/nFZuVWYY6HxbS5 jVwLqknMYf/QAyXXYX16U5xa3SF5kaKRWG+uojuuOEpPtDvlcLS1qiba1y16sSVgQM6c XNIGwcEW24/oXnCBEKVhEHTHg2+3vtdEVpbyAgpVhkT0ymQkK3bj6tkHjQiJ1RPSrciB UMa7cdOkYCRQTs1momswwX6KIOym27bxIqGhEdw+xPQYckw6mHaP2aq07+asEIFkn/v2 vvPHZgK4fHR9DHQYblmJT2CE1KtCPDCbZH6JLX+dcN8J4uNZoYNPILf1jCkGjq1BW+ut W3qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=bdTGpyMEl5mtsrw9AIvG2Xrs+ocRDlbWsptbfFezSq4=; b=ArkCin2AWrQhQUjvQcqKJ1rqR6SH6D4TTriHVhidvxYo19IRzyAs9nGZI+cCmhfYWO wcIGMwdJJDWhYF7VvZd4PBhfgZ3O4Ixqvcm+Ec4ac2/6hkoydN/v6+HYp9H3zEkhGA2z s7I29R66t1mrgnlfJlVpJrkdSMz/D43jbgPonUaxUmMLUVbdtzU2AUqI+7QfN5W7gZOS 1ms1ClXZBP4T9ol+eCaq1KKwrU+aasL0ahrAjRyrNnelG7FSwtqz+ikUCXkYYBO6c3wb etLEMd2DElJYshFZvazxGMwGqg6hipQ07kQW7wBwB/OOim+uyxk0sugcK0SSvkG8QCTz WYtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v63-20020a638942000000b005030006a2desi15738021pgd.182.2023.03.22.02.53.27; Wed, 22 Mar 2023 02:53:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230165AbjCVJtm (ORCPT + 99 others); Wed, 22 Mar 2023 05:49:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbjCVJtH (ORCPT ); Wed, 22 Mar 2023 05:49:07 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37FAB2CC75; Wed, 22 Mar 2023 02:48:36 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id BA79D24E047; Wed, 22 Mar 2023 17:48:34 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 22 Mar 2023 17:48:35 +0800 Received: from localhost.localdomain (183.27.97.64) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 22 Mar 2023 17:48:33 +0800 From: Walker Chen To: Eugeniy Paltsev , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , "Emil Renner Berthing" , Walker Chen CC: , , , Subject: [PATCH v6 4/4] riscv: dts: starfive: add dma controller node Date: Wed, 22 Mar 2023 17:48:20 +0800 Message-ID: <20230322094820.24738-5-walker.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230322094820.24738-1-walker.chen@starfivetech.com> References: <20230322094820.24738-1-walker.chen@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.97.64] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the dma controller node for the Starfive JH7110 SoC. Reviewed-by: Emil Renner Berthing Signed-off-by: Walker Chen --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 17220576b21c..b503b6137743 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -510,6 +510,24 @@ #gpio-cells = <2>; }; + dma: dma-controller@16050000 { + compatible = "starfive,jh7110-axi-dma"; + reg = <0x0 0x16050000 0x0 0x10000>; + clocks = <&stgcrg JH7110_STGCLK_DMA1P_AXI>, + <&stgcrg JH7110_STGCLK_DMA1P_AHB>; + clock-names = "core-clk", "cfgr-clk"; + resets = <&stgcrg JH7110_STGRST_DMA1P_AXI>, + <&stgcrg JH7110_STGRST_DMA1P_AHB>; + interrupts = <73>; + #dma-cells = <1>; + dma-channels = <4>; + snps,dma-masters = <1>; + snps,data-width = <3>; + snps,block-size = <65536 65536 65536 65536>; + snps,priority = <0 1 2 3>; + snps,axi-max-burst-len = <16>; + }; + aoncrg: clock-controller@17000000 { compatible = "starfive,jh7110-aoncrg"; reg = <0x0 0x17000000 0x0 0x10000>; -- 2.17.1