From patchwork Tue Feb 11 06:29:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kukjin Kim X-Patchwork-Id: 24434 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9A5B8202B2 for ; Tue, 11 Feb 2014 06:28:22 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id w20sf16526743vbb.11 for ; Mon, 10 Feb 2014 22:28:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:dlp-filter:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=ryqAJlY2y4VuDh6zFuKqdBX6ZCozGTTtk/e6JruPaE8=; b=FkY6YMEL/wu/uSjQyOUgwvaa2uYYAWfeHm62thU4liu62HbY33wB6ov9ck5ggUXXAG djgphkNfrh6WqN62W3dkmSPd0xVZewEvlmfWuxUBkAalbWVbkSCB4F53IarIN/4Tn8Hw 76gfIhX+ZKYb+mXKhw3iDXHjAJVrVJ36Uw0UiwEMCM5T9FMkzRpt/kmcp0zc5wk8g5X2 9Tqd7Q1VSlP/mDxEYQhk+vuE8XrfLfu3fpYau9DdYKSz8gDQcUHJhwus6to7UxF9/1za 03u9AffdhwWeM1/eIYeHulbiz8BKv8M6MULxsmZdiZyCS3mY3YKq4nqRNI+jqQ1ehoQ/ NzwA== X-Gm-Message-State: ALoCoQkWAk06HQfSJbnUGvB+4eLuOK4V2qzQRoepVQDZ+gE0A0d3ioJDKzcYTE8nHHKWrFh0FDSe X-Received: by 10.236.84.239 with SMTP id s75mr12981964yhe.28.1392100101499; Mon, 10 Feb 2014 22:28:21 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.201 with SMTP id d67ls683979qgd.62.gmail; Mon, 10 Feb 2014 22:28:21 -0800 (PST) X-Received: by 10.52.170.241 with SMTP id ap17mr22606323vdc.13.1392100101369; Mon, 10 Feb 2014 22:28:21 -0800 (PST) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id xs6si4535658vec.40.2014.02.10.22.28.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 22:28:21 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hq11so5745056vcb.28 for ; Mon, 10 Feb 2014 22:28:21 -0800 (PST) X-Received: by 10.220.67.18 with SMTP id p18mr16646074vci.14.1392100101281; Mon, 10 Feb 2014 22:28:21 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp223319vcz; Mon, 10 Feb 2014 22:28:20 -0800 (PST) X-Received: by 10.66.141.231 with SMTP id rr7mr29999061pab.41.1392100100305; Mon, 10 Feb 2014 22:28:20 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cf2si17869284pad.53.2014.02.10.22.28.19; Mon, 10 Feb 2014 22:28:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750778AbaBKG2T (ORCPT + 8 others); Tue, 11 Feb 2014 01:28:19 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:58119 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750762AbaBKG2R (ORCPT ); Tue, 11 Feb 2014 01:28:17 -0500 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N0T00B5BJB3JM90@mailout4.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 11 Feb 2014 15:28:15 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 18.E6.10364.FF2C9F25; Tue, 11 Feb 2014 15:28:15 +0900 (KST) X-AuditID: cbfee690-b7f266d00000287c-4f-52f9c2ffe260 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id BA.7C.28157.FF2C9F25; Tue, 11 Feb 2014 15:28:15 +0900 (KST) Received: from nebula.sisodomain.com ([107.108.207.158]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N0T009NLJAWFM80@mmp1.samsung.com>; Tue, 11 Feb 2014 15:28:15 +0900 (KST) From: Kukjin Kim To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Ilho Lee , Thomas Abraham , Kukjin Kim , Catalin Marinas Subject: [PATCH 1/3] arm64: dts: add initial dts for Samsung GH7 SoC and SSDK-GH7 board Date: Tue, 11 Feb 2014 11:59:41 +0530 Message-id: <1392100183-30930-2-git-send-email-kgene.kim@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1392100183-30930-1-git-send-email-kgene.kim@samsung.com> References: <1392100183-30930-1-git-send-email-kgene.kim@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrNLMWRmVeSWpSXmKPExsVy+t8zY93/h34GGbyeLWXxfl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gLfE8muK IDXMAvMZJY7vfwRWIywQKfHjQD+YzSKgKrH5/wdmEJtXwFVi+pE9jBDbFCW6n01gA7E5Bdwk un7PYAexhYBq2l+cYZrAyLuAkWEVo2hqQXJBcVJ6rpFecWJucWleul5yfu4mRnC8PJPewbiq weIQowAHoxIP74VPP4KEWBPLiitzDzFKcDArifD+mPMzSIg3JbGyKrUoP76oNCe1+BBjMtBV E5mlRJPzgbGcVxJvaGxiZmRpZGZhZGJuTpqwkjjvwVbrQCGB9MSS1OzU1ILUIpgtTBycUg2M M/7NnRvz+fCTB8WcQZbF87aZ7ork3LtbvSDx7eqkJSZJOb9ubdX0NVuV2lz5m+9w19EdnruO 1a2SW/JuQl1e3uHXd+9tm+60yVt0ws5ZNu4x85JVZBn/PdG7cMbXPyjsjWBqp9PS37cuWx7y N52bczqt6eGk1KnLa6b0HE5+rCO07Nq6C3dMrymxFGckGmoxFxUnAgAnxTuJ2wIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kgene.kim@samsung.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Kukjin Kim Reviewed-by: Thomas Abraham Cc: Catalin Marinas --- arch/arm64/boot/dts/samsung-gh7.dtsi | 108 ++++++++++++++++++++++++++++++ arch/arm64/boot/dts/samsung-ssdk-gh7.dts | 26 +++++++ 2 files changed, 134 insertions(+) create mode 100644 arch/arm64/boot/dts/samsung-gh7.dtsi create mode 100644 arch/arm64/boot/dts/samsung-ssdk-gh7.dts diff --git a/arch/arm64/boot/dts/samsung-gh7.dtsi b/arch/arm64/boot/dts/samsung-gh7.dtsi new file mode 100644 index 0000000..5b8785c --- /dev/null +++ b/arch/arm64/boot/dts/samsung-gh7.dtsi @@ -0,0 +1,108 @@ +/* + * SAMSUNG GH7 SoC device tree source + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. +*/ + +/dts-v1/; + +/memreserve/ 0x80000000 0x0C400000; + +/ { + model = "SAMSUNG GH7"; + compatible = "samsung,gh7"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu@000 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x000>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x8000fff8>; + }; + cpu@001 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x001>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x8000fff8>; + }; + cpu@002 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x002>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x8000fff8>; + }; + cpu@003 { + device_type = "cpu"; + compatible = "arm,armv8"; + reg = <0x0 0x003>; + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x8000fff8>; + }; + }; + + gic: interrupt-controller@1C000000 { + compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + reg = <0x0 0x1C001000 0 0x1000>, /* GIC Dist */ + <0x0 0x1C002000 0 0x1000>, /* GIC CPU */ + <0x0 0x1C004000 0 0x2000>, /* GIC VCPU Control */ + <0x0 0x1C006000 0 0x2000>; /* GIC VCPU */ + interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */ + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = <1 13 0xff01>, /* Secure Phys IRQ */ + <1 14 0xff01>, /* Non-secure Phys IRQ */ + <1 11 0xff01>, /* Virt IRQ */ + <1 10 0xff01>; /* Hyp IRQ */ + clock-frequency = <100000000>; + }; + + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = <0 294 8>, + <0 295 8>, + <0 296 8>, + <0 297 8>, + <0 298 8>, + <0 299 8>, + <0 300 8>, + <0 301 8>; + }; + + amba { + compatible = "arm,amba-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + serial@12c00000 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x12c00000 0x10000>; + interrupts = <418>; + }; + + serial@12c20000 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0x12c20000 0x10000>; + interrupts = <420>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/samsung-ssdk-gh7.dts b/arch/arm64/boot/dts/samsung-ssdk-gh7.dts new file mode 100644 index 0000000..47afbc4 --- /dev/null +++ b/arch/arm64/boot/dts/samsung-ssdk-gh7.dts @@ -0,0 +1,26 @@ +/* + * SAMSUNG SSDK-GH7 board device tree source + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. +*/ + +/dts-v1/; +#include "samsung-gh7.dtsi" + +/ { + model = "SAMSUNG SSDK-GH7 board based on GH7 SoC"; + compatible = "samsung,ssdk-gh7", "samsung,gh7"; + + chosen { + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x00000000 0x80000000 0 0x80000000>; + }; +};