Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2800353pxa; Tue, 25 Aug 2020 03:46:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRrx7F/OdjLX+wKYkLIzIUZke6TJxZVI7f4IF6I53FcX9KcK02gutqj/f236hoJEf8BBYB X-Received: by 2002:aa7:c7c1:: with SMTP id o1mr9924030eds.368.1598352396472; Tue, 25 Aug 2020 03:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598352396; cv=none; d=google.com; s=arc-20160816; b=ggsqe/rghn4NygxstARkN6sUV4aBR1bvZ3Ev0Yw6ITB3hIuAQaEkuTh6u2hpbWPxfA VbTlnY8hn1DHFpFRGi2bjEXUXDeAHngDUkh7ogPBgBxcepfkjWsXGkIntTYt1UD0ehLh PhaqUw/0/kXbyWzLyecxWSR1oPLuS9hAsZL+lbyzghw3R0SIWfX1ZPTfWdDZd3KhCQw2 aINHyuUaWufJo4unGwCqGPRwowzX/ICCNrFMJbTYbHdVd7pMdGoJfyi+OItEj7q2PcEz D0hV5gBqyYdJwc5vUCvoG+MJDRI0qSiV0d8ABRt6Haf7F8/v+Z26GRV5pQ8NSMeML3L7 lqaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=w2sbZfCd9dL5oqiLoaGbPu6uO81W8OxVE5bdzV4+heo=; b=ixC16lEyxCHl3w+lri2ROueiRUJxIRYhfN9MCbovPYZZEHbvg9Wizvv9nBDVs7e8v/ x+hB1mChXbUTl5lZGXGMUwFOXQSe728U7DUy9CVqV4yvdCyzYxSc2kqM87r2Z6hrf5RF 1QCy0SfT3waiCul8WRE3qwdflQ5xxZNdR3g43/e+Y5Npp5Tqbzho7/mhcST2ap3BhCUh I09njepD3PipkbiI2Xnr9aIQS6TaRxY5Np9tM6F/+mbq1bLTSEVqT4QznikWNlK6MvKW 4I4Krnea1gMRKAswMggHoG7N4Y6YGjHA6pMVCt8syNg//k0mmPsn4y50KXWqMYab0+Qy pHIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n18si4266805ejx.267.2020.08.25.03.46.13; Tue, 25 Aug 2020 03:46:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729897AbgHYKpI (ORCPT + 99 others); Tue, 25 Aug 2020 06:45:08 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:45347 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729886AbgHYKpF (ORCPT ); Tue, 25 Aug 2020 06:45:05 -0400 X-IronPort-AV: E=Sophos;i="5.76,352,1592838000"; d="scan'208";a="55477210" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 25 Aug 2020 19:45:04 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 0CCA840078C3; Tue, 25 Aug 2020 19:45:01 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones , Rob Herring , Magnus Damm , Yoshihiro Shimoda , linux-pwm@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar Subject: [PATCH 2/2] arm64: dts: renesas: r8a774e1: Add PWM device nodes Date: Tue, 25 Aug 2020 11:44:55 +0100 Message-Id: <20200825104455.18000-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200825104455.18000-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20200825104455.18000-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marian-Cristian Rotariu This patch adds PWM[0123456] device nodes to the RZ/G2H (a.k.a R8A774E1) device tree. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 64 ++++++++++++++++++++++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi index da34ded1dff5..f2216df48671 100644 --- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi @@ -1276,11 +1276,73 @@ }; pwm0: pwm@e6e30000 { + compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar"; reg = <0 0xe6e30000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm1: pwm@e6e31000 { + compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar"; + reg = <0 0xe6e31000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm2: pwm@e6e32000 { + compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar"; + reg = <0 0xe6e32000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm3: pwm@e6e33000 { + compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar"; + reg = <0 0xe6e33000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm4: pwm@e6e34000 { + compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar"; + reg = <0 0xe6e34000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 523>; #pwm-cells = <2>; status = "disabled"; + }; - /* placeholder */ + pwm5: pwm@e6e35000 { + compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar"; + reg = <0 0xe6e35000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm6: pwm@e6e36000 { + compatible = "renesas,pwm-r8a774e1", "renesas,pwm-rcar"; + reg = <0 0xe6e36000 0 0x8>; + clocks = <&cpg CPG_MOD 523>; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 523>; + #pwm-cells = <2>; + status = "disabled"; }; scif0: serial@e6e60000 { -- 2.17.1