From patchwork Fri Oct 10 21:26:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 5067601 Return-Path: X-Original-To: patchwork-linux-rockchip@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 62B0C9F295 for ; Fri, 10 Oct 2014 21:28:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 87D002017D for ; Fri, 10 Oct 2014 21:28:04 +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 A410F20176 for ; Fri, 10 Oct 2014 21:28:03 +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 1XchjH-0002e5-89; Fri, 10 Oct 2014 21:28:03 +0000 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xchi6-00023l-Qk; Fri, 10 Oct 2014 21:26:51 +0000 Received: by mail-pa0-f48.google.com with SMTP id eu11so2442754pac.7 for ; Fri, 10 Oct 2014 14:26:30 -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=A0vFLMHj0JNFrOnVV6AKpuNK0+Ni59TNWFtFbnXb9f8=; b=0WQQTqfn2PTdLZMeVahFxeKOuvdO5bKF2pKV0gsbFSRCs/a+KaY1disN7YJ6ZMAGMY UvG4qq2P8SMUt1hSOHoOHR5l7P+788x67p79K5Ikb2Q/g/nt9FDpivy81f9pl2X5KMiI b0jxeRAR4tkHBfWMYbl73jFM6HQh8Keu3AqhSjcUp3YQHa4dqSrN6Rx8Yi8NSrqY8/e5 xIou0D2XOpxIfPGWoFE8wMQhEY8zUY2uapsLUKU/IaSK3rTTJUlxdWtzyMnGNwdc5j2Q CUv7VXBkTgboN8WRxSMqmcQ+oG+7yOUe8/1NoWSUN2w0E5BS7zAdG0uCEbXnBSGx9LCF jS9g== X-Received: by 10.70.43.199 with SMTP id y7mr3806099pdl.12.1412976389993; Fri, 10 Oct 2014 14:26:29 -0700 (PDT) Received: from kever-X240.corp.google.com (dhcp-172-22-52-129.mtv.corp.google.com [172.22.52.129]) by mx.google.com with ESMTPSA id qp9sm4373709pbc.31.2014.10.10.14.26.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Oct 2014 14:26:29 -0700 (PDT) From: Kever Yang To: heiko@sntech.de Subject: [PATCH v3 6/6] ARM: dts: rockchip: add intmem node for rk3288 smp support Date: Fri, 10 Oct 2014 14:26:10 -0700 Message-Id: <1412976370-14468-7-git-send-email-kever.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412976370-14468-1-git-send-email-kever.yang@rock-chips.com> References: <1412976370-14468-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-20141010_142650_914964_7EC6913E X-CRM114-Status: UNSURE ( 9.82 ) 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-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.8 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 Signed-off-by: Heiko Stuebner Signed-off-by: Kever Yang --- Changes in v3: - remove 'enable-method' from this patch - add compitable name "rockchip,rk3288-pmu-sram" for pmu-intmem Changes in v2: - adjust the alignment arch/arm/boot/dts/rk3288.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 44108fe..5e9c56d 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -441,6 +441,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", "rockchip,rk3288-pmu-sram"; + reg = <0xff720000 0x4000>; + }; + pmu: power-management@ff730000 { compatible = "rockchip,rk3066-pmu", "syscon"; reg = <0xff730000 0x100>;