From patchwork Mon Apr 24 12:34:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 677351 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95075C77B61 for ; Mon, 24 Apr 2023 10:21:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231730AbjDXKVS (ORCPT ); Mon, 24 Apr 2023 06:21:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231680AbjDXKUs (ORCPT ); Mon, 24 Apr 2023 06:20:48 -0400 Received: from forward502b.mail.yandex.net (forward502b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d502]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EC33C10; Mon, 24 Apr 2023 03:20:46 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward502b.mail.yandex.net (Yandex) with ESMTP id ED33B5EE01; Mon, 24 Apr 2023 12:36:14 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-TzXOZxF8; Mon, 24 Apr 2023 12:36:14 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328974; bh=57/N2X2NjfJHd1MXj/SFLxLizk4CNxdab09llBiN+CU=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=r3GBlIQwuRaY7/uV2L68G7b6j/zEw5MSg/2g41Zu/hZZV2N4Y23pYUMBD39ppk48y oRru3Ch0FoMjKk+hRd0Mph8Y2iTM3PPkV9uAHQS2z1KMl/eNOi02N8XMs6nOwxwEND oUNvCN0g7YI6mU+cYdAtnMmni778989g/8WPm+Pc= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 40/43] ARM: dts: ep93xx: Add ADC node Date: Mon, 24 Apr 2023 15:34:56 +0300 Message-Id: <20230424123522.18302-41-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Alexander Sverdlin Add ADC node describing AD Converter present on EP9301 and EP9302 SoCs. Signed-off-by: Alexander Sverdlin Signed-off-by: Nikita Shubin --- arch/arm/boot/dts/ep93xx.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/ep93xx.dtsi b/arch/arm/boot/dts/ep93xx.dtsi index 67ecfde539af..d896bdcc6b10 100644 --- a/arch/arm/boot/dts/ep93xx.dtsi +++ b/arch/arm/boot/dts/ep93xx.dtsi @@ -354,6 +354,15 @@ spi0: spi@808a0000 { status = "disabled"; }; + adc: adc@80900000 { + compatible = "cirrus,ep9301-adc"; + reg = <0x80900000 0x28>; + clocks = <&syscon EP93XX_CLK_ADC>; + interrupt-parent = <&vic0>; + interrupts = <30>; + status = "disabled"; + }; + watchdog0: watchdog@80940000 { compatible = "cirrus,ep9301-wdt"; reg = <0x80940000 0x08>;