From patchwork Thu Jun 15 16:18:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9789105 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 9FF7360348 for ; Thu, 15 Jun 2017 16:19:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9189A2866A for ; Thu, 15 Jun 2017 16:19:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86033286AE; Thu, 15 Jun 2017 16:19:48 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 37B682866A for ; Thu, 15 Jun 2017 16:19:48 +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=Da8dmm9J1YdUhEf8gAgKQLsK8Sm5u5zHkWCvw+aXh+s=; b=mkjUaJMB9jia05An3CgYPM6BYC Sp9qqsPEHunppO9yDKd9+8LvBtBN4RVcRFrVtxc/y75k6cfEc4UKetYsafFAAHCt4+tr/tJsGO8sd P1U6f8JB4XmZop9cqoCFKGs9BOMzlc1QwQ4XtpHF1JtZzALUgYEhq3of/WVnDXqQmpUtgkmaisRNK BM/joYbQfyFeEwZiCDHjATAAQR/OjKRTKHpoplPAuF9x9fRWKVgQGRYEsLu7EaXfiPXukCi3kuiNC wIXctHDOQDOfrYhN4K3Eywu6T0X/XOMBfuqDviS3zyzKwuCNwM4NXspPHZAaR18HoZ8ZIaZ1q4svs Y6qk1mMQ==; 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 1dLXUj-0007mo-32; Thu, 15 Jun 2017 16:19:41 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLXTe-0006OE-Ia for linux-amlogic@lists.infradead.org; Thu, 15 Jun 2017 16:18:40 +0000 Received: by mail-wm0-x22c.google.com with SMTP id n195so3772932wmg.1 for ; Thu, 15 Jun 2017 09:18:14 -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=rHG0jJfZsLe7aJlawwmljDPVHrxXKih1i66x73DMNP8=; b=mAcfD6GeTehZKvJqheE4n6vdpH94k43o3DCI76GuyrqTb7lYdz1Xa2eaSvjfEE/i42 JQDJjK+6v/JzuT5rXVwdSTUFCRtYSg5nZBPQ2u/gGUKCkuJfiLwG6YvalfRyaa5X/yyE xLdRC8PHewpdcjXwz2LE94o0Wmmij4j/6NJeYOHWR2BCWAEp8TRU/9XisbsQcdY/OZoG wxDPdfJcVhhUceRnwbyOzRVh2dbHQaDU1goY3mYtHnQICyvI023RuosR7VE1d5Gli0Ii WSZ7rimXnnxwr7bwquVNKi1/f6Tq9CMguMpRzs/DG/G878TKdvf+M5prkR4EGCDBvOQU ItEA== 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=rHG0jJfZsLe7aJlawwmljDPVHrxXKih1i66x73DMNP8=; b=sC75vSv3i/8p1auAnIA8Z43NCfarmOQUW5ZhyTtscm3f1U50QfkVyXL/2f2t4iY/9x iwcVWTwdiYDZrVYLv8ejskZe/rK3XgiIltlUwv2r1Kk/uaWmsvoFNvbn1VacyJL0TJ/t lI8di8PoEeQMwZN+PAwc/T6jFSCl0r6+GXEQbsdLWX4/Muz/jak+uMNX+1aLsnuClsqT VocAl/ZoZ7fia2wG9WqCMlTOzHHPm7kizbR329xj0CDmu7ruiczm0H7RIn/BvRJ08/d1 iSIKHZB1oGEHWBQAnMXtkO4AzUwRNJkdeApyvksGbsrbE8uqLUpBkG0FH6JegswUgKrd sgCA== X-Gm-Message-State: AKS2vOzS5yz1uIehtKhO80gvLOF7hGKsPUvZIdYTzUdsdZgYMeJs4/2/ rpW6RH4ubTS9oHQx X-Received: by 10.28.127.10 with SMTP id a10mr4271350wmd.36.1497543492857; Thu, 15 Jun 2017 09:18:12 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id z184sm673177wmz.0.2017.06.15.09.18.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 09:18:12 -0700 (PDT) From: Jerome Brunet To: Marc Zyngier , Jason Cooper , Thomas Gleixner , Kevin Hilman Subject: [PATCH v3 5/6] ARM: dts: meson8b: enable gpio interrupt controller Date: Thu, 15 Jun 2017 18:18:03 +0200 Message-Id: <20170615161804.32658-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170615161804.32658-1-jbrunet@baylibre.com> References: <20170615161804.32658-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170615_091834_773288_71103709 X-CRM114-Status: UNSURE ( 7.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@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-kernel@vger.kernel.org, Carlo Caione , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=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 8d9c36970dfd..351783e72fab 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi @@ -78,6 +78,15 @@ #size-cells = <1>; ranges = <0x0 0xc1100000 0x200000>; + gpio_intc: interrupt-controller@9880 { + compatible = "amlogic,meson-gpio-intc"; + reg = <0xc1109880 0x10>; + interrupt-controller; + #interrupt-cells = <2>; + amlogic,upstream-interrupts = <64 65 66 67 68 69 70 71>; + status = "disabled"; + }; + uart_A: serial@84c0 { compatible = "amlogic,meson-uart"; reg = <0x84c0 0x18>; diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index d9f116a418b2..cbb85de864b6 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -171,6 +171,12 @@ }; }; +&gpio_intc { + compatible = "amlogic,meson-gpio-intc", + "amlogic,meson8b-gpio-intc"; + status = "okay"; +}; + &L2 { arm,data-latency = <3 3 3>; arm,tag-latency = <2 2 2>;