From patchwork Tue Aug 24 11:54:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 12454897 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03A62C4338F for ; Tue, 24 Aug 2021 12:02:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BEF8B61248 for ; Tue, 24 Aug 2021 12:02:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BEF8B61248 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=D2P3VxvWqqj9/eHz7J3hqg5PuwTwTr9a1PsJh5JCLGU=; b=yP1Lqk+O37IFEN DBRtre/IvDPX0m5DebV868gLf9Sh0rXVswh3JmzK7wEctneMUnecinkewe77XippxQttQoiGfUBHi 2B/lNOxRPNAZjBkg5SQd3RUBdINq78/8f5Dgtrh4JCTdDXJOM9JsH6QLttUadl0c1IJzxP6MKxLHH Ew+uiik/Jz32+aeIwcUIGOaf2bWqrE6+rsWc4IVWdW897wzK4BIhQDiVR7rTk8PslZGe4mm38IFqR dKHbcGbJNucx7Uwif8pVm4dOnaCplEoImixp7W8ZbgLGi6czBxoN2WuJTRigDnXc+Ytp/AFuwXVBY kvaBRplG4WpKTMty0ywA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mIV6W-002ttm-M7; Tue, 24 Aug 2021 12:00:33 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mIV2v-002rx1-ST for linux-arm-kernel@lists.infradead.org; Tue, 24 Aug 2021 11:56:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1629806209; x=1661342209; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oiPgHlTu29YpILohxH7nnDUefzSZI6Vn6zEWq8Ur+jA=; b=whJIOZ55MSptxp0Z3Q9O0rGZT1jZ0UUOq37QlXG4qPsrOYFBGrG8kpvv jW1oB/WeFgr/lIaLcJVUdpxh/rJuSai4/OYj8JnDIDH5o10DotSGzY+iJ Lbis7m9Ci/ukjSdZHEx/pZtFshuoLf+OzRWo2/ydykoX5Yq0f00TPy/xH j0n4SrPZMAPNSNrKTTMFhm+Z9NMM5SEhv4AoVMyp4CTsozZneRCcGjeMl bzBxWNmnKeF/URIS9OO11Ei8RJMJEwy+HtsBB/Dm1LbB2x5a2ctU5vCiH 7umxGBGzJeJTMLlR9wCtLCVXlNToXRlg2PyeTBJcbN2iEEwhAiaVmh7UU Q==; IronPort-SDR: 9kxtXKnj0u89pfKf0LvW5pbmemu4qyYCwZ3YdaFc1yRYl/NbGhy7uHoIuZWKmQVepeIMuvPxDy rxhpbx3oXsYSVf70joiAZvPpwZuTMXrwLXJQ4D6Y8OKfOYuSZLU8xG5Twn7qlEhF6vnGhQ34oY fy2oJ86a1kHaQruYhTGXiWyrEhOK+w9jJ76hqyOkJWGRSrlfvs+Of0SC6LvzH7cRYZF5bZ6bWu Z3frrDoKsJ2g41hWcX82yhhvKr8saOQ2PTKDsOgrlVeNjuDviidLJswv0dzvgKmJzAbTH6rz9L drVaKCGKSGJsIQkOA9LayGEv X-IronPort-AV: E=Sophos;i="5.84,347,1620716400"; d="scan'208";a="66906623" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Aug 2021 04:56:48 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 24 Aug 2021 04:56:48 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 24 Aug 2021 04:56:45 -0700 From: Eugen Hristev To: , , , CC: , , , , Eugen Hristev Subject: [PATCH v2 09/10] ARM: dts: at91: sama7g5: add node for the ADC Date: Tue, 24 Aug 2021 14:54:40 +0300 Message-ID: <20210824115441.681253-10-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210824115441.681253-1-eugen.hristev@microchip.com> References: <20210824115441.681253-1-eugen.hristev@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210824_045650_071005_C94D4FC7 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add node for the ADC controller in sama7g5 SoC. Signed-off-by: Eugen Hristev --- arch/arm/boot/dts/sama7g5.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index f9ad5365862f..de960519c72a 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -137,6 +137,22 @@ ps_wdt: watchdog@e001d180 { clocks = <&clk32k 0>; }; + adc: adc@e1000000 { + compatible = "microchip,sama7g5-adc"; + reg = <0xe1000000 0x200>; + interrupts = ; + clocks = <&pmc PMC_TYPE_GCK 26>; + assigned-clocks = <&pmc PMC_TYPE_GCK 26>; + assigned-clock-rates = <100000000>; + clock-names = "adc_clk"; + dmas = <&dma0 AT91_XDMAC_DT_PERID(0)>; + dma-names = "rx"; + atmel,min-sample-rate-hz = <200000>; + atmel,max-sample-rate-hz = <20000000>; + atmel,startup-time-ms = <4>; + status = "disabled"; + }; + sdmmc0: mmc@e1204000 { compatible = "microchip,sama7g5-sdhci", "microchip,sam9x60-sdhci"; reg = <0xe1204000 0x4000>;