Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4554272rwe; Mon, 17 Apr 2023 14:42:56 -0700 (PDT) X-Google-Smtp-Source: AKy350ZWSREdttmcuyfyemV/tgvcD9BUXPFMv/jhLuAwNMoX89RtzZm17NKUl6bKyYAB9KFIn18T X-Received: by 2002:a05:6a20:9185:b0:ef:b897:5b0a with SMTP id v5-20020a056a20918500b000efb8975b0amr6443950pzd.19.1681767776479; Mon, 17 Apr 2023 14:42:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681767776; cv=none; d=google.com; s=arc-20160816; b=PXBT5w2ZOPmrTSgjEs3auoOQ9UV76fOeQ4jU1s3LFhVqJfUHSEce5ZnODyIsCJFWSe 0bkK5Rz2TKkdm2vV+9s6gJlnoj6MGgPsFdpBkwYkOZNtOOxkf2AzGvvgvzjqYjEwp85N HF6H6MDG9o1ZI2m/XjArR32pC2cXwWkQXIWsz4D7d2Klrr/h+xQxBwoYsy8eHhSPuEqV hK/Qo2EXG8XI/2B3sVCk5n5OCHHUKkAJ64ZzRcqYc6NQg60ZgguMWVm3AKDMYV5UpXhE +tM9hGcovgQw+LkPtJsDG5dkz+W1pabN5Ev/h3umZO7Uran9N7Wh8C2n2o/6jD7uMlrx 30hA== 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 :dkim-signature; bh=Oz77f6L0CGAbpkI0S1CMbMyMqUC1Qs4ZvdZaMXuZCMs=; b=OS/PlyTgffohs1XnaWXkVpalSPITg0rceApjuS44QLTlyoFJZmBqq4SPR86EaFWJAN fz18LrzcHHdCh9kPQAF3dJD07P0n7V76VAw90r9Iccq8nGX5swDOn9E64eAhfHF6E1// 5jq6cUulHN9wOqhEQZ8SlV80iflw2xySUREjlXVqALyUbopH3Czc54NUm8XKhiynvd2W 0qExR7o+4+25nJnnebT2omaXQHUVAJmO4S8ytCm8BvSSsHPZvTWXlPQJI9diDv/b+/Hr buhZNllEkkMLQ+nx5fdK9XsJH5gfkpg8z9GSHHt54wKeT9g6pTornKYcdq0ow2/p852P 6xIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JBC4My2j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i186-20020a6387c3000000b0051b28ed8e0asi12782647pge.540.2023.04.17.14.42.42; Mon, 17 Apr 2023 14:42:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JBC4My2j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230254AbjDQVkp (ORCPT + 99 others); Mon, 17 Apr 2023 17:40:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbjDQVkl (ORCPT ); Mon, 17 Apr 2023 17:40:41 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73E2F4C28; Mon, 17 Apr 2023 14:40:40 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-191-155.ewe-ip-backbone.de [91.248.191.155]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 06E126603239; Mon, 17 Apr 2023 22:40:39 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681767639; bh=JaiGX/zKLMMzlVpGom/T53NzObIEnY5d4OtYAaV22XU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JBC4My2jOefTtSE40zQd5Zg2VO3ms+tO9845Oz4F7aCh3uJ7OxO/LgWe/WlbVz7te pG7XgSmDV83dQklr8xLw0oLlZtbeLZSJW5PJhHzBxnvd8CppU6qtSKf3XxJXbQF0aK K45SpXQe5879AxpkTVfBAukjduR09sIJhKplpLmN/XkQpxiKY7CM2xIRbo+JN4CNow Q1ktK0PrThXvY9P2DmKwYI8MYJ5VJafqG2pVKKchdCUlHy2Q/vZFYSPfk80/X4pnFC VFXF7TgJjasFNTWudpFPI9JQjcu2v3TMp4/QW8YLQgfP8osQ7IT17BihdVC0jtMTTE GE3BO0lkHXR+w== Received: by jupiter.universe (Postfix, from userid 1000) id 039E94807EF; Mon, 17 Apr 2023 23:40:36 +0200 (CEST) From: Sebastian Reichel To: Marc Zyngier , Heiko Stuebner Cc: Rob Herring , Krzysztof Kozlowski , Thomas Gleixner , Peng Fan , Robin Murphy , Peter Geis , XiaoDong Huang , Kever Yang , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v3 2/2] arm64: dts: rockchip: rk3588: add GIC ITS support Date: Mon, 17 Apr 2023 23:40:35 +0200 Message-Id: <20230417214035.101190-3-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230417214035.101190-1-sebastian.reichel@collabora.com> References: <20230417214035.101190-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the two Interrupt Translation Service (ITS) IPs that are part of the GIC-600. They are mainly required for PCIe Message Signalled Interrupts (MSI). Co-developed-by: Kever Yang Signed-off-by: Kever Yang Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 2124c654f665..62204b96b0b4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -1741,7 +1741,24 @@ gic: interrupt-controller@fe600000 { mbi-alias = <0x0 0xfe610000>; mbi-ranges = <424 56>; msi-controller; + ranges; + #address-cells = <2>; #interrupt-cells = <4>; + #size-cells = <2>; + + its0: msi-controller@fe640000 { + compatible = "arm,gic-v3-its"; + msi-controller; + #msi-cells = <1>; + reg = <0x0 0xfe640000 0x0 0x20000>; + }; + + its1: msi-controller@fe660000 { + compatible = "arm,gic-v3-its"; + msi-controller; + #msi-cells = <1>; + reg = <0x0 0xfe660000 0x0 0x20000>; + }; ppi-partitions { ppi_partition0: interrupt-partition-0 { -- 2.39.2