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: 7257101 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B9D569F443 for ; Thu, 24 Sep 2015 14:27:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DE13A208D6 for ; Thu, 24 Sep 2015 14:27:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 029DD2093F for ; Thu, 24 Sep 2015 14:27:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752668AbbIXO13 (ORCPT ); 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: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 {