Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp610735rdb; Thu, 8 Feb 2024 16:04:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXXrS9/Q/3U9NUAL6OwdaykrYMlbbyolx8vmiFMbSNKSPecPejoA3C5Lt5fPEBKfpQN2mIwOs+7LjcDSVxyRjgP0i7i4OLP2XVPgBTFgw== X-Google-Smtp-Source: AGHT+IECdcwEtAeitcZYqFkJP/gO1ZBwxTqafHG+3tMvKMHQi9w7p2jZCd8TLVXgLepeDLYQu6zx X-Received: by 2002:a05:6358:52c5:b0:176:5bef:d337 with SMTP id z5-20020a05635852c500b001765befd337mr855531rwz.3.1707437062482; Thu, 08 Feb 2024 16:04:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707437062; cv=pass; d=google.com; s=arc-20160816; b=Si2/LemoIIMkE05nWx1zKzHWCCwIeaSSzCPrwSWBnTJ+qSmnkILqM3KJ9vbp1Y+tcr gO/s6/LFHI4bUAh3uEOhFa9mTK69Wrs1D58Q92mZx0Kzsbt9x2ngJ8w2oJ6WvTVBCpea DKkfTMYBZAEG4ezE//OXbX/ipXDNRhKiBMioVnhURyEUsRPCTmotcZnucSIdhRuqsWNS daO585jdIaWwVR4RB0JUo7PBB0CsYk2YWy+6H0wQwJmdQGUciouqoDOrkPmQogqfogKf i6zZqe1boKlNNR0kZrc8bNXyFtA14lFCLS1rWpZYKHNEyCf+fQxdQvS5rTUNlThkYLUN BoCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=y/GqI8ieWYnXyZEKjCMrQ0iyYoj7E7rIOoJdDwxuHAQ=; fh=+j0F0PB0XMjT29NfzUOifc6Y2I57MJmOuTZ1baU5WnU=; b=jm5emZxZyPE3gyeHNeTshBLjGoexxz2t+jJ+KISIoq2IGHhr4YXWBns1Gw3CtMg6iC uGBllal/aVkHT1AVHWi99OEVe49TF/y3Dvpxf1bfJwQPhkiOxUe/zmB/xde2r3AWfeGd zK8meTHqftsVEb/hs/LkV3CUrtjynSeZouE0I+P23KCGYBOAgDNLqf3eiyhUN9rfDo+w JxOJCgbkc44P6bLDF7se/txX+VQ49PQaU1fNSV1qdYYOr6tMKT34BCbwjQk/ghl5XItE xhPidCVGyvDLC+etvW4yoU6SUYE2M8lecM6LMNlThkhUJoSo7L7g1k0aZFLg32o2QAZx qgPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=renesas.com dmarc=pass fromdomain=renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-58869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58869-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com X-Forwarded-Encrypted: i=2; AJvYcCVDi7kx0CWrkfk7ytQpK0WWPynIfnhphNPpVilJkRV1qwN+FzhfsRuipCtA73xnfcRtGsLBtfaxBSHA5Xua7BwIgwHeCPfXSK6Nw7tU8w== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i8-20020a639d08000000b005dbec97f04fsi687549pgd.589.2024.02.08.16.04.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 16:04:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=renesas.com dmarc=pass fromdomain=renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-58869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58869-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1FF6BB2FDA0 for ; Thu, 8 Feb 2024 23:40:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B8AF55E6F; Thu, 8 Feb 2024 23:25:13 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF98455E64; Thu, 8 Feb 2024 23:25:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707434713; cv=none; b=aCQO5pu6r6RYsOzB9unr+vvUdCaC+ohMIgUZm1d2Ir0YOoJriewC1HLOF4/sQ5yc5mgvwnBu3JGRF9iBdXDyhIALYC9yBAdpw6/Sav1Nqlu5JudNEQ/t6rnowl+MlM1aqO3rczzUxavSIH1CTkCnSsanQ/sNu0SySLweaWcv52s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707434713; c=relaxed/simple; bh=NuN1mxlRgAizqoNK4SmyoLdJd2EHPH4LHxe6CQ0ptu0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=u0HUWXKWIB0kfKqHzz95AOTqQD6nw99m5zH0FeGLSVcs17jVqMfpWu2gMFYWJ5dGlXjdSllzYTLqUzrvZJZFEbTK0ZC319Xx3iz9tauZW/jyaw4v/XeZFM/735DoOO6X+1IRbUxTyfEiSK+HrgmdvZXczefcG7SUE3q9ij2Kl3M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com X-IronPort-AV: E=Sophos;i="6.05,255,1701097200"; d="scan'208";a="193379754" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 09 Feb 2024 08:25:03 +0900 Received: from mulinux.home (unknown [10.226.92.227]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id DEA944007F23; Fri, 9 Feb 2024 08:24:59 +0900 (JST) From: Fabrizio Castro To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven Cc: Biju Das , Magnus Damm , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Fabrizio Castro Subject: [PATCH v6 3/4] arm64: dts: renesas: r9a09g011: Add pwm nodes Date: Thu, 8 Feb 2024 23:24:10 +0000 Message-Id: <20240208232411.316936-4-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240208232411.316936-1-fabrizio.castro.jz@renesas.com> References: <20240208232411.316936-1-fabrizio.castro.jz@renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Biju Das Add device nodes for the pwm timer channels that are not assigned to the ISP. Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven --- v5->v6: * No change. v4->v5: * No change. v3->v4: * No change v2->v3: * Added Rb tag from Geert v1->v2: * Added resets property arch/arm64/boot/dts/renesas/r9a09g011.dtsi | 98 ++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi index 50ed66d42a24..bb006772e31e 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi @@ -236,6 +236,104 @@ sys: system-controller@a3f03000 { reg = <0 0xa3f03000 0 0x400>; }; + pwm8: pwm@a4010400 { + compatible = "renesas,r9a09g011-pwm", + "renesas,rzv2m-pwm"; + reg = <0 0xa4010400 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CPERI_GRPF_PCLK>, + <&cpg CPG_MOD R9A09G011_PWM8_CLK>; + clock-names = "apb", "pwm"; + resets = <&cpg R9A09G011_PWM_GPF_PRESETN>; + power-domains = <&cpg>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm9: pwm@a4010480 { + compatible = "renesas,r9a09g011-pwm", + "renesas,rzv2m-pwm"; + reg = <0 0xa4010480 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CPERI_GRPF_PCLK>, + <&cpg CPG_MOD R9A09G011_PWM9_CLK>; + clock-names = "apb", "pwm"; + resets = <&cpg R9A09G011_PWM_GPF_PRESETN>; + power-domains = <&cpg>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm10: pwm@a4010500 { + compatible = "renesas,r9a09g011-pwm", + "renesas,rzv2m-pwm"; + reg = <0 0xa4010500 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CPERI_GRPF_PCLK>, + <&cpg CPG_MOD R9A09G011_PWM10_CLK>; + clock-names = "apb", "pwm"; + resets = <&cpg R9A09G011_PWM_GPF_PRESETN>; + power-domains = <&cpg>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm11: pwm@a4010580 { + compatible = "renesas,r9a09g011-pwm", + "renesas,rzv2m-pwm"; + reg = <0 0xa4010580 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CPERI_GRPF_PCLK>, + <&cpg CPG_MOD R9A09G011_PWM11_CLK>; + clock-names = "apb", "pwm"; + resets = <&cpg R9A09G011_PWM_GPF_PRESETN>; + power-domains = <&cpg>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm12: pwm@a4010600 { + compatible = "renesas,r9a09g011-pwm", + "renesas,rzv2m-pwm"; + reg = <0 0xa4010600 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CPERI_GRPF_PCLK>, + <&cpg CPG_MOD R9A09G011_PWM12_CLK>; + clock-names = "apb", "pwm"; + resets = <&cpg R9A09G011_PWM_GPF_PRESETN>; + power-domains = <&cpg>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm13: pwm@a4010680 { + compatible = "renesas,r9a09g011-pwm", + "renesas,rzv2m-pwm"; + reg = <0 0xa4010680 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CPERI_GRPF_PCLK>, + <&cpg CPG_MOD R9A09G011_PWM13_CLK>; + clock-names = "apb", "pwm"; + resets = <&cpg R9A09G011_PWM_GPF_PRESETN>; + power-domains = <&cpg>; + #pwm-cells = <2>; + status = "disabled"; + }; + + pwm14: pwm@a4010700 { + compatible = "renesas,r9a09g011-pwm", + "renesas,rzv2m-pwm"; + reg = <0 0xa4010700 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CPERI_GRPF_PCLK>, + <&cpg CPG_MOD R9A09G011_PWM14_CLK>; + clock-names = "apb", "pwm"; + resets = <&cpg R9A09G011_PWM_GPF_PRESETN>; + power-domains = <&cpg>; + #pwm-cells = <2>; + status = "disabled"; + }; + csi0: spi@a4020000 { compatible = "renesas,rzv2m-csi"; reg = <0 0xa4020000 0 0x80>; -- 2.34.1