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>;