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: 9789161 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 15F2960384 for ; Thu, 15 Jun 2017 16:34:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07E22286BB for ; Thu, 15 Jun 2017 16:34:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F01F4286BE; Thu, 15 Jun 2017 16:34:03 +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 4DACD286BB for ; Thu, 15 Jun 2017 16:34:03 +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=HzozrJqXCcvxx5w7PDyS7Epe24VPTGVFnEN7WnFAUKg=; b=huBUBo2Ujkvb6RBFYch97hMob8 i9hRzY22D+k2ZamqaEieoeQIXfrk9jKKEBiDVPpC7V9pcUsKhGyn8fWxrgQ0gw1E6HPtAoUNn1iMQ dK3L1TpgPLimaUKAiEVlqvE6gaSSNnCt+PW3eQMldyzdJQDDERkNp33TDYA/EKO8WUPwhvdbfTOxR FG4P78jntdxUsQv90thEkoDmbIi/EaSTJ6JbKjeT9W2z5y+0G1gm10u0LW7Lj316JMHw/g5JAxRPs xw/Q0Zd2e3m5isNilnU1n8xvG+0eGzc3JB7QtU5c1hQ5gNhApgkQZf+fYJZPnbyEPWOvnDbgPQrSf xY+usG+w==; 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 1dLXib-0006zp-SV; Thu, 15 Jun 2017 16:34:01 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLXTe-0006OF-IY for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2017 16:18:40 +0000 Received: by mail-wm0-x22f.google.com with SMTP id m125so4136340wmm.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=rjYz+ogqJRBG7ujRZ+CdaOTxuSy/CQ3WnRmxFImbuDvkJVoGg2C7PXEgR4baxxC4Ag WAWwC9HiC/Q0RQcW/7eDO6E0eEaD0cEbIWYN/RKEFa7/y4JQ+J+0GFKSLY9h/W79sCBh E6IP9KYCmtx2s+lQ2fZPc+ThBKkBzGLvxRj05S9a4A0qv9LIwzlb730hZ29WbN/r6Guf /C2YD4DoLfOwS/p1LAwvZgNFDA7IL75jMP1CTvbXnZX6iTb//Y8Pe+2Wm2igZpjUDQra /HwwU1I1ctoA7LWl2IsJztVghMvTWV28bJrRq2ugAYw8Y6lpZCVgiYJ1mYRHJLwpI3jq Ruyw== X-Gm-Message-State: AKS2vOyfKwXXaoyxGsDu1+ssCd/Sf0wDUvcDYt0eznEhx1/6yvmdwaaZ yhxP+r/FyGEzNUfh 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_815918_D2EC554B X-CRM114-Status: UNSURE ( 8.66 ) 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-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-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 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>;