From patchwork Mon Mar 10 22:51:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kukjin Kim X-Patchwork-Id: 26009 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1C8742055F for ; Mon, 10 Mar 2014 22:51:58 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id j5sf5346556qga.2 for ; Mon, 10 Mar 2014 15:51:57 -0700 (PDT) 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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=FHXQS/pYYIZS23hBwajSwHwHWvilECZrttSil98JUDo=; b=HAnbn6bxM/phA5Arx9WmVs7fSxdeId/2d2DP3b6PRzVxiva75ZhY/dulrH3FDHEzPU /ptG92GKstRocEfluyrANz2UsJDlIibWoHkrPZC5Dee9khxXXSTpXINmprSDV053s0zr zd7yBlJ/Z0rIhEhJzN3Cab1BkJrzkKCwmdB28iBkUdb6pWMNgD2J/qLpSPzqtjk+Whil j9lOXgg5VmLW2ZF459HO8w1iZ3i/uryBz6traToMM6WQbm8Tf5L6Wlqmz9lqxkdRrfY8 BM7xTHhkkP5YptELo2bPlEA1cbm9Db+H6B9GpevR0ym+AXUsknNZj3XvL9kBz2LBSh1/ Alug== X-Gm-Message-State: ALoCoQlfjxAhlsXJ/VLu286Wx32WrRZAGhZwUpF1DCNpbwN9ojL59fnqCgcK+RnwLn6ZEHYg6W3Y X-Received: by 10.58.46.172 with SMTP id w12mr11869767vem.24.1394491917853; Mon, 10 Mar 2014 15:51:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.20.100 with SMTP id 91ls2309825qgi.18.gmail; Mon, 10 Mar 2014 15:51:57 -0700 (PDT) X-Received: by 10.220.95.139 with SMTP id d11mr6813002vcn.21.1394491917764; Mon, 10 Mar 2014 15:51:57 -0700 (PDT) Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [2607:f8b0:400c:c03::233]) by mx.google.com with ESMTPS id 16si5199316vce.12.2014.03.10.15.51.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 15:51:57 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c03::233 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c03::233; Received: by mail-vc0-f179.google.com with SMTP id ij19so7233674vcb.38 for ; Mon, 10 Mar 2014 15:51:57 -0700 (PDT) X-Received: by 10.220.250.203 with SMTP id mp11mr24449734vcb.2.1394491917676; Mon, 10 Mar 2014 15:51:57 -0700 (PDT) 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.78.9 with SMTP id i9csp153432vck; Mon, 10 Mar 2014 15:51:57 -0700 (PDT) X-Received: by 10.68.190.200 with SMTP id gs8mr43592360pbc.130.1394491916652; Mon, 10 Mar 2014 15:51:56 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si18139499pbn.226.2014.03.10.15.51.56; Mon, 10 Mar 2014 15:51:56 -0700 (PDT) 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 S1752435AbaCJWvz (ORCPT + 8 others); Mon, 10 Mar 2014 18:51:55 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:35985 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752439AbaCJWvz (ORCPT ); Mon, 10 Mar 2014 18:51:55 -0400 Received: by mail-pd0-f178.google.com with SMTP id x10so7716608pdj.9 for ; Mon, 10 Mar 2014 15:51:54 -0700 (PDT) X-Received: by 10.66.197.164 with SMTP id iv4mr43734918pac.18.1394491914655; Mon, 10 Mar 2014 15:51:54 -0700 (PDT) Received: from localhost.localdomain ([115.23.146.239]) by mx.google.com with ESMTPSA id lh13sm92012225pab.4.2014.03.10.15.51.52 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 10 Mar 2014 15:51:53 -0700 (PDT) From: Kukjin Kim To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Thomas Abraham , Ilho Lee , Catalin Marinas , Kukjin Kim Subject: [PATCH v2 1/3] arm64: dts: add initial dts for Samsung GH7 SoC and SSDK-GH7 board Date: Tue, 11 Mar 2014 07:51:17 +0900 Message-Id: <1394491879-5320-2-git-send-email-kgene.kim@samsung.com> X-Mailer: git-send-email 1.8.2.1.339.g52a3e01 In-Reply-To: <1394491879-5320-1-git-send-email-kgene.kim@samsung.com> References: <1394491879-5320-1-git-send-email-kgene.kim@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Original-Sender: kgene.kim@samsung.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c03::233 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; dkim=neutral (bad format) header.i=@gmail.com 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 | 106 +++++++++++++++++++++++++++++++ arch/arm64/boot/dts/samsung-ssdk-gh7.dts | 26 ++++++++ 2 files changed, 132 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..b5e8488 --- /dev/null +++ b/arch/arm64/boot/dts/samsung-gh7.dtsi @@ -0,0 +1,106 @@ +/* + * 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. +*/ + +/memreserve/ 0x80000000 0x0C400000; + +/ { + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = "/amba/uart@12c00000"; + }; + + 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"; + #interrupt-cells = <3>; + 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 */ + }; + + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = <0 294 0>, + <0 295 0>, + <0 296 0>, + <0 297 0>, + <0 298 0>, + <0 299 0>, + <0 300 0>, + <0 301 0>; + }; + + amba { + compatible = "arm,amba-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + serial@12c00000 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0 0x12c00000 0 0x10000>; + interrupts = <0 418 0>; + }; + + serial@12c20000 { + compatible = "arm,pl011", "arm,primecell"; + reg = <0 0x12c20000 0 0x10000>; + interrupts = <0 420 0>; + }; + }; +}; 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>; + }; +};