From patchwork Tue May 14 09:58:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2564111 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 2DE4E40B27 for ; Tue, 14 May 2013 10:02:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932294Ab3ENKB5 (ORCPT ); Tue, 14 May 2013 06:01:57 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:51533 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932322Ab3ENKBe (ORCPT ); Tue, 14 May 2013 06:01:34 -0400 Received: by mail-pa0-f52.google.com with SMTP id bg2so371464pad.25 for ; Tue, 14 May 2013 03:01:33 -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=jhGnsRG6JumihOcRuthY7cI29NUUPNlCM1pNdljoYVk2etgwEAyGeO0o/7ZElQcWMH 7E7bc2rOdj3PHuMcvXusfmnq5TRmeD3n4aLnvCCu9zKeN6ceYFzZmdd8ny9nvZ0MeN46 AMC/ZCavHSeRsOGCntDKTVn3TrKBR5sFDDiWyk8gdRbXhrNKKmmBIiqOUbY72UqCYLHw 1UvoOqvC+FeRipxNRmezGpM1J98A3gq9viLnjwb7AKUHedZrD01O9wCT0SRj/NtEW1NF HP89AAIwOSBxuqWhR5+GhzAm4rjpAuhu/zu3echenoGvRR0dTv84mqDvwKNQwzOQZTXj SKPw== X-Received: by 10.66.230.164 with SMTP id sz4mr33568764pac.124.1368525693882; Tue, 14 May 2013 03:01:33 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id kv2sm17617396pbc.28.2013.05.14.03.01.29 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 14 May 2013 03:01:32 -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 V4 29/30] ARM: dts: Add device tree node for exynos5440 TMU controller Date: Tue, 14 May 2013 15:28:59 +0530 Message-Id: <1368525540-15034-30-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1368525540-15034-1-git-send-email-amit.daniel@samsung.com> References: <1368525540-15034-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"; + }; };