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 A2ED5C433F5 for ; Mon, 4 Apr 2022 16:19:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 29CD6839CA; Mon, 4 Apr 2022 18:18:54 +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="r4lG/KGt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1285C83923; Mon, 4 Apr 2022 18:18:43 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::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 15622839AA for ; Mon, 4 Apr 2022 18:18:27 +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 ams.source.kernel.org (Postfix) with ESMTPS id A2784B8182F; Mon, 4 Apr 2022 16:18:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34001C2BBE4; Mon, 4 Apr 2022 16:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649089105; bh=ZUiVjB4D5mjz+5E+YTs6l37oulhh27YGI4EllshOunc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r4lG/KGtzX8N0quL7Plz/U4MljzJfV1GG1qNEe0k8zMOlL6RK+QiNGHhil/apsmXx 7DrukgIUbI+lh/+yvIz1NHq7uFOd9n2FuHNuRUiieIubrDNORu/skP2Wu3YXV2kQ1s ZGP1+svnDOA8aFY2pFgnkpQ/V9LoZBvbWy/ANTZclRhpFAaTcfyRYsrDU7KJynH8LR O+/OQpwiqoRPV6YzRKbEL6ktYMYnIVZf/0AhY2Doclv3pOHpiyTLkQjOKoTYoEBaCD FwmdTqAY6F4b36ZixSG0n8uLfFnCYvHovh/xR4IHfGGOG6qDb8FfnkzyERCmjunaaR WNW0NgcXiPFMw== Received: by pali.im (Postfix) id E2737768; Mon, 4 Apr 2022 18:18:24 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Priyanka Jain , Wolfgang Denk Cc: Michal Simek , Simon Glass , u-boot@lists.denx.de Subject: [PATCH 5/5] powerpc: dts: p2020: Add localbus node Date: Mon, 4 Apr 2022 18:17:22 +0200 Message-Id: <20220404161722.4884-6-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220404161722.4884-1-pali@kernel.org> References: <20220404161722.4884-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 This node is required for NAND and NOR support. Node is taken from the upstream Linux kernel DTS file. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 7 +++++++ arch/powerpc/dts/p2020rdb-pc.dts | 4 ++++ arch/powerpc/dts/p2020rdb-pc_36b.dts | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi index 8d30fa212c43..0a9e81a4248c 100644 --- a/arch/powerpc/dts/p2020-post.dtsi +++ b/arch/powerpc/dts/p2020-post.dtsi @@ -85,3 +85,10 @@ device_type = "pci"; bus-range = <0x0 0xff>; }; + +&lbc { + #address-cells = <2>; + #size-cells = <1>; + compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus"; + interrupts = <19 2 0 0>; +}; diff --git a/arch/powerpc/dts/p2020rdb-pc.dts b/arch/powerpc/dts/p2020rdb-pc.dts index b37931ac4491..67fa340d09d0 100644 --- a/arch/powerpc/dts/p2020rdb-pc.dts +++ b/arch/powerpc/dts/p2020rdb-pc.dts @@ -15,6 +15,10 @@ #size-cells = <2>; interrupt-parent = <&mpic>; + lbc: localbus@ffe05000 { + reg = <0 0xffe05000 0 0x1000>; + }; + soc: soc@ffe00000 { ranges = <0x0 0x0 0xffe00000 0x100000>; }; diff --git a/arch/powerpc/dts/p2020rdb-pc_36b.dts b/arch/powerpc/dts/p2020rdb-pc_36b.dts index ecdc022d9974..2e8d352ecfb8 100644 --- a/arch/powerpc/dts/p2020rdb-pc_36b.dts +++ b/arch/powerpc/dts/p2020rdb-pc_36b.dts @@ -15,6 +15,10 @@ #size-cells = <2>; interrupt-parent = <&mpic>; + lbc: localbus@fffe05000 { + reg = <0 0xfffe05000 0 0x1000>; + }; + soc: soc@fffe00000 { ranges = <0x0 0xf 0xffe00000 0x100000>; }; -- 2.20.1