From patchwork Tue Mar 29 21:50:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 8691331 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C56C6C0553 for ; Tue, 29 Mar 2016 21:53:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EDC8220340 for ; Tue, 29 Mar 2016 21:53:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C53E202F8 for ; Tue, 29 Mar 2016 21:53:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1al1Yu-0004nJ-Lc; Tue, 29 Mar 2016 21:52:32 +0000 Received: from mail-lb0-x242.google.com ([2a00:1450:4010:c04::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1al1Ya-0004dU-4l for linux-arm-kernel@lists.infradead.org; Tue, 29 Mar 2016 21:52:12 +0000 Received: by mail-lb0-x242.google.com with SMTP id bc4so2566236lbc.0 for ; Tue, 29 Mar 2016 14:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=miOF3kDua5fzNt5sFKQVnxJOwuaqsqLzRiFLQ3m9LTo=; b=Njq1/AZ1e0oSb3gL9tGWa/aZHd0qf8jUQDombnvI3opOQn4qvsxlk4NyGHUcVgVTEH 7myqpo0CfMqltQjaadi9zy6iAY+JUhmDJLFjWenmBYdUIs57uDKD2+U97qrT/SEnsg8q 7hCHsIy0qM8n+xH4hHmiHCTZKoWI9aFGGkHn9sdTlLzyNgIuIICPKXmMqNdG4Zam7MHk JJzO6cjOl7rbPeqNkK0/+U7Z/5NCRCAT+8ACxnN3Foxiclr5kYX8L/ffoc9nKQ67Y+gX 9UT04SpT24eZT/mzYlUuI6DwpY78NuDHBEZvaRZbayo5x0kbIKu1ujFRWA2Z4FAkLwq1 KBHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=miOF3kDua5fzNt5sFKQVnxJOwuaqsqLzRiFLQ3m9LTo=; b=EjTHsjWhdxEJcLEcEiuI7FYth1zNSeC7oOPWfVQxlUct7RootV+Xs/zqs2YpMcSb/S vCXDOkeoUXVIn3lIzYh7RRZMMIcr2UHZkBQzcxRN/LT4aBO3BcjapEeUvWGWunKRcH6k lAxs+9gm4h0qbhDFwMQeeJSY4gGPlgFq8n4b+buDBDwhRtLYds0RxrsMU6mUO+8WBr5r sg6twK21D++t5jfk+9sTbRUh/ve6E4tTGO5UaFPO6I3ETBTSxPery+OnNjcPr3rx594i p+LuMSqh2/Cc8RxomRPUheURBoHr2UG5MRu3PXrkDTxdJ5gzEQrr6LjkX+e3ZxAYkMp0 jATQ== X-Gm-Message-State: AD7BkJI2RMJW6nW4Wtx3Uy25SkwyZzkuJ0gwaogKhHbEeNnGPjN0KB0MfV8FmRlQkW/Lig== X-Received: by 10.112.141.73 with SMTP id rm9mr2201742lbb.57.1459288312798; Tue, 29 Mar 2016 14:51:52 -0700 (PDT) Received: from localhost.localdomain (141.89-11-213.nextgentel.com. [89.11.213.141]) by smtp.gmail.com with ESMTPSA id m141sm117364lfb.12.2016.03.29.14.51.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Mar 2016 14:51:52 -0700 (PDT) From: Joachim Eastwood To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/7] ARM: dts: lpc18xx: add adc nodes Date: Tue, 29 Mar 2016 23:50:42 +0200 Message-Id: <1459288246-1670-4-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1459288246-1670-1-git-send-email-manabian@gmail.com> References: <1459288246-1670-1-git-send-email-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160329_145212_435887_E09DC669 X-CRM114-Status: GOOD ( 10.07 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joachim Eastwood MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add nodes for the two 10-bit ADCs found on all lpc18xx SoCs. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index e270294..88d27ae 100644 --- a/arch/arm/boot/dts/lpc18xx.dtsi +++ b/arch/arm/boot/dts/lpc18xx.dtsi @@ -453,6 +453,24 @@ status = "disabled"; }; + adc0: adc@400e3000 { + compatible = "nxp,lpc1850-adc"; + reg = <0x400e3000 0x1000>; + interrupts = <17>; + clocks = <&ccu1 CLK_APB3_ADC0>; + resets = <&rgu 40>; + status = "disabled"; + }; + + adc1: adc@400e4000 { + compatible = "nxp,lpc1850-adc"; + reg = <0x400e4000 0x1000>; + interrupts = <21>; + clocks = <&ccu1 CLK_APB3_ADC1>; + resets = <&rgu 41>; + status = "disabled"; + }; + gpio: gpio@400f4000 { compatible = "nxp,lpc1850-gpio"; reg = <0x400f4000 0x4000>;