From patchwork Tue Jan 21 19:47:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Fritz X-Patchwork-Id: 3519401 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 286A5C02DC for ; Tue, 21 Jan 2014 19:48:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B19520117 for ; Tue, 21 Jan 2014 19:48:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7A8D320109 for ; Tue, 21 Jan 2014 19:48:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752074AbaAUTsN (ORCPT ); Tue, 21 Jan 2014 14:48:13 -0500 Received: from mail-la0-f42.google.com ([209.85.215.42]:51974 "EHLO mail-la0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751581AbaAUTsL (ORCPT ); Tue, 21 Jan 2014 14:48:11 -0500 Received: by mail-la0-f42.google.com with SMTP id hr13so4967341lab.15 for ; Tue, 21 Jan 2014 11:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+s3rvkZsO3slw8sWZWhl5Owdyf/kzNNmGrp9bqFqJUw=; b=W44hcNOdErtP4VwHa+AlfYwoQTPx0SELgebHoOC3lixbCkIIDZWSATUWa01ngpzZ2N oPGlklq92yKWP7ofR2UR5RWCIC/tRb+GURC6GPCIyg1v9OXZXEGYRXliBcIlaq2KXRv+ YKjwqZsEdir9/MxGf0SUPVafbmMyn1/MW3YFqr/KGal44krmC00Zfb8XAeGtYaRdtbUS vA55Q0lZW5FgK4cYi+nwnWtuFLbqSaIlMO3bYhFECwuBplGxiPCQbvQqTzCui6F0NigD nd0NZ45p5IqbEknuoOaUkzuHaWrk134MYDTP6ovRTTdYVC4zNIx/kiMkHoZLz1vzUpqp BTDQ== X-Received: by 10.112.181.232 with SMTP id dz8mr16560155lbc.8.1390333690322; Tue, 21 Jan 2014 11:48:10 -0800 (PST) Received: from mars.ipredator.se (anon-35-60.vpn.ipredator.se. [46.246.35.60]) by mx.google.com with ESMTPSA id n13sm5015606lbl.17.2014.01.21.11.48.07 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 21 Jan 2014 11:48:09 -0800 (PST) From: Christoph Fritz To: Tony Lindgren , Tomi Valkeinen , Mark Rutland , Ian Campbell , , Archit Taneja , Javier Martinez Canillas , Daniel Mack , "Hans J. Koch" Cc: devicetree@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH 1/6] ARM: dts: Add CPU OPP table for omap37xx100 Date: Tue, 21 Jan 2014 20:47:35 +0100 Message-Id: <1390333660-30573-2-git-send-email-chf.fritz@googlemail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1390333660-30573-1-git-send-email-chf.fritz@googlemail.com> References: <1390333660-30573-1-git-send-email-chf.fritz@googlemail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 This patch adds file omap37xx100.dtsi which includs a SoC specific table for CPU OPP. Please keep in mind that am/dm37xx100 variants differ from am/dm37xx SoCs without nomenclature marker prefix "100". This marker indicates the maximum cpu frequency. 100 stands for 1 GHz-Cortex-A8, blank means maximum 800 MHz. For more info, see Datasheet http://www.ti.com/lit/ds/sprs685d/sprs685d.pdf section 7.2.1 "Device and Development-Support Tool Nomenclature". Signed-off-by: Christoph Fritz --- arch/arm/boot/dts/omap37xx100.dtsi | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 arch/arm/boot/dts/omap37xx100.dtsi diff --git a/arch/arm/boot/dts/omap37xx100.dtsi b/arch/arm/boot/dts/omap37xx100.dtsi new file mode 100644 index 0000000..064661e --- /dev/null +++ b/arch/arm/boot/dts/omap37xx100.dtsi @@ -0,0 +1,44 @@ +/* + * Device Tree Source for OMAP37x SoC + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +#include "omap3.dtsi" + +/ { + aliases { + serial3 = &uart4; + }; + + cpus { + /* AM/DM37xx */ + cpu@0 { + operating-points = < + /* kHz uV */ + 125000 975000 + 250000 1075000 + 500000 1100000 + 600000 1140000 + 800000 1270000 + 1000000 1380000 + >; + clock-latency = <300000>; /* From legacy driver */ + }; + }; + + ocp { + /* uart4 is only available on CBP and CBC packages */ + uart4: serial@49042000 { + compatible = "ti,omap3-uart"; + reg = <0x49042000 0x400>; + interrupts = <80>; + dmas = <&sdma 81 &sdma 82>; + dma-names = "tx", "rx"; + ti,hwmods = "uart4"; + clock-frequency = <48000000>; + }; + }; +};