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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9933FC433EF for ; Fri, 8 Apr 2022 12:43:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7DEFE83E02; Fri, 8 Apr 2022 14:42:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="NSl8rz4v"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5DE8A83DDC; Fri, 8 Apr 2022 14:41:50 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 38C8A83DDA for ; Fri, 8 Apr 2022 14:41:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C6C1F620ED; Fri, 8 Apr 2022 12:41:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1787BC385A3; Fri, 8 Apr 2022 12:41:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649421694; bh=3wAPycZNW2ooJKRJIRFZbOI9i35R72N6GDD/cq3usSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NSl8rz4vT1s9S14vq8r2NxpuhRehW8UVGVeBItjbDzGTc7N974JDlh91feHXecO1k Amw+wdWaVNdUI2AmuZ46v2kka1ud/7XJfWVdJ8RHTAsB0jGRzV40+cu5lJ7PYsIwnl u/klizRDcrstF8gkz63YaPg/ivjaC4YR7JzlhCEkL+ewDwrWqPWx5FII+DG6Dn/36v fBvGeflQVPLxhywEDDQSKPyeijUCsEyXAQpe+IIxf4gbxb90YLYAp6oyhXx4+lEUNw 4Y7DldczhB7exhvXlYdK5G4I5qLdTbuhdWeGVYZs7QlcNjguwAZcdEkg2bmQ7mc8VE asG+/G3jq84xg== Received: by pali.im (Postfix) id C30D06D7; Fri, 8 Apr 2022 14:41:33 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Priyanka Jain , Wolfgang Denk , Sinan Akman Cc: u-boot@lists.denx.de Subject: [PATCH 8/9] powerpc: dts: p2020: Define L2 cache node Date: Fri, 8 Apr 2022 14:39:57 +0200 Message-Id: <20220408123958.25724-9-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220408123958.25724-1-pali@kernel.org> References: <20220408123958.25724-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Copy definition of L2 cache node from upstream Linux kernel P2020 dts files. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 8 ++++++++ arch/powerpc/dts/p2020.dtsi | 2 ++ 2 files changed, 10 insertions(+) diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi index 0a296cffe56f..1c3f78798eff 100644 --- a/arch/powerpc/dts/p2020-post.dtsi +++ b/arch/powerpc/dts/p2020-post.dtsi @@ -56,6 +56,14 @@ /include/ "pq3-duart-0.dtsi" /include/ "pq3-gpio-0.dtsi" + L2: l2-cache-controller@20000 { + compatible = "fsl,p2020-l2-cache-controller"; + reg = <0x20000 0x1000>; + cache-line-size = <32>; /* 32 bytes */ + cache-size = <0x80000>; /* L2,512K */ + interrupts = <16 2 0 0>; + }; + /include/ "pq3-etsec1-0.dtsi" /include/ "pq3-etsec1-timer-0.dtsi" diff --git a/arch/powerpc/dts/p2020.dtsi b/arch/powerpc/dts/p2020.dtsi index 7c4c2061d4c3..7fdcb85c8094 100644 --- a/arch/powerpc/dts/p2020.dtsi +++ b/arch/powerpc/dts/p2020.dtsi @@ -22,10 +22,12 @@ cpu0: PowerPC,P2020@0 { device_type = "cpu"; reg = <0>; + next-level-cache = <&L2>; }; cpu1: PowerPC,P2020@1 { device_type = "cpu"; reg = <1>; + next-level-cache = <&L2>; }; }; }; -- 2.20.1