From patchwork Tue Jun 11 12:53:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2703401 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 A8D14DF23A for ; Tue, 11 Jun 2013 12:56:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755761Ab3FKM4K (ORCPT ); Tue, 11 Jun 2013 08:56:10 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:55531 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755599Ab3FKM4J (ORCPT ); Tue, 11 Jun 2013 08:56:09 -0400 Received: by mail-pa0-f54.google.com with SMTP id kx10so3160519pab.41 for ; Tue, 11 Jun 2013 05:56:08 -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:x-mailer:in-reply-to :references; bh=LgoxZ1uF6tK4ymRebM1CmdCiJ7rXk9yaCicPuRZdeXA=; b=BSi/p/N2fknXbFBVzQFyDcp5oiSgsLboOCwIZ9uzqQeYHD7ZRyYer+FKIz79RZjNwX e8FbgLb+MKYYMoXZzmuSKwJraoJby0XS0hXDYJF1+AmnIXixq8OQr7LaYLlbPnItAusP nUZY5cBnQXnhe0T9coUw4C6KhEjxnCdPjNJPP7snGcjGLf5ah9t21f4y4llr/HL0M88p tKCEmme6ZwumoaZKPnYvgJZbv8nE3t6OcErrGUkewfVV7Un37iFNWXHKc1U9q6QFHKC6 ZViNGvLGjbvGL98kF4hsEZB4dUZbOTkFAzRD/N7bJzurnVwSSQIv7yRlqSMuxEJE8qhl XaqA== X-Received: by 10.66.87.5 with SMTP id t5mr19095675paz.169.1370955368689; Tue, 11 Jun 2013 05:56:08 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id wi6sm14599807pbc.22.2013.06.11.05.56.04 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 05:56:07 -0700 (PDT) From: Amit Daniel Kachhap To: linux-pm@vger.kernel.org, Zhang Rui , Eduardo Valentin Cc: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, amit.kachhap@gmail.com, Kukjin Kim , jonghwa3.lee@samsung.com Subject: [PATCH V5 29/30] ARM: dts: Add device tree node for exynos5440 TMU controller Date: Tue, 11 Jun 2013 18:23:39 +0530 Message-Id: <1370955220-2949-30-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1370955220-2949-1-git-send-email-amit.daniel@samsung.com> References: <1370955220-2949-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 f6b1c89..716e90c 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; + }; + clock: clock-controller@0x160000 { compatible = "samsung,exynos5440-clock"; reg = <0x160000 0x1000>; @@ -216,4 +222,28 @@ clock-names = "rtc"; status = "disabled"; }; + + 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"; + }; };