From patchwork Tue Sep 30 08:43:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 5001171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6775C9F3DF for ; Tue, 30 Sep 2014 08:46:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9898320172 for ; Tue, 30 Sep 2014 08:46:54 +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 D2D6F20166 for ; Tue, 30 Sep 2014 08:46:53 +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 1XYt3M-0000ST-1V; Tue, 30 Sep 2014 08:45:00 +0000 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XYt2w-0008U6-Kj for linux-arm-kernel@lists.infradead.org; Tue, 30 Sep 2014 08:44:35 +0000 Received: by mail-we0-f173.google.com with SMTP id p10so5075752wes.18 for ; Tue, 30 Sep 2014 01:44:12 -0700 (PDT) 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=R9gEhia78ZzreJGXcBKCwu4IPKJskVL5sVV6wVL86BI=; b=aIHCvD8mh17YVBmHOyxsk/xjYSv3fFZWCHRcqMXXb1fxkxMt4vuIM8Seo0xV/nRMnt TXtDzIMaLpwQGTkL7qlJgiM7fcppguwBpTUV6TvQyU1YizfnZp8s+NIyyYGqLt99k/fM 1fAzYX2MUlZ3MjmZuD4E5iV9JGsGeiy5vcYum5qyAdRt/BSoTK4x0VVfDP9PqCMRKu/D vJUKbZnVo2kJjr3kK5JmzS+BvddvD8bJvjyd1UYvIUV24fT3abZmEBw8u7tvACaD82T+ 45YKJERWqMsdk0UFXLvs7zb0DjJ8NvjO27jaQCkcAk1TFqFnTC+Cb52B+uYJeU+9Ww4c lshg== X-Received: by 10.194.177.226 with SMTP id ct2mr49807203wjc.20.1412066651859; Tue, 30 Sep 2014 01:44:11 -0700 (PDT) Received: from localhost.localdomain (host132-112-dynamic.20-79-r.retail.telecomitalia.it. [79.20.112.132]) by mx.google.com with ESMTPSA id a2sm8898533wic.19.2014.09.30.01.44.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Sep 2014 01:44:10 -0700 (PDT) From: Carlo Caione To: 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, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: Meson6: enable SMP in DTS/DTSI Date: Tue, 30 Sep 2014 10:43:55 +0200 Message-Id: <1412066635-5298-4-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412066635-5298-1-git-send-email-carlo@caione.org> References: <1412066635-5298-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140930_014434_827070_1BD5CA12 X-CRM114-Status: UNSURE ( 9.40 ) 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_NONE,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 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 55feb14..30b6f95 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";