Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp191343rdb; Thu, 22 Feb 2024 00:03:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV/ojLNgvPBH3Utks7/XUyHnKnNhZuxQb/OKGEQ7GqyiBjewYgW2CltRS7V8YpoQ30ze3fJrSiqHBa3SFO4nCXbkDnOLYqDCiK3q/xd0A== X-Google-Smtp-Source: AGHT+IF9HYKQdogAvspgDCYa4P654enm8dEAZd3nLi6KNOF+WYa136TIpQkh8AKBxC7RXfHPLEsC X-Received: by 2002:a05:6402:5151:b0:564:fa70:a2e7 with SMTP id n17-20020a056402515100b00564fa70a2e7mr2399831edd.40.1708588997900; Thu, 22 Feb 2024 00:03:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708588997; cv=pass; d=google.com; s=arc-20160816; b=THdri+z8SZH9gxSaBu5NrE94dcDrbssaZW+4tTh/6z2ktkNqBbN1EkeBtVGAwiDNMD y39malE/MpRR4KMm7cmUm08jvDm9FgZd4PnoA4hwNqeAOn2ppy8NTUvHcZ4dYM88inSM XWj4nfe/hDZ27pTDtF8GtnIKN5qgWDxtzttX3JibNF3q4SBntHN0wBNeoBLq+HQTzts3 LL07Xhlewdaq54Xx9+efB2xfWkPgTkvSEeA16PrNtMgARLfYJM5/Qw9KT7n61dBv9Mpv WH6izxIt/dzb6uG8wjxkErwqN3G+RncrwM+DeMk583h51v0TE15z+yCCsx6Hog0WBYd/ fZSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=dDOm9FV7aMuSQWvy7nBvWpCWczlRRE354L3MMTYM+5o=; fh=x2k4fEaFoFpvkd02MojHAkBfbEU6ueG7eVHGWcATlwI=; b=UKwsOfrieI+6aGkCEil7PnL7hlbgQj9qwNjQMVX1BRjZWzPKu+o4aQ/TAdzB4NAB/a MTNrGYIYGoIjRPkF2LXeY8wXSqd77IdaogDPTFkx1QscbzVoBaZUWNCweKyTTYne7fUO grsITe7nz4MLnAKacPZQnsijwCNTjUhuegyP0PPANCKzzZ+tJxyK2HkXDETEG4eteFV4 +g3aIR9lZHv2sutTmzMZPzPPyvQgRoyW9AkeGylEhQkKTWrbGOYm5+13MTfgKcS0aLr6 BmVJLnPVEqpcMWeP4t2NYEooVVw77h4C7d5fQj6B1CE8++JsegY1FYBItHUbNgR3oACT 3m2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-76045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76045-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bl5-20020a056402210500b0056465403221si3959233edb.669.2024.02.22.00.03.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 00:03:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel+bounces-76045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76045-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9DCEC1F21E6F for ; Thu, 22 Feb 2024 08:03:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E80A1B298; Thu, 22 Feb 2024 08:02:34 +0000 (UTC) Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 758871863E; Thu, 22 Feb 2024 08:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=58.32.228.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708588954; cv=none; b=OQAMmzdCP3OMmVjRJGtaJ30Q+cO8dR0gDNvciePeBU0Wg0EROfncvr0+rA09f6COvv/5kBKLL+0XHx/aZ9tuF4h6xPGbQO37MoBIOoOwEToEvzRyB0rqdJvx669LuFNNBo9e526yFpObj7h8H3t8TBh+rjC3iQ3V96ryY3Or0TM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708588954; c=relaxed/simple; bh=0i4fJdV4oWd0UtPBLzel1D30DZMFT1rhF4jCxciFWeA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hG8cOXlqnRNd77kyIKqiUbK8o8dP5fQBocCeG3dvIp7V/Z5bee8Mr0o07RTrzNSIte9arxI7RRVAfS0lYD6wjYX6CxTlG6glRrXXAsWLISgoycN0s9LN5V8c9plALcUGnw0oxvtrN7IpgcPnx28QDDRkh1tTZXKlBu8Zq6WcbJU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com; spf=pass smtp.mailfrom=amlogic.com; arc=none smtp.client-ip=58.32.228.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amlogic.com 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.6; Thu, 22 Feb 2024 15:47:18 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , Huqiang Qin Subject: [RESEND PATCH 3/3] arm64: dts: Add gpio_intc node for Amlogic-T7 SoCs Date: Thu, 22 Feb 2024 15:46:39 +0800 Message-ID: <20240222074640.1866284-4-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240222074640.1866284-1-huqiang.qin@amlogic.com> References: <20240222074640.1866284-1-huqiang.qin@amlogic.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Add GPIO interrupt controller device. Signed-off-by: Huqiang Qin Reviewed-by: Neil Armstrong --- 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 ad1cac42e9d8..5248bdf824ea 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -171,6 +171,16 @@ gpio: bank@4000 { }; }; + 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>; -- 2.42.0