From patchwork Wed Sep 13 08:09:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 138691 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp928098vqx; Wed, 13 Sep 2023 01:14:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmVsHEt55g9IQPIgPCsLyEmkp3RaB8g1QznDa4QBjzoti3q1hImNGDYLTuUqTncqE5TlOK X-Received: by 2002:a17:90a:d18d:b0:269:60ed:d495 with SMTP id fu13-20020a17090ad18d00b0026960edd495mr1376916pjb.27.1694592843056; Wed, 13 Sep 2023 01:14:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694592843; cv=none; d=google.com; s=arc-20160816; b=i/HReUffH1bzPS4QqRnD2KB33x0Hdjnkxcl1j9qVBDPtn+bKvSD4g3PIYk081xf70c pacuMCnSDy57Kw0jRrA20SXkydiaAKUS22UpA1HAOggHeRW8jTzHK56YvRMcCg7sDtKb wNbXD5KTOelDerfAU//iRJDQM2aiQZB5f7qXPCatjaFgf+1IiHglXeJk+IolhqGNlcjT 4FcIqYpDMqK3nBfYly1qfVY66dSyWH7Todnc7aTCSJcKNJZvzjakoEM4TnOOfGKQqx60 5vf9VUalx95vjKZEUvsQG4Zv0pBk6magg+QlvU41VuBIca/ypXopQ8PkfvL7TCVkQ81N u4iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=q8XfroHYk66xCuo4rbX4tNeERDx3oKI68OKOopE6J+c=; fh=k7ETyw+aHRchnd6dKPcwVvq7qVrh82q5IThQAOs5BF8=; b=1EsuqO2/ObBUbm4LrGWOSzu2hVA98tfZS0zCu17l9MPSMNHGwQuQcr8oKdJRU7gBXI aPAWRzTqvqqKFEYc+sA3MUGIe5kdv16pGENGfmPvZ+KzFD4fHG0H4b+RZMhlkQiseJ0Q 2qSJTaSriqKGmzCEl47s3JYe+UuNpxKirTuJCTmQvD+LMOHMWDeRpyvMbVxAttuEdHY0 2UYqNzUXpaF1A8ivDZmogtzgC7yk5xsBlAWsrOuiU/QFNTZogs+jnHJHIYElZLbCr91W LbV38k0p+95duv5RatEXLQ9f+qFBFB4IgMktZg3d3KMXoKz3LpK7W/66lgL1RMW5JM0k 1h8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id nu17-20020a17090b1b1100b002744e2cfd1bsi391592pjb.41.2023.09.13.01.14.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 01:14:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 1117D801F89E; Wed, 13 Sep 2023 01:11:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234389AbjIMIK7 (ORCPT + 35 others); Wed, 13 Sep 2023 04:10:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238782AbjIMIKO (ORCPT ); Wed, 13 Sep 2023 04:10:14 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9A51BDB; Wed, 13 Sep 2023 01:09:56 -0700 (PDT) Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Wed, 13 Sep 2023 16:09:46 +0800 From: Huqiang Qin To: , , , , , , , , , CC: , , , , Huqiang Qin Subject: [PATCH 1/3] dt-bindings: interrupt-controller: Add support for Amlogic-T7 SoCs Date: Wed, 13 Sep 2023 16:09:22 +0800 Message-ID: <20230913080924.3336391-2-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230913080924.3336391-1-huqiang.qin@amlogic.com> References: <20230913080924.3336391-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 13 Sep 2023 01:11:12 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776909384900591318 X-GMAIL-MSGID: 1776909384900591318 Update dt-binding document for GPIO interrupt controller of Amlogic-T7 SoCs. Signed-off-by: Huqiang Qin Acked-by: Conor Dooley --- .../bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml index 3d06db98e978..a93744763787 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml @@ -36,6 +36,7 @@ properties: - amlogic,meson-a1-gpio-intc - amlogic,meson-s4-gpio-intc - amlogic,c3-gpio-intc + - amlogic,t7-gpio-intc - const: amlogic,meson-gpio-intc reg: From patchwork Wed Sep 13 08:09:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 138692 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp928122vqx; Wed, 13 Sep 2023 01:14:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNZ1EnE6pyZ0gGLMqs4wifIqe9gSt73WgVeTsT5SkiJCsdf15RlmVeSdpF6HSDp/AUqmvj X-Received: by 2002:a17:90b:3503:b0:26f:e9fd:8287 with SMTP id ls3-20020a17090b350300b0026fe9fd8287mr1532658pjb.20.1694592847473; Wed, 13 Sep 2023 01:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694592847; cv=none; d=google.com; s=arc-20160816; b=YLoQM9hX9dPTaPJEYpy3MjH9YbQ8MrNiGnsjZBCkgRN+Ur9VR0EYpkzSy+vynnneX5 52nlqTbLw/0mFZBCcSSnjTJ69hCg28YAq8EF+vPTXs9p6telI8UFlvMD+cLE48ozVCCU aYCTH2ZrMVuTXD/Z2L4psDHA+4KdjTw/vDdXfDDbAxcSuyePOCGzUelMk8OuN/gN1vEZ uO2/+sLPhCnLUMmGVEceBxOf5JH1afV9C9B+BXqXeIVAA9RStFE5dPHTwrADkynnVAC1 pT3Dl60pcgQ85kJjwGNVQrbwC1mxc5YgDqYvPmQm9Y5zWti3vMpWatuL8q0y8ZZ49+XM 3p8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1QwKWgUkLgAFytu4LAQ2nvDlh5RjhG2LXZTzkFdXt+c=; fh=k7ETyw+aHRchnd6dKPcwVvq7qVrh82q5IThQAOs5BF8=; b=QkuFWeLCI7eYARIdSOAj2IelkqBbCEdgXWNyfmF9dZYPKMBfVzxE3Y7FQc67y6B2kc Y4VPuP59onRHJvvbEMZe1IteZB2R1bwDE8fBugSHP9H8u2QgSA4eQElrHQdZXMpWrCyL hreudbeYYSorjt4YPNEOANzh7aiRwq0S3inHjaNT4oHs6rW9nYvugS6tFD95QOZ/cRbB iGdua09rb4nEv8utyGoqW+KqmjMZpTWcehltHELOVmMxXOCssrnDaFJbGC/8n44fS+p6 XsHzoI6WFkWpQuSQQfO+mr04oJgBK5riLu9sFzS1Fl8P1yjSfim+kpwaVOd8S/2gwAwn Kn5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ls12-20020a17090b350c00b00271bea73dcesi1143572pjb.96.2023.09.13.01.14.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 01:14:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 4022C80DB4D7; Wed, 13 Sep 2023 01:11:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238826AbjIMILI (ORCPT + 35 others); Wed, 13 Sep 2023 04:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235651AbjIMIK6 (ORCPT ); Wed, 13 Sep 2023 04:10:58 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87BB31BDC; Wed, 13 Sep 2023 01:09:57 -0700 (PDT) Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Wed, 13 Sep 2023 16:09:47 +0800 From: Huqiang Qin To: , , , , , , , , , CC: , , , , Huqiang Qin Subject: [PATCH 2/3] irqchip: Add support for Amlogic-T7 SoCs Date: Wed, 13 Sep 2023 16:09:23 +0800 Message-ID: <20230913080924.3336391-3-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230913080924.3336391-1-huqiang.qin@amlogic.com> References: <20230913080924.3336391-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 13 Sep 2023 01:11:15 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776909389968081397 X-GMAIL-MSGID: 1776909389968081397 The Amlogic-T7 SoCs support 12 GPIO IRQ lines compared with previous serial chips and have something different, details are as below. IRQ Number: - 156 1 pin on bank TESTN - 155:148 8 pins on bank H - 147:129 19 pins on bank Y - 128:115 14 pins on bank M - 114:91 24 pins on bank T - 90:77 14 pins on bank Z - 76:70 7 pins on bank E - 69:57 13 pins on bank D - 56:40 17 pins on bank W - 39:20 20 pins on bank X - 19:13 7 pins on bank C - 12:0 13 pins on bank B Signed-off-by: Huqiang Qin Reviewed-by: Neil Armstrong --- drivers/irqchip/irq-meson-gpio.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/irqchip/irq-meson-gpio.c b/drivers/irqchip/irq-meson-gpio.c index f88df39f4129..9a1791908598 100644 --- a/drivers/irqchip/irq-meson-gpio.c +++ b/drivers/irqchip/irq-meson-gpio.c @@ -154,6 +154,10 @@ static const struct meson_gpio_irq_params c3_params = { INIT_MESON_S4_COMMON_DATA(55) }; +static const struct meson_gpio_irq_params t7_params = { + INIT_MESON_S4_COMMON_DATA(157) +}; + static const struct of_device_id meson_irq_gpio_matches[] __maybe_unused = { { .compatible = "amlogic,meson8-gpio-intc", .data = &meson8_params }, { .compatible = "amlogic,meson8b-gpio-intc", .data = &meson8b_params }, @@ -165,6 +169,7 @@ static const struct of_device_id meson_irq_gpio_matches[] __maybe_unused = { { .compatible = "amlogic,meson-a1-gpio-intc", .data = &a1_params }, { .compatible = "amlogic,meson-s4-gpio-intc", .data = &s4_params }, { .compatible = "amlogic,c3-gpio-intc", .data = &c3_params }, + { .compatible = "amlogic,t7-gpio-intc", .data = &t7_params }, { } }; From patchwork Wed Sep 13 08:09:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 138690 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp927982vqx; Wed, 13 Sep 2023 01:13:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFdNLQo2LyuuBIkeS3NguvCVI1BW1fZ8TTNM1RywCLPk1ZpXLJIHpB+1r/hac2FU1TSWJCm X-Received: by 2002:a05:6358:9996:b0:12b:da97:aba6 with SMTP id j22-20020a056358999600b0012bda97aba6mr1768236rwb.24.1694592825572; Wed, 13 Sep 2023 01:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694592825; cv=none; d=google.com; s=arc-20160816; b=Qdj9PiOjvur5iNpynBFmi2R7VKwkLS6fqhZqa5t4TvCwX6ssfz8hPPf42fFM4lcBbO GBa9ZAr60UFL5/odrHKWyfMlK0Bn2pYc7R14EYahj3zZxworKsCC80Y1jf+gSZnqU2TF DDV7hNPvDEgQGERJBYmYXUNs7rdQtHaAg/G14i/aLI6kTl1Mf0rsrxbFHKUUtyEVcrUH DudrlbK9IP3B+Xftc+vqCANAHrEzStf0eLxMtzvNKF4nGD/iycnhedgVdnHsiX1E1hcx bKbENmf/ozAsXReq+pNheDCiLTDU/SjZjALTln51axAcGZBi5+tN/bgIYC20+L0SuMIx ZLTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=33Wy1N0xljEvwLfLXDrYwBzjWbp5IQ9raztzvNYtkJY=; fh=k7ETyw+aHRchnd6dKPcwVvq7qVrh82q5IThQAOs5BF8=; b=ldgIs3iFxeob9WbCwtgBbUoQcTvLt/g6IWrALgkCGZSeJw0paOsH/oDqoUqnVO8Qp4 tbPAYaGiiMzzpIzkoFA6mUiEXZHrNZYR72wJKgFfyWSy2QOFLuKXnLhaYVcgQ2He9Meq gIrInY/xjXB1EJzbmtXjEE1DrmL7dWS6dGK8Tg8busjoFa65RDvU+ZpM2nV7gPU1BiWF +N+dT1ZIUuoh53UlSv62WdQoNVd2vvrf7wnM7tHdfWu5HTIh7h/G/Sm97hlCc1o7WPPO JjDcusPiQtICGLKtIOKzfh08Tk12xnMNvtUmf9xNrWggQjDMdUC4bG9Ko8ceLIIsor6p R76A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id q9-20020a056a00150900b0068fba0fa267si6132798pfu.369.2023.09.13.01.13.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 01:13:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 020F980CF556; Wed, 13 Sep 2023 01:11:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235580AbjIMILN (ORCPT + 35 others); Wed, 13 Sep 2023 04:11:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238740AbjIMILA (ORCPT ); Wed, 13 Sep 2023 04:11:00 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52D4E1BD6; Wed, 13 Sep 2023 01:09:58 -0700 (PDT) Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Wed, 13 Sep 2023 16:09:47 +0800 From: Huqiang Qin To: , , , , , , , , , CC: , , , , Huqiang Qin Subject: [PATCH 3/3] arm64: dts: Add gpio_intc node for Amlogic-T7 SoCs Date: Wed, 13 Sep 2023 16:09:24 +0800 Message-ID: <20230913080924.3336391-4-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230913080924.3336391-1-huqiang.qin@amlogic.com> References: <20230913080924.3336391-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Sep 2023 01:11:31 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776909366428554476 X-GMAIL-MSGID: 1776909366428554476 Add GPIO interrupt controller device. Signed-off-by: Huqiang Qin Reviewed-by: Neil Armstrong Tested-by: Lucas Tanure --- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi index dae3465bd39b..21b2436c47e2 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -155,6 +155,16 @@ watchdog@2100 { clocks = <&xtal>; }; + gpio_intc: interrupt-controller@4080 { + compatible = "amlogic,t7-gpio-intc", + "amlogic,meson-gpio-intc"; + reg = <0x0 0x4080 0x0 0x20>; + interrupt-controller; + #interrupt-cells = <2>; + amlogic,channel-interrupts = + <10 11 12 13 14 15 16 17 18 19 20 21>; + }; + uart_a: serial@78000 { compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; reg = <0x0 0x78000 0x0 0x18>;