From patchwork Fri Nov 14 16:25:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 5308411 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 737A3C11AC for ; Fri, 14 Nov 2014 16:28:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9DFF220149 for ; Fri, 14 Nov 2014 16:28:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF01E20138 for ; Fri, 14 Nov 2014 16:28:54 +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 1XpJiH-0005D0-N6; Fri, 14 Nov 2014 16:27:09 +0000 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XpJhv-00050i-LD for linux-arm-kernel@lists.infradead.org; Fri, 14 Nov 2014 16:26:48 +0000 Received: by mail-wi0-f170.google.com with SMTP id r20so5634811wiv.1 for ; Fri, 14 Nov 2014 08:26:25 -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=0hkhaZo/Y1jDoHTC0i4oTkS+WFBUdJIQrv/+BUlGyXg=; b=kkMjH8IDT+Ar7fL91IlI0/2tKG4aocQDkSNK08jq3x57G0g+GHNgPI9CZNWEl45w+k QnK93O3ga5C2amhNXVVbBuH+9SWD8TPxj2NRsU+cpN/15WXwERsEHeiQub8ouIPsOrFJ RvbhOPQGloPisdQyE9ERNu7QPzYApvOyHH9496fQNIvHPXMiOytAFwQXtRBtzCPETihb zd84hRJOCU5sx00V4YARDzwICzlgdpW2qebZNT8se380mF0ocbiiZV8IKLdXiLNICdJm 5JOBpNQRWmev8CO6hxhF4SA1SH9mR/g/2/vme3EEY7KQZIKh9M4kUkpZhTl9EyAyKUMt iVKQ== X-Received: by 10.194.175.67 with SMTP id by3mr15345497wjc.32.1415982385631; Fri, 14 Nov 2014 08:26:25 -0800 (PST) Received: from localhost.localdomain (host38-130-dynamic.51-79-r.retail.telecomitalia.it. [79.51.130.38]) by mx.google.com with ESMTPSA id 10sm40218990wjs.21.2014.11.14.08.26.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Nov 2014 08:26:25 -0800 (PST) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@arm.linux.org.uk, maxime.ripard@free-electrons.com, b.galvani@gmail.com, jerry.cao@amlogic.com, victor.wan@amlogic.com, arnd@arndb.de, eric.hankinson@leandogsoftware.com Subject: [PATCH RESEND 3/3] ARM: Meson6: enable SMP in DTS/DTSI Date: Fri, 14 Nov 2014 17:25:53 +0100 Message-Id: <1415982353-9293-4-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415982353-9293-1-git-send-email-carlo@caione.org> References: <1415982353-9293-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141114_082647_845887_311CCD66 X-CRM114-Status: UNSURE ( 8.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Carlo Caione X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 Signed-off-by: Carlo Caione --- arch/arm/boot/dts/meson.dtsi | 5 +++++ arch/arm/boot/dts/meson6.dtsi | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index e6539ea..6178756 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi @@ -64,6 +64,11 @@ interrupts = <0 10 1>; }; + scu@c4300000 { + compatible = "arm,cortex-a9-scu"; + reg = <0xc4300000 0x1000>; + }; + soc { compatible = "simple-bus"; #address-cells = <1>; diff --git a/arch/arm/boot/dts/meson6.dtsi b/arch/arm/boot/dts/meson6.dtsi index 4ba4912..6e7230f 100644 --- a/arch/arm/boot/dts/meson6.dtsi +++ b/arch/arm/boot/dts/meson6.dtsi @@ -56,6 +56,7 @@ cpus { #address-cells = <1>; #size-cells = <0>; + enable-method = "amlogic,meson6-smp"; cpu@200 { device_type = "cpu"; @@ -70,6 +71,11 @@ }; }; + cpuconfig@d901ff80 { + compatible = "amlogic,meson6-cpuconfig"; + reg = <0xd901ff80 0x8>; + }; + clk81: clk@0 { #clock-cells = <0>; compatible = "fixed-clock";