From patchwork Tue Jan 11 13:45:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Gmeiner X-Patchwork-Id: 12709887 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04928C433F5 for ; Tue, 11 Jan 2022 13:47:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=0eHpOjSa3CdRDIfAza/CoJkiauiWh9qCzTHpEoqvyPM=; b=0SMzeN/q8d8T/2 R5tBSemXvGGbWlIOXdf2Cjx6rts56exr6Oy77VZToK/5Ct4su0tqKeulxzC21vWuV7Lu99Il2K/Sj oiGUg6cFzxySKLVFNvvo1Hp/vTqkgI/r8UCRP66XQMssTcwXWhigYgU5cxwWn4PDG5PJylX1r4XRQ 6gBHZ0WRgqtEPRcd/9OEoYtgevh8qGrb0bA8LI+A4Ab+tLopovVXaypNYFf03NXBxT0FxcK+AgIHQ snirQ3vVvaODqo/a/Rb35gyrH4Iq4Y/8ZvtXhjRfogHolW8YBQwxNRytLWtsszh3cF359daDbTX5u Fhjb1V+DVKbmsn011H0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7HTP-00GStM-LC; Tue, 11 Jan 2022 13:46:03 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7HTK-00GSrJ-CC for linux-arm-kernel@lists.infradead.org; Tue, 11 Jan 2022 13:45:59 +0000 Received: by mail-wr1-x432.google.com with SMTP id d19so2548996wrb.0 for ; Tue, 11 Jan 2022 05:45:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iijtj/QUK6WABJsTECmjaPeb1MGgaakWJBsRpJ2iseM=; b=lm0LhEb4eFpH/C3I36RuOoBqL9Bp+vklw+a8+f9mfXtVqHeQ99x1legaVwfWYbVewe lceAtuiVnB+JcL9W6o915S1mOSBQqMqedqOTYDBzuzdkdDbafGY04whg51CUPk5vh6fO XzRkMzkuAKO0H20Q80IU2604lwBozC8ULt9ouaIJdOXn5rMm+UOXJnjC75yzMi5WhuJW FQPQDOz9JIKmjVZEMrmhzrC5xJiLVxrAAl4X8GmbcL5DV7nWFLQKbkPm7KyxM0dB82Yt vzLfnZ6rKTopCXm3l7QJSTvcNprNWyPz657xsLAH9EkpNwtpHQWSCAsRu+SXHSSQnJ58 Cs5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iijtj/QUK6WABJsTECmjaPeb1MGgaakWJBsRpJ2iseM=; b=mVU0mrYSfayUN1vVHeubCHoSGElFUhX+4jO+YiEeYrseIJ8pSn16zUnzMEVjxM0sBd 7xVysF5zLtU4NXDy9+GwIS8gGJuAvrG2PUe8wPcCnTIUijVj3wZogcLfOKogcUjZnfqR gOcJSduE/IIaPvC6WXG0Rntlp4VFJd7hkEOU95zKeYXQTsAkSAZpVFPwaFYaO4TPB/FJ ok9AVlu6Pe8KRIgKUG52NRSAIo9ptE1GEscO6f9IVI3pBy6WQbskYDKmmw86iJXb87sQ DTmvWAZVOYSztz0xN/hRypgJVAm25JTPlRt1cPIiUlxk/OVecN/2weBLEvgjK4tQ4DGS BgcA== X-Gm-Message-State: AOAM532OhkfhVKRTCTnB2cqNlrW5yEszCcraLM0Ztj8H+QMbVSrl4LrT 8o6Z/TK3e0d6VrDKwp/hzSE= X-Google-Smtp-Source: ABdhPJw2PpH0k8BFDKNlgwERtgNiDMLbMUyLHXgDMezgM+q1jHmKusxAoJ2RBLCuMMVuvD42pzCdsw== X-Received: by 2002:adf:d216:: with SMTP id j22mr3905617wrh.577.1641908755647; Tue, 11 Jan 2022 05:45:55 -0800 (PST) Received: from localhost.localdomain.at (62-178-82-229.cable.dynamic.surfer.at. [62.178.82.229]) by smtp.gmail.com with ESMTPSA id r1sm10758449wrz.30.2022.01.11.05.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 05:45:55 -0800 (PST) From: Christian Gmeiner To: linux-kernel@vger.kernel.org Cc: Christian Gmeiner , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH] arm64: dts: ti: k3-am64-main: add RTI watdog nodes Date: Tue, 11 Jan 2022 14:45:48 +0100 Message-Id: <20220111134552.800704-1-christian.gmeiner@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220111_054558_450563_C96BAD23 X-CRM114-Status: GOOD ( 10.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the needed bus mappings for the two main RTI memory ranges and the required device tree nodes in the main domain. Signed-off-by: Christian Gmeiner Acked-By: Hari Nagalla --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 18 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am64.dtsi | 2 ++ 2 files changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index 5ad638b95ffc..83cd48144789 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -974,6 +974,24 @@ ecap2: pwm@23120000 { clock-names = "fck"; }; + main_rti0: watchdog@e000000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0xe000000 0x00 0x100>; + clocks = <&k3_clks 125 0>; + power-domains = <&k3_pds 125 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 125 0>; + assigned-clock-parents = <&k3_clks 125 2>; + }; + + main_rti1: watchdog@e010000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0xe010000 0x00 0x100>; + clocks = <&k3_clks 126 0>; + power-domains = <&k3_pds 126 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 126 0>; + assigned-clock-parents = <&k3_clks 126 2>; + }; + icssg0: icssg@30000000 { compatible = "ti,am642-icssg"; reg = <0x00 0x30000000 0x00 0x80000>; diff --git a/arch/arm64/boot/dts/ti/k3-am64.dtsi b/arch/arm64/boot/dts/ti/k3-am64.dtsi index 120974726be8..84bd07cd1824 100644 --- a/arch/arm64/boot/dts/ti/k3-am64.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64.dtsi @@ -71,6 +71,8 @@ cbass_main: bus@f4000 { <0x00 0x01000000 0x00 0x01000000 0x00 0x02330400>, /* First peripheral window */ <0x00 0x08000000 0x00 0x08000000 0x00 0x00200000>, /* Main CPSW */ <0x00 0x0d000000 0x00 0x0d000000 0x00 0x00800000>, /* PCIE_CORE */ + <0x00 0x0e000000 0x00 0x0e000000 0x00 0x00000100>, /* Main RTI0 */ + <0x00 0x0e010000 0x00 0x0e010000 0x00 0x00000100>, /* Main RTI1 */ <0x00 0x0f000000 0x00 0x0f000000 0x00 0x00c44200>, /* Second peripheral window */ <0x00 0x20000000 0x00 0x20000000 0x00 0x0a008000>, /* Third peripheral window */ <0x00 0x30000000 0x00 0x30000000 0x00 0x000bc100>, /* ICSSG0/1 */