From patchwork Thu Oct 19 12:01:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10016559 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D5C8560215 for ; Thu, 19 Oct 2017 12:03:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D781728CF4 for ; Thu, 19 Oct 2017 12:03:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBF6E28CF9; Thu, 19 Oct 2017 12:03:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5BB0D28CC3 for ; Thu, 19 Oct 2017 12:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=IUISJSi+i4/73BT8mQ6yBJtcJ0DkM7Ae3nHIJlt1nVo=; b=W3TQx25kRJT8DbCJX4bFf7WR5X B9myK5vRFKrscsztvHkJH6jiNrsu2KuBybyiIzYrOLnMY8sV/vNZI3zCn8jhnL9BA1R7mn6t+MdGB NRPxSWyl/H+iHhxw54jCpMi7M2CjQcamA6jzyvLCBSCCCuB0nW5rnNLL16klkxs0zBrG9CV4P2ihE +EjArASjqHEp1clFVI72+ho9WE+4St54NMtSuSS6ZTnlACnoJcSZwJN75LNeGwRWeYOiyaJvdjcyD 0U8d/NvyfLT6coUAUw3fBUzVDGHpwX1TujwYRbTZbS4jr0NsDAhkaA9RruYu8K2ZonqQKeciUf+Kc P3nKpsbQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e59Xe-00049F-UE; Thu, 19 Oct 2017 12:03:14 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e59Wd-00032B-TT for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2017 12:02:17 +0000 Received: by mail-wm0-x241.google.com with SMTP id i124so15406789wmf.3 for ; Thu, 19 Oct 2017 05:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ElvQGrAcfID9bbPRXkeEtacmb+WgFMqaPcDm+QdP72E=; b=DIT2JLIbE9Tbj9VBKmpqEB+NOTpgjXV+t3gGXgMLdNj+zb/M7tQ9ozKnEMEsxUmwoo fg1w3NV8wWeA48FcD/7u7WbQ1ggKL9gr03AXOtk379sVZ02UWHapPGClFCcpCUtGVqcf rY6e3jPmL2mHoYZB7H35vu/upi24iMOx2CAEaehkVULwQGSKoCz35vRxPzMCAFoVAE0L IO/Bcm3OIAiVaLZM8LySccO0Y7MxHO3FNQYkLXbs+mEbng7YBCZe0AD0yJtw/RULXlDC HbkgRqLkwSeQs1utTNxNvG7b7YoR3sMboGdyqOipaLHT5Rn8tm+VCMG30CUrC/3erF8Z eG0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ElvQGrAcfID9bbPRXkeEtacmb+WgFMqaPcDm+QdP72E=; b=Jteen02cWmBWxQxRrTj2ukyiLtSJGkO66Yd6KZeQruJF+vNFn5KhRxrZtjeAYeSNN5 bV9AcG0Pno6pVqKRpqczKAkPnZVXTuB+FMcCaSITi2fW4AO24hjXfN3Ukip4wSW0TZs4 lBjI+kO8nN+obgdfzyMNczEmNlrHkFomeLw6e5Fv3Tkwsv245osH70VLujWf1fZcO/gC FJO2feJejrs5fDNUPvmFncuA9BC2C8hOV9tSuVV27IPRoi1kX+mWRjSo++slPtONntt2 ZLQp8KEP4I+8Xm01DpAxihwcaq62tETJbr2Xu+/hOS0ehPY5QnzqakwCBgZAvBkxFEZP +iRA== X-Gm-Message-State: AMCzsaW4/S0sqjNhv0DLPpqAV23irjaZCl3Akoes8OSHaetK3A1NEaoV OHb7GwjcydbTkLED7FACVeMwZQ== X-Google-Smtp-Source: ABhQp+R0CIJ/UvieYd943Fb0jFt4mJdN8kxuI0E0Ko4r/IMLeU5DC1zoOX6jpx/nIDBfalVBxsD8TA== X-Received: by 10.28.174.67 with SMTP id x64mr1611566wme.82.1508414512220; Thu, 19 Oct 2017 05:01:52 -0700 (PDT) Received: from localhost.localdomain ([217.110.245.107]) by smtp.googlemail.com with ESMTPSA id x75sm1484089wme.3.2017.10.19.05.01.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Oct 2017 05:01:51 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 3/5] ARM: dts: meson8b: enable gpio interrupt controller Date: Thu, 19 Oct 2017 14:01:41 +0200 Message-Id: <20171019120143.20581-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171019120143.20581-1-jbrunet@baylibre.com> References: <20171019120143.20581-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171019_050212_174189_54120E24 X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add gpio interrupt controller node to the meson8b boards Signed-off-by: Jerome Brunet --- arch/arm/boot/dts/meson.dtsi | 9 +++++++++ arch/arm/boot/dts/meson8b.dtsi | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index 290a183e87c5..3d18ecc2bef1 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi @@ -85,6 +85,15 @@ reg = <0x7c00 0x200>; }; + gpio_intc: interrupt-controller@9880 { + compatible = "amlogic,meson-gpio-intc"; + reg = <0xc1109880 0x10>; + interrupt-controller; + #interrupt-cells = <2>; + amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>; + status = "disabled"; + }; + hwrng: rng@8100 { compatible = "amlogic,meson-rng"; reg = <0x8100 0x8>; diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 40cfe5c8df6a..574aafa3db83 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -179,6 +179,12 @@ clock-names = "stmmaceth"; }; +&gpio_intc { + compatible = "amlogic,meson-gpio-intc", + "amlogic,meson8b-gpio-intc"; + status = "okay"; +}; + &hwrng { compatible = "amlogic,meson8b-rng", "amlogic,meson-rng"; clocks = <&clkc CLKID_RNG0>;