From patchwork Thu Jan 23 15:57:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Jacques Hiblot X-Patchwork-Id: 3529821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 54DBC9F391 for ; Thu, 23 Jan 2014 16:06:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4FD8920181 for ; Thu, 23 Jan 2014 16:06:20 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F85520179 for ; Thu, 23 Jan 2014 16:06:19 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W6MlV-0007JX-Il; Thu, 23 Jan 2014 16:04:27 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W6MkY-0005Gr-09; Thu, 23 Jan 2014 16:03:26 +0000 Received: from mail-we0-f171.google.com ([74.125.82.171]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W6MiZ-00053a-On for linux-arm-kernel@lists.infradead.org; Thu, 23 Jan 2014 16:01:24 +0000 Received: by mail-we0-f171.google.com with SMTP id w61so1401135wes.30 for ; Thu, 23 Jan 2014 08:01:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CRP6PmQE2/qVg30ptE4V71zb7TW71aoV1/bI193kSa8=; b=T2hTb5oFBtuBMKhWVDIvvk5uBMJWWDuOiXkNCO15dCvyy39J9Rn6vJXQdoqEPjAByO Xfuf2FABC7b7frMzYciZ6yyGb6qpCe5oZxmdCm0SUY7agcX1NVsZBtW/VSOMeP5SJtlJ 7+uRUDdakKd2pAe4YherJSu90+U4GM+Zs/zLOI2gnovwuA/6QnC721/14N2KOFjFaufl dvA4ONDcajlmqz3QS3t3A1pJI0cK6+TKG8aVid8F2AZSDKM/y5UIIZyCS6+5V+w7RooR froTlyy7Nby41hb5Z2NwlyJje4QiaZvIAn/isDxxuvWcXg5d3eBRywAnR2bW21qMLGPN ZzZg== X-Received: by 10.180.165.199 with SMTP id za7mr4063091wib.49.1390492863405; Thu, 23 Jan 2014 08:01:03 -0800 (PST) Received: from stedf17-labo202.ds.jdsu.net. (4-161.80-90.static-ip.oleane.fr. [90.80.161.4]) by mx.google.com with ESMTPSA id fz5sm16760691wic.11.2014.01.23.08.01.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Jan 2014 08:01:02 -0800 (PST) From: Jean-Jacques Hiblot To: nicolas.ferre@atmel.com, plagnioj@jcrosoft.com, b.brezillon@overkiz.com Subject: [PATCH v3 13/15] at91: dt: sam9261: CCF: Added USB clocks Date: Thu, 23 Jan 2014 16:57:17 +0100 Message-Id: <1390492639-7299-14-git-send-email-jjhiblot@traphandler.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1390492639-7299-1-git-send-email-jjhiblot@traphandler.com> References: <1390492639-7299-1-git-send-email-jjhiblot@traphandler.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140123_110123_930579_C6E66F92 X-CRM114-Status: UNSURE ( 7.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Jean-Jacques Hiblot , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Signed-off-by: Jean-Jacques Hiblot --- arch/arm/boot/dts/at91sam9261.dtsi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9261.dtsi b/arch/arm/boot/dts/at91sam9261.dtsi index 112e587..2a87c19 100644 --- a/arch/arm/boot/dts/at91sam9261.dtsi +++ b/arch/arm/boot/dts/at91sam9261.dtsi @@ -54,6 +54,8 @@ compatible = "atmel,at91rm9200-ohci", "usb-ohci"; reg = <0x00500000 0x100000>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>; + clocks = <&usb>, <&ohci_clk>, <&hclk0>, <&uhpck>; + clock-names = "usb_clk", "ohci_clk", "hclk", "uhpck"; status = "disabled"; }; @@ -107,6 +109,8 @@ compatible = "atmel,at91rm9200-udc"; reg = <0xfffa4000 0x4000>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>; + clocks = <&usb>, <&udc_clk>, <&udpck>; + clock-names = "usb_clk", "udc_clk", "udpck"; status = "disabled"; }; @@ -563,11 +567,30 @@ atmel,clk-divisors = <1 2 4 3>; }; + usb: usbck { + compatible = "atmel,at91rm9200-clk-usb"; + #clock-cells = <0>; + atmel,clk-divisors = <1 2 4 3>; + clocks = <&pllb>; + }; + systemck { compatible = "atmel,at91rm9200-clk-system"; #address-cells = <1>; #size-cells = <0>; + uhpck: uhpck { + #clock-cells = <0>; + reg = <6>; + clocks = <&usb>; + }; + + udpck: udpck { + #clock-cells = <0>; + reg = <7>; + clocks = <&usb>; + }; + hclk0: hclk0 { #clock-cells = <0>; reg = <16>; @@ -623,6 +646,11 @@ reg = <9>; }; + udc_clk: udc_clk { + #clock-cells = <0>; + reg = <10>; + }; + twi0_clk: twi0_clk { reg = <11>; #clock-cells = <0>; @@ -643,6 +671,11 @@ reg = <17>; }; + ohci_clk: ohci_clk { + #clock-cells = <0>; + reg = <20>; + }; + lcd_clk: lcd_clk { #clock-cells = <0>; reg = <21>;