Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3186191pxb; Sun, 7 Feb 2021 00:25:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJyeTbyN22QIh5EwnTfMxYVaJuVooezmjdH20YPBTFKlVXBAowxrgO0U3DURABQW8uSXB60+ X-Received: by 2002:a05:6402:19bd:: with SMTP id o29mr11588756edz.161.1612686351330; Sun, 07 Feb 2021 00:25:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612686351; cv=none; d=google.com; s=arc-20160816; b=CWVv0ae40MXBrcvGgygvAMbouYlyFEx5QMfyACv/v3i7saH6WJnLvHY///1W7CeaX7 Ns9enVTgB0dyhXfKfdRfpcF2DRIwg/HcCrxQ4Abl2Wj4iIHbvVeVwd6DYhaaCjQkKNnm sdoE3t3pBL7hoRjInDe2gum6DHcKp/K230zZQVanqElKU6N1wQ0AASGXS5Z+W9xa2f0w 5OYB5QsnWWUiC+3ndJxhsB6pVqqFxzTne0lT/L4EKjMPEJ87iR9/PTKnwpex1eit2KIH hX8+TfGTXGRQo1hC3nSYiVe9cVAuTFrAAq/JnqQfeJZWBW84bC5fyIEn6Yron+/wnFr9 RuVA== 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:dkim-signature; bh=5lKn6Ecz4xGgCyyvpqKHZ0HmmgVVSCgpayo06pbd8FA=; b=WUWYm/geR90LlQ69X8t5Tut1tN2zxXAu6Eil7z938jbFTo+qnUbu/IGjqP4Y7ZP1Rj 4dkImLp7+PbFDrIYKaWtLnsHJ3Xb6SkK2apu6O2ILM8qAnrx1HzALLPtWRIF8oL1TRct iUmWCby31pZp7SGbWeC7RE8Fqmg01iXNkE6HghEPoi+U2dqn1BDQ7IlJOjzOENkR9dI9 9F7HMCKGULKdHzIA3rJNQhJgEZ+D5H2Z0ao7xYiM/gPy+vNA38mCdMl7vFj1LfdgqWXT 2W2usms72dqTAHNhZwespammZ0xqAvVYPhiJpxqWEl9iOANa44Dwx/Sf+VyFzpdEWsvy HCjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=D0SS7+mw; 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=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z92si9700300ede.291.2021.02.07.00.25.28; Sun, 07 Feb 2021 00:25:51 -0800 (PST) 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=@marvell.com header.s=pfpt0220 header.b=D0SS7+mw; 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=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229783AbhBGIV4 (ORCPT + 99 others); Sun, 7 Feb 2021 03:21:56 -0500 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:4656 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229706AbhBGIUx (ORCPT ); Sun, 7 Feb 2021 03:20:53 -0500 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1178B3j9031727; Sun, 7 Feb 2021 00:20:03 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0220; bh=5lKn6Ecz4xGgCyyvpqKHZ0HmmgVVSCgpayo06pbd8FA=; b=D0SS7+mwb1eLEVmAx8rLMMFpc5HGTmAdLt5EvE1ji+Y2MwJlw6egYurm+1sMrXXRRlQI Ad0FHcZ4dZ5DLboJoBiKCUapaKIPsh+KeHAfxyM3aZwaZHDxQXgW2GjYW4twq1s628mm QX2XHny5Mpn4ayljpgXvxTwQfFu4V7TFGKQzul6tK5KTeSFu2BPlFNsNUlVGMbZEV+Ku dxc0bWXfdweKq67BJUYHHCN1S2TYdlgIYqYW1EjVZ+7IN8KD3mlNyh9+wKgwJb/igT2z a4IGBWMnxP0DDs09Uzto3pZruUmWBFIDapzTHpjwG6btzvFexGWx71aTL/ijkHx/Qfvg vQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 36hsbr9tnw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 07 Feb 2021 00:20:03 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 7 Feb 2021 00:20:01 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 7 Feb 2021 00:20:01 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 7 Feb 2021 00:20:01 -0800 Received: from stefan-pc.marvell.com (stefan-pc.marvell.com [10.5.25.21]) by maili.marvell.com (Postfix) with ESMTP id 57E723F703F; Sun, 7 Feb 2021 00:19:57 -0800 (PST) From: To: CC: , , , , , , , , , , , , , , , , , Konstantin Porotchkin Subject: [RESEND PATCH v8 net-next 02/15] dts: marvell: add CM3 SRAM memory to cp11x ethernet device tree Date: Sun, 7 Feb 2021 10:19:11 +0200 Message-ID: <1612685964-21890-3-git-send-email-stefanc@marvell.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1612685964-21890-1-git-send-email-stefanc@marvell.com> References: <1612685964-21890-1-git-send-email-stefanc@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.737 definitions=2021-02-07_03:2021-02-05,2021-02-07 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Konstantin Porotchkin CM3 SRAM address space would be used for Flow Control configuration. Signed-off-by: Stefan Chulski Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi b/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi index 9dcf16b..359cf42 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi @@ -69,6 +69,8 @@ status = "disabled"; dma-coherent; + cm3-mem = <&CP11X_LABEL(cm3_sram)>; + CP11X_LABEL(eth0): eth0 { interrupts = <39 IRQ_TYPE_LEVEL_HIGH>, <43 IRQ_TYPE_LEVEL_HIGH>, @@ -211,6 +213,14 @@ }; }; + CP11X_LABEL(cm3_sram): cm3@220000 { + compatible = "mmio-sram"; + reg = <0x220000 0x800>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x220000 0x800>; + }; + CP11X_LABEL(rtc): rtc@284000 { compatible = "marvell,armada-8k-rtc"; reg = <0x284000 0x20>, <0x284080 0x24>; -- 1.9.1