From patchwork Wed Mar 9 16:55:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 8547511 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9F405C0553 for ; Wed, 9 Mar 2016 16:56:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F31D0202AE for ; Wed, 9 Mar 2016 16:56:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 481BD202A1 for ; Wed, 9 Mar 2016 16:56:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933258AbcCIQ41 (ORCPT ); Wed, 9 Mar 2016 11:56:27 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34946 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933353AbcCIQ4Y (ORCPT ); Wed, 9 Mar 2016 11:56:24 -0500 Received: by mail-wm0-f68.google.com with SMTP id 1so11260337wmg.2; Wed, 09 Mar 2016 08:56:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=8RsFBBPZ8XgXD2mIVXiZiJS2ViDlWs236tNw4+MqYrI=; b=Z4hVYb1xpQGemxMqNOSXcERBDcCxJ3nNQ1V1yK0yfqbVawKww2OvDxrkEosH1VPpqK 5gmMZOVUErUyYZpe3jQapPKEHb3Wp+6sajC734cBP+9hPqbbD0fcNpgTTaRkaHWDNZdX xyAPcyLYD2zlu6tyCQGzFEg7ucf2jGaao7kW837F6aMLZ8l+TSTlIpjv7uOH1y/cNWYE XnDT4+h7eKI3mAyLxunvnAg18NIahAsbgSpv2oywgBO8l9kmAW24qF00jUzdvGrr7bVv RO6kYG2Vx75aeZ/Lk8idVANnMS5Ter9jPH/l3CMr8jMZY3eTvn7c8oJGev2KzpEKbp/T gMsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=8RsFBBPZ8XgXD2mIVXiZiJS2ViDlWs236tNw4+MqYrI=; b=T9tNBzRes9a3mUOXJmXoXZCID3g21Lcia3Cpck6DKF0fS/SnhPkwI3OtQz+Dw1OKx7 BCOz7H6YN087FQJcK4M4604hC57vvzqf2di6WP/ciuWaFlUeVQyUcYmFtIHCaoCNjS5B 98C/qwRjHJftgYO/sadrVmFY4tXhZ3QTv4G/HWU0y5GmdaeDS5ctsZz0tLF+pH+ZxlOe qdAVCdG7exJ0MIwawvEStlKU42tFXoRAaKl1rLs2Rg20ezmK1/A7uGE9y7rMCdckldX7 px3bGMNdJ1wyOvJ1qexGbtKqQa8pKkfAUnqsCQL3ARtFQUvxLz3g1FzqeM+X/ZsoeQFV pZjg== X-Gm-Message-State: AD7BkJKyjZTLkNTHyyRrU97aE1qbrjFYKmOyLvAH6RTm0H23NScTEBM96qkcj0A4YGVOqw== X-Received: by 10.194.201.130 with SMTP id ka2mr34982959wjc.34.1457542582519; Wed, 09 Mar 2016 08:56:22 -0800 (PST) Received: from groucho.site ([31.204.152.220]) by smtp.gmail.com with ESMTPSA id js8sm8773015wjc.37.2016.03.09.08.56.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Mar 2016 08:56:21 -0800 (PST) From: Ulrich Hecht To: linux-renesas-soc@vger.kernel.org, geert@linux-m68k.org Cc: linux-pwm@vger.kernel.org, magnus.damm@gmail.com, thierry.reding@gmail.com, Ulrich Hecht , Ryo Kodama , Harunobu Kurokawa Subject: [PATCH 3/6] arm64: dts: r8a7795: Add PWM device nodes Date: Wed, 9 Mar 2016 17:55:59 +0100 Message-Id: <1457542562-7880-4-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1457542562-7880-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1457542562-7880-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 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 Signed-off-by: Ryo Kodama Signed-off-by: Harunobu Kurokawa [uli: adapted to new MSTP clock scheme] Signed-off-by: Ulrich Hecht Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 5367a7b..531e3b6 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -618,6 +618,60 @@ status = "disabled"; }; + pwm1: pwm@e6e31000 { + compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar"; + reg = <0 0xe6e31000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&cpg>; + status = "disabled"; + }; + + pwm2: pwm@e6e32000 { + compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar"; + reg = <0 0xe6e32000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&cpg>; + status = "disabled"; + }; + + pwm3: pwm@e6e33000 { + compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar"; + reg = <0 0xe6e33000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&cpg>; + status = "disabled"; + }; + + pwm4: pwm@e6e34000 { + compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar"; + reg = <0 0xe6e34000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&cpg>; + status = "disabled"; + }; + + pwm5: pwm@e6e35000 { + compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar"; + reg = <0 0xe6e35000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&cpg>; + status = "disabled"; + }; + + pwm6: pwm@e6e36000 { + compatible = "renesas,pwm-r8a7795", "renesas,pwm-rcar"; + reg = <0 0xe6e36000 0 0x10>; + #pwm-cells = <2>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&cpg>; + status = "disabled"; + }; + scif0: serial@e6e60000 { compatible = "renesas,scif-r8a7795", "renesas,rcar-gen3-scif", "renesas,scif";