From patchwork Tue May 7 13:01:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2533311 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 43B9EE00E6 for ; Tue, 7 May 2013 13:04:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758907Ab3EGNDT (ORCPT ); Tue, 7 May 2013 09:03:19 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:32880 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758245Ab3EGNDR (ORCPT ); Tue, 7 May 2013 09:03:17 -0400 Received: by mail-pb0-f41.google.com with SMTP id mc17so386968pbc.28 for ; Tue, 07 May 2013 06:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=keMJrno2gmwaa1Tt748NupisEIcErWxwcAddaHee4eU=; b=KXdYXPggjtwq4qEmJyzVgocMoTA+tVg7lDQaIHduQFlVSisAW7dmQye/uCYzZqqgQH Z/XcWzZR/7w/PcGbQ4dc3xB0fsS4FESwrmeiohdTKW1nFF5lZNEezrNTkEtmVTnWxCKU YoCwCFNwNUz1AqLGTTuoRRwB28QTwdZdsTTtCi8vMW1DspStV40CZLUd3zvGQJ8m5dye JiHCJYOtYgnwRwo28D1rOeQJ5IYOoE9xD9QJmA2c5ROpjd0VG00QXV+NxIyOVbHTmFyL F19DIoEAeM6csfCBVHIjDttk8vKogz85rpoq5sTZSdOL+niYcAkq/PdYbqa59SRN6ivI +g7Q== X-Received: by 10.66.27.17 with SMTP id p17mr2727333pag.108.1367931796532; Tue, 07 May 2013 06:03:16 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id l4sm28220809pbo.6.2013.05.07.06.03.11 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 07 May 2013 06:03:15 -0700 (PDT) From: Amit Daniel Kachhap To: linux-pm@vger.kernel.org Cc: Zhang Rui , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, amit.kachhap@gmail.com, Kukjin Kim , Eduardo Valentin Subject: [PATCH V3 21/21] ARM: dts: Add device tree node for exynos5440 TMU controller Date: Tue, 7 May 2013 18:31:11 +0530 Message-Id: <1367931671-3906-22-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1367931671-3906-1-git-send-email-amit.daniel@samsung.com> References: <1367931671-3906-1-git-send-email-amit.daniel@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This patch adds device node for TMU controller. There are 3 instances of the controllers so 3 nodes are created. Acked-by: Kukjin Kim Signed-off-by: Amit Daniel Kachhap --- arch/arm/boot/dts/exynos5440.dtsi | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index 9a99755..433e92e 100644 --- a/arch/arm/boot/dts/exynos5440.dtsi +++ b/arch/arm/boot/dts/exynos5440.dtsi @@ -16,6 +16,12 @@ interrupt-parent = <&gic>; + aliases { + tmuctrl0 = &tmuctrl_0; + tmuctrl1 = &tmuctrl_1; + tmuctrl2 = &tmuctrl_2; + }; + gic:interrupt-controller@2E0000 { compatible = "arm,cortex-a15-gic"; #interrupt-cells = <3>; @@ -162,4 +168,28 @@ reg = <0x130000 0x1000>; interrupts = <0 17 0>, <0 16 0>; }; + + tmuctrl_0: tmuctrl@160118 { + compatible = "samsung,exynos5440-tmu"; + reg = <0x160118 0x230>, <0x160368 0x10>; + interrupts = <0 58 0>; + clocks = <&clock 21>; + clock-names = "tmu_apbif"; + }; + + tmuctrl_1: tmuctrl@16011C { + compatible = "samsung,exynos5440-tmu"; + reg = <0x16011C 0x230>, <0x160368 0x10>; + interrupts = <0 58 0>; + clocks = <&clock 21>; + clock-names = "tmu_apbif"; + }; + + tmuctrl_2: tmuctrl@160120 { + compatible = "samsung,exynos5440-tmu"; + reg = <0x160120 0x230>, <0x160368 0x10>; + interrupts = <0 58 0>; + clocks = <&clock 21>; + clock-names = "tmu_apbif"; + }; };