Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3770755pxv; Mon, 26 Jul 2021 11:34:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyVytNIO6b8+CYmkT+22l5glV0yNcIOuWIaA/f6TAvZoS4tS0iplYY/R3hI4ZO8jXAgUAZ X-Received: by 2002:a6b:1406:: with SMTP id 6mr16079166iou.25.1627324441789; Mon, 26 Jul 2021 11:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627324441; cv=none; d=google.com; s=arc-20160816; b=oaaf3QrBwF/FCs3TxllJZAz3lf4fGtnNCexBbQTLqt3zoGM0HXMBTHD0V/g+1PXQCW 4iqcmVxm9MI+qAzmHPf4k8sg8aXSJfsM0Oy0Jlq+rNDk/dtmNu/wbXNfpd6GmU1cK6j4 2Va+tZoCwduVj6r93FcCRwev/nmMAcnKVGiOuTYx7WrCcqqjaf1A95pBqXhkGkBHduHc zfJa9tXhUAuotdO0SZ5GT/rUBLGYBCu+5AeHC+XBaN47BAeNjjJ8J+6bfj3JvyVniajl n6+FfPpX2DnYYduFgxy90hz46jtc+QT7/lvLPz2c9trzK1fejCgC/jEfjrxXA5paRAqM qHLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=4TcZLeRqOl9/d1zn+YVPUX9XE6+0LJwR2XQrbtl/hgo=; b=hXAmF6oqvLiGvmy0Av8hfdvoOaNm3AHhdoPCxttwmiChw9SRiDs2CHC0fVKcfAbe6w O3h4pGgZuniVq2IDGfb9/Y+C8s1m+03UreP+Bt1XvRWmMzSEwf02GE0GTFLihg562LDf beFqSKt2/xBEY49OzvbmfZl5UecBYuGcgq4mxqSvoWgQ3GxKLPjzQZHAH0eICC9c/i6g IkOXZwiGUrYsPIJ4vixSqUas9xxIe7/xsl2PjU0WELTefO2miu3Svv0AYjkvxmEqAu+U ozvqohQgkzNiOtjfXQQDBCqeum1doUntDXRZlPmf8c3y2ZIhNJzkAdnMIJxgzVH/FYor rfzw== 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 h22si573574jal.57.2021.07.26.11.33.50; Mon, 26 Jul 2021 11:34:01 -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 S231901AbhGZRuz (ORCPT + 99 others); Mon, 26 Jul 2021 13:50:55 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:15692 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232176AbhGZRuw (ORCPT ); Mon, 26 Jul 2021 13:50:52 -0400 X-IronPort-AV: E=Sophos;i="5.84,270,1620658800"; d="scan'208";a="88770566" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 27 Jul 2021 03:31:20 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 8373740062BD; Tue, 27 Jul 2021 03:31:17 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Rob Herring , Jonathan Cameron , Lars-Peter Clausen , Magnus Damm , Philipp Zabel , Alexandru Ardelean , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v3 3/3] arm64: dts: renesas: r9a07g044: Add ADC node Date: Mon, 26 Jul 2021 19:28:50 +0100 Message-Id: <20210726182850.14328-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210726182850.14328-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20210726182850.14328-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add ADC node to R9A07G044 (RZ/G2L) SoC DTSI. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi index 9a7489dc70d1..28aafa34d583 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi @@ -169,6 +169,48 @@ status = "disabled"; }; + adc: adc@10059000 { + compatible = "renesas,r9a07g044-adc", "renesas,rzg2l-adc"; + reg = <0 0x10059000 0 0x400>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A07G044_ADC_ADCLK>, + <&cpg CPG_MOD R9A07G044_ADC_PCLK>; + clock-names = "adclk", "pclk"; + resets = <&cpg R9A07G044_ADC_PRESETN>, + <&cpg R9A07G044_ADC_ADRST_N>; + reset-names = "presetn", "adrst-n"; + power-domains = <&cpg>; + status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + }; + channel@1 { + reg = <1>; + }; + channel@2 { + reg = <2>; + }; + channel@3 { + reg = <3>; + }; + channel@4 { + reg = <4>; + }; + channel@5 { + reg = <5>; + }; + channel@6 { + reg = <6>; + }; + channel@7 { + reg = <7>; + }; + }; + cpg: clock-controller@11010000 { compatible = "renesas,r9a07g044-cpg"; reg = <0 0x11010000 0 0x10000>; -- 2.17.1