Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6922268rwr; Tue, 2 May 2023 07:17:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6L2LO98h6sahv5rGRl9Ua2Qs0QR8oSxro8XE1OHfihm98lc5R/coijCD2NGje0WbyDpI4I X-Received: by 2002:aca:1719:0:b0:377:ff13:72f8 with SMTP id j25-20020aca1719000000b00377ff1372f8mr7215036oii.34.1683037022812; Tue, 02 May 2023 07:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683037022; cv=none; d=google.com; s=arc-20160816; b=JtJlAIDPXJiwE+eRzq/r4qmnkuBMxsgUg0bxoCeyIQE726N7OyAjzXs97/cC16wneh 4+I7AS5EeHvad5bKDWmuXkQtoepwT2p6vmjAwZ2XE/YYprmVfdMHLJCVAseNCRyaDkk+ yJfxbl6U8rKDr5mRtYqHa2npyeUwSSZrvQ2MGp5EOQU9M8bi26SDSIj+e4sJrAf2WF+X XmzMfuvtc8j8Xc4GDfus9fokLOs9pSFEHBbk+Bt7MzqnQfnxYfk6prDRIpETAXSVGBIT 8dyetYIqC0G86jjGYi+E3GDhR3RMflKojXZHhSVcaYbzBEDTiGCZzZMSnqr7O3sPBUYF kXpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=yPVTEblL4lhLwYEV+PX7XOBiRId0BJsSM3Y6sDHtWBU=; b=co28jqaeYkj/6s/0gEj8mimB0QDXKsPvHbZ5E8jKimMOFRtp2UlffV+Mi+rkVPukuT anILKJEXvV7HNI/ypv3hpyd+KCv9g2PArlJVOGMBSQfO6uRTgjpQtSsfua9EEvUF80eo 7Z/kQJfKoN3HHTn5v+0J4p74lt6Er4oodPYcbOwVnXeDgDNkp4ws+SKGPTeW0Nl6inoD mOrV/2NKD/3K/NgOCmKelA9qQZI476asCbKBKf/RYX8+260lZ4qXGXzD+/JlPyG8a1h8 mzZb9+68Jv10q7KFiApH8d0x6Ij/puefULhOIh9B+REsk0qlMBtpkhFCGZljVhKHLry9 E5Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Y43CBp7N; 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=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y12-20020a056808130c00b0038c1f264fd5si10795498oiv.235.2023.05.02.07.16.49; Tue, 02 May 2023 07:17:02 -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=@ti.com header.s=ti-com-17Q1 header.b=Y43CBp7N; 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=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234268AbjEBOOk (ORCPT + 99 others); Tue, 2 May 2023 10:14:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233955AbjEBOOj (ORCPT ); Tue, 2 May 2023 10:14:39 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADE1F11A; Tue, 2 May 2023 07:14:36 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 342EEHLh024070; Tue, 2 May 2023 09:14:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683036857; bh=yPVTEblL4lhLwYEV+PX7XOBiRId0BJsSM3Y6sDHtWBU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Y43CBp7NqrDEjFG6N0QGdSdxnNHjmRF4ff5J3LiW3x5Vrs+XCDFPsWbn5TlKg8X50 D/DSsXOX9UmbU4i/IY1/y4/cGaGIPoQwKV+IqEfcPvosXPFI+FPE0suanOrZJV4sfH OFQAtbDnmD3ZmkROxRU9DEqQjx4Fn7VJBpYcRWXo= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 342EEHLA022221 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 2 May 2023 09:14:17 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 2 May 2023 09:14:17 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 2 May 2023 09:14:17 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 342EEGRv123966; Tue, 2 May 2023 09:14:17 -0500 From: Hari Nagalla To: , CC: , , , , , Subject: [PATCH 1/2] arm64: dts: ti: k3-am62a: Add remote proc nodes Date: Tue, 2 May 2023 09:14:15 -0500 Message-ID: <20230502141416.9924-2-hnagalla@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230502141416.9924-1-hnagalla@ti.com> References: <20230502141416.9924-1-hnagalla@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 AM62A SoC devices have a C7x DSP in main voltage domain and two single core R5F processors in MCU and Wakeup domains respectively. The C7x DSP subsystem has various accelerators for Deep learning purposes. The R5F processor in wakeup domain is used as a device manager for the SoC. Signed-off-by: Jai Luthra Signed-off-by: Devarsh Thakkar Signed-off-by: Hari Nagalla --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 11 ++++++++++ arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi | 23 +++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 23 +++++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index 393a1a40b68b..81a017b2f2b2 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -660,4 +660,15 @@ ecap2: pwm@23120000 { clock-names = "fck"; status = "disabled"; }; + + c7x_0: dsp@7e000000 { + compatible = "ti,am62a-c7xv-dsp"; + reg = <0x00 0x7e000000 0x00 0x00100000>; + reg-names = "l2sram"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <208>; + ti,sci-proc-ids = <0x04 0xff>; + resets = <&k3_reset 208 1>; + firmware-name = "am62a-c71_0-fw"; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi index 2bb813e784a2..605df62d1d28 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi @@ -87,4 +87,27 @@ mcu_gpio0: gpio@4201000 { clock-names = "gpio"; status = "disabled"; }; + + mcu_r5fss0: r5fss@79000000 { + compatible = "ti,am62-r5fss"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x79000000 0x00 0x79000000 0x8000>, + <0x79020000 0x00 0x79020000 0x8000>; + power-domains = <&k3_pds 7 TI_SCI_PD_EXCLUSIVE>; + mcu_r5fss0_core0: r5f@79000000 { + compatible = "ti,am62-r5f"; + reg = <0x79000000 0x00008000>, + <0x79020000 0x00008000>; + reg-names = "atcm", "btcm"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <9>; + ti,sci-proc-ids = <0x03 0xff>; + resets = <&k3_reset 9 1>; + firmware-name = "am62a-mcu-r5f0_0-fw"; + ti,atcm-enable = <0>; + ti,btcm-enable = <1>; + ti,loczrama = <0>; + }; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi index 81d984414fd4..c75f6e59dff3 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi @@ -51,4 +51,27 @@ wkup_rtc0: rtc@2b1f0000 { wakeup-source; status = "disabled"; }; + + wkup_r5fss0: r5fss@78000000 { + compatible = "ti,am62-r5fss"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x78000000 0x00 0x78000000 0x8000>, + <0x78100000 0x00 0x78100000 0x8000>; + power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>; + wkup_r5fss0_core0: r5f@78000000 { + compatible = "ti,am62-r5f"; + reg = <0x78000000 0x00008000>, + <0x78100000 0x00008000>; + reg-names = "atcm", "btcm"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <121>; + ti,sci-proc-ids = <0x01 0xff>; + resets = <&k3_reset 121 1>; + firmware-name = "am62-wkup-r5f0_0-fw"; + ti,atcm-enable = <1>; + ti,btcm-enable = <1>; + ti,loczrama = <1>; + }; + }; }; -- 2.34.1