From patchwork Thu Sep 24 14:26:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 54102 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 3C8EC22DC2 for ; Thu, 24 Sep 2015 14:27:43 +0000 (UTC) Received: by lamf6 with SMTP id f6sf41385752lam.1 for ; Thu, 24 Sep 2015 07:27:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=0CIkzCDnRfQ5gix/NbBSEYtpfaYO7DyMPMc1JtjosyI=; b=TNzVGv720f4ZqQ98vsNzIo9LHMK5nxf1TjVuVXbKxh6edfm3hg/1D1AX9NwG0fIJ9j Fug8aoLADhlOBDIYM+UfSgKWTI9HmnYRqdhXeqR7YwGbjlhazeqW3/C+XSKzqElusMY7 +xwjfhtrRCWeFh/IEwKEsytcGcfxw3UFiD/7ke+WM2KozAedbjL9UXLdfM0gVIUx9inr xaDBfJENpiNLFU8VdUyFUJ5NGR+aBwWJ/ZWN0sucpPDavVwH7KGKwj0Mvxm4wnbBTcc0 Gy2qLccSi1KoPLxcYv7m9o1rSK8EOhEBtlZC25yJ1WLUmrLlrNcEeIH5jY+dQjyrC4bm mDUQ== X-Gm-Message-State: ALoCoQk402wuC87n3J+M0Fm527IBBK3eVw5hkbrzsBx2Q7p+BlksBPgEtu7B1OIyHZr9abAlvZCe X-Received: by 10.152.197.34 with SMTP id ir2mr1548827lac.10.1443104862167; Thu, 24 Sep 2015 07:27:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.103 with SMTP id l7ls94478laf.78.gmail; Thu, 24 Sep 2015 07:27:42 -0700 (PDT) X-Received: by 10.25.31.212 with SMTP id f203mr4311lff.6.1443104862038; Thu, 24 Sep 2015 07:27:42 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id s62si2514210lfd.169.2015.09.24.07.27.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 07:27:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by lacdq2 with SMTP id dq2so10422353lac.1 for ; Thu, 24 Sep 2015 07:27:41 -0700 (PDT) X-Received: by 10.112.17.34 with SMTP id l2mr13285673lbd.117.1443104861923; Thu, 24 Sep 2015 07:27:41 -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.112.59.35 with SMTP id w3csp378728lbq; Thu, 24 Sep 2015 07:27:41 -0700 (PDT) X-Received: by 10.68.195.3 with SMTP id ia3mr29554643pbc.106.1443104851256; Thu, 24 Sep 2015 07:27:31 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ou3si18845730pbb.11.2015.09.24.07.27.31; Thu, 24 Sep 2015 07:27:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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 S1752668AbbIXO13 (ORCPT + 5 others); Thu, 24 Sep 2015 10:27:29 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:57351 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752456AbbIXO12 (ORCPT ); Thu, 24 Sep 2015 10:27:28 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t8OER8lL015890; Thu, 24 Sep 2015 09:27:08 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8OER8Ih024410; Thu, 24 Sep 2015 09:27:08 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Thu, 24 Sep 2015 09:27:08 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8OEQjRY012528; Thu, 24 Sep 2015 09:27:06 -0500 From: Tero Kristo To: , , , CC: Subject: [PATCH 09/17] ARM: dts: OMAP24xx: add reset data Date: Thu, 24 Sep 2015 17:26:50 +0300 Message-ID: <1443104818-993-10-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1443104818-993-1-git-send-email-t-kristo@ti.com> References: <1443104818-993-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: t-kristo@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mailfrom=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: , Add iva, dsp and system reset control as DT data.. Signed-off-by: Tero Kristo --- arch/arm/boot/dts/omap2420.dtsi | 24 ++++++++++++++++++++++++ arch/arm/boot/dts/omap2430.dtsi | 17 +++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/omap2420.dtsi b/arch/arm/boot/dts/omap2420.dtsi index 5b9a376..cfb802d 100644 --- a/arch/arm/boot/dts/omap2420.dtsi +++ b/arch/arm/boot/dts/omap2420.dtsi @@ -13,6 +13,23 @@ / { compatible = "ti,omap2420", "ti,omap2"; + soc { + iva { + compatible = "ti,omap2420-iva"; + ti,hwmods = "iva"; + reset-names = "iva"; + resets = <&prcm 0x800 0 8 0 8>; + }; + + dsp { + ti,hwmods = "dsp"; + compatible = "ti,omap2420-dsp"; + reset-names = "logic", "mmu"; + resets = <&prcm 0x800 0 0 0 4>, + <&prcm 0x800 0 1 0 5>; + }; + }; + ocp { l4: l4@48000000 { compatible = "ti,omap2-l4", "simple-bus"; @@ -23,6 +40,7 @@ prcm: prcm@8000 { compatible = "ti,omap2-prcm"; reg = <0x8000 0x1000>; + #reset-cells = <5>; prcm_clocks: clocks { #address-cells = <1>; @@ -31,6 +49,12 @@ prcm_clockdomains: clockdomains { }; + + system_reset: system_reset { + compatible = "ti,system-reset"; + reset-names = "system"; + resets = <&prcm 0x400 0 2 0 0>; + }; }; scm: scm@0 { diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi index 2390f38..0d5f0d6 100644 --- a/arch/arm/boot/dts/omap2430.dtsi +++ b/arch/arm/boot/dts/omap2430.dtsi @@ -13,6 +13,16 @@ / { compatible = "ti,omap2430", "ti,omap2"; + soc { + iva { + compatible = "ti,iva2.1"; + ti,hwmods = "iva"; + reset-names = "logic", "mmu"; + resets = <&prcm 0x800 0 0 0 4>, + <&prcm 0x800 0 1 0 5>; + }; + }; + ocp { l4_wkup: l4_wkup@49000000 { compatible = "ti,omap2-l4-wkup", "simple-bus"; @@ -23,6 +33,7 @@ prcm: prcm@6000 { compatible = "ti,omap2-prcm"; reg = <0x6000 0x1000>; + #reset-cells = <5>; prcm_clocks: clocks { #address-cells = <1>; @@ -31,6 +42,12 @@ prcm_clockdomains: clockdomains { }; + + system_reset: system_reset { + compatible = "ti,system-reset"; + reset-names = "system"; + resets = <&prcm 0x400 0 2 0 0>; + }; }; scm: scm@2000 {