From patchwork Tue Nov 17 14:56:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 7637831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 49061BF90C for ; Tue, 17 Nov 2015 15:01:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78DFA2010B for ; Tue, 17 Nov 2015 15:01:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A65CE20108 for ; Tue, 17 Nov 2015 15:01:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zyhiw-0003s3-KV; Tue, 17 Nov 2015 14:59:10 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZyhhF-0002ls-CE for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2015 14:57:26 +0000 Received: by wmuu63 with SMTP id u63so5587331wmu.0 for ; Tue, 17 Nov 2015 06:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=mc8ROjeMjvv8w7fdNlJVpd7ayYBI4/YbpnQ7mO/z96c=; b=spgJ1X4n6/KNfx/ZtvTS1UgOOgmgTBk/NsY16uEdXoENb+P0evNGsy6PW55EYEWs5E 24ISCgq4Sbt+FrEHnEurk8Q2S9FNtGnbWORdZzd3UN+ssZDOt7xLOJps20yNxe1SV967 409WKK/j8PSKKEclaAmIYw/0jisIcneQ2O8xexpdRNBb/RhqwWz7MFTFlI2m9cEHEqup SQ/QK5a7+I3bv7TsT0/IgbrDRmOGhXdRF1Qwfapbpsg4Ac/TzTNINmTIOHMffiDe14Y4 gOZcRQncRx8+OCvK9k12j8vmEkP3gSauS4o/mI+fES1SXVQXUaFgxv3al0ZUyw1wHurr pkQg== X-Received: by 10.28.144.143 with SMTP id s137mr3475742wmd.26.1447772228621; Tue, 17 Nov 2015 06:57:08 -0800 (PST) Received: from localhost.localdomain ([212.91.95.170]) by smtp.gmail.com with ESMTPSA id b84sm22578986wmh.15.2015.11.17.06.57.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Nov 2015 06:57:07 -0800 (PST) From: Carlo Caione To: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, linux@arm.linux.org.uk, linux-meson@googlegroups.com, drake@endlessm.com, jerry.cao@amlogic.com, victor.wan@amlogic.com, pawel.moll@arm.com, arnd@arndb.de Subject: [PATCH 7/7] ARM: DTS: meson8b: Add SMP related nodes Date: Tue, 17 Nov 2015 15:56:42 +0100 Message-Id: <1447772202-12418-8-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1447772202-12418-1-git-send-email-carlo@caione.org> References: <1447772202-12418-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151117_065725_741963_70B1AD0D X-CRM114-Status: GOOD ( 10.42 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Carlo Caione Add nodes for: SCU, PMU and SRAM. Set also the enable-method for SMP bringup. Signed-off-by: Carlo Caione --- arch/arm/boot/dts/meson8b.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 977d55f..0477a81 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -51,9 +51,20 @@ / { interrupt-parent = <&gic>; + scu@c4300000 { + compatible = "arm,cortex-a5-scu"; + reg = <0xc4300000 0x100>; + }; + + pmu@c81000e4 { + compatible = "amlogic,meson8b-pmu", "syscon"; + reg = <0xc81000e0 0x18>; + }; + cpus { #address-cells = <1>; #size-cells = <0>; + enable-method = "amlogic,meson8b-smp"; cpu@200 { device_type = "cpu"; @@ -88,6 +99,19 @@ }; }; + sram: sram@d9000000 { + compatible = "mmio-sram"; + reg = <0xd9000000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0xd9000000 0x20000>; + + smp-sram@1ff80 { + compatible = "amlogic,meson8b-smp-sram"; + reg = <0x1ff80 0x8>; + }; + }; + soc { compatible = "simple-bus"; #address-cells = <1>;