From patchwork Wed Sep 10 10:05:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 4875621 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 E63C7C0338 for ; Wed, 10 Sep 2014 10:10:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A029B2017A for ; Wed, 10 Sep 2014 10:10:52 +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 6FB2920142 for ; Wed, 10 Sep 2014 10:10:51 +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 1XRepn-0005DN-0M; Wed, 10 Sep 2014 10:09:07 +0000 Received: from mail-pd0-x22a.google.com ([2607:f8b0:400e:c02::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XRepg-0004yj-MW; Wed, 10 Sep 2014 10:09:01 +0000 Received: by mail-pd0-f170.google.com with SMTP id fp1so3151455pdb.1 for ; Wed, 10 Sep 2014 03:08:39 -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=y2A/3/bpZgVd3ciQDJn1zWw8FZBhq71fipOIbB+b+A0=; b=g/deKUcWhq/t0epUTRiVDaZo1Bbh1kfpD5XA7uTKexWvvHn9HA6tqYIEG/4IQSMKbg JQ//f79iCjxG6LOgcY3ceWsN+CA35pEeIQX9tSg5Az7l9BW9SOXE9b5rFIHS7TlJHff7 Knqgxsi/WzJjXJCqPQcD5TaCA1KndjEMUkgWjgz5rxOXnOMihlklXKdkBAbONgVNGJhO TEmnWdJs8A1s0+szL4wZ/8xhNzj/9VtFpl3A8AJb/MF1I1eoK0PI8AoOf/YTT2L+nk8m iPhmfAa6w5UJfvEO4dmNUWvVlr4Qdt7nlRhvQMhUnCSEm5aVAjhfobtY22M+8tYCIKS7 MuDA== X-Received: by 10.70.61.10 with SMTP id l10mr3037982pdr.154.1410343719569; Wed, 10 Sep 2014 03:08:39 -0700 (PDT) Received: from localhost.localdomain ([58.22.7.114]) by mx.google.com with ESMTPSA id g13sm14859932pat.45.2014.09.10.03.08.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Sep 2014 03:08:39 -0700 (PDT) From: Kever Yang To: heiko@sntech.de Subject: [PATCH 2/2] ARM: dts: add intmem node for rk3288 smp support Date: Wed, 10 Sep 2014 18:05:54 +0800 Message-Id: <1410343554-8383-3-git-send-email-kever.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410343554-8383-1-git-send-email-kever.yang@rock-chips.com> References: <1410343554-8383-1-git-send-email-kever.yang@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140910_030900_770902_3B4D77FC X-CRM114-Status: UNSURE ( 9.10 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: huangtao@rock-chips.com, Mark Rutland , addy.ke@rock-chips.com, Russell King , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, dianders@chromium.org, Rob Herring , Kever Yang , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, xjq@rock-chips.com, Kumar Gala , cf@rock-chips.com, hj@rock-chips.com, sonnyrao@chromium.org, linux-arm-kernel@lists.infradead.org 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=-4.3 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 This patch add intmem node des which is needed by platsmp.c and enable the smp. Signed-off-by: Heiko Stuebner Signed-off-by: Kever Yang --- arch/arm/boot/dts/rk3288.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index dca586e..562ec5f 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -40,6 +40,7 @@ #address-cells = <1>; #size-cells = <0>; + enable-method = "rockchip,rk3288-smp"; cpu@500 { device_type = "cpu"; compatible = "arm,cortex-a12"; @@ -353,6 +354,23 @@ status = "disabled"; }; + bus_intmem@ff700000 { + compatible = "mmio-sram"; + reg = <0xff700000 0x18000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0xff700000 0x18000>; + smp-sram@0 { + compatible = "rockchip,rk3066-smp-sram"; + reg = <0x00 0x10>; + }; + }; + + pmu_intmem@ff720000 { + compatible = "mmio-sram"; + reg = <0xff720000 0x4000>; + }; + pmu: power-management@ff730000 { compatible = "rockchip,rk3288-pmu", "syscon"; reg = <0xff730000 0x100>;