Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp502623rwl; Wed, 9 Aug 2023 19:01:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFp+z00fUei6fGgFLHzfPH7KunOSCyrPTLqW9a3i9kdsJ4crzV1KuJZnrN7704ib7nvr3sx X-Received: by 2002:a17:90a:541:b0:268:18e:9dfa with SMTP id h1-20020a17090a054100b00268018e9dfamr902868pjf.5.1691632895315; Wed, 09 Aug 2023 19:01:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691632895; cv=none; d=google.com; s=arc-20160816; b=sY2Tha9orpTDwmgU4B+tKjFZVbpgAz0YsuKmuFwEe3ys5HpY+Vr0SI5m9F3VOlMX1H FUGXvxJL2fpYaLAQa5tyDnfAq4E9QQQTCrlavJ7EhaZWzRk2DRXRsht8mogXzhz3f5Tw CMljiVQHC3uYTxEj7yjPI2E8Qzf2vdNO/kdc3nRvv2dcvRa964vA5+Fqs3kPn0bS6RNx rMaZliQi4Ltrg+dtQgutbzlbYIfPZHKjEcedCWZ9jKuPxUEnWqBJuTE+QNZuz+qsdD56 gc9YQwGYCislh3RKt1gMK1aO/PJb9FqynFSvKEoD2QVK/GkesEO5oZyOSQ+zMd8+pCkb zAbw== 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=RdnvFELHEwyLPac8ik+hufidYbfO4W22kgPQ2sxF+KY=; fh=wS5k+JeFfgu5NpFQlFZZaf58TkOiEiu0DO1LsfaWBqU=; b=J/+VMRp3Gf7m0Inli8EU2/NZ08OGuongAMv3XkDtiBpBIPrIi1JpVjxu5FSXJPF7dz RbLAFyFNEPDpq4ykG+XsBN5c/UAcnqwSwq7xGsTjHQ2EJN5pgG8Vk0nOeRmV5UzkKckf QUoToqz3p/OMU0b9ZsmyZtcWZiTC1O6Ilw5UcCtTiWOpXps2SRqDpS3LPYDltnFSVens yy0l1xqHhpCZecZY+YeMXhvjNBnGLGnKSXBV9Ob0n7nd4uov2S2QdYVU6ywZycffoZAO zVBBF1MlfixanC1+sBWjoV8C4ymSyqb7N8GiGJtFt2xVfyGckc2Fx4hAAsRoyUTmYQmc Lx0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=p3d66PmG; 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 lr1-20020a17090b4b8100b00253555e5f95si514644pjb.153.2023.08.09.19.01.22; Wed, 09 Aug 2023 19:01:35 -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=p3d66PmG; 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 S230239AbjHJA7G (ORCPT + 99 others); Wed, 9 Aug 2023 20:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbjHJA7C (ORCPT ); Wed, 9 Aug 2023 20:59:02 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1A601994; Wed, 9 Aug 2023 17:59:01 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37A0wt0p009468; Wed, 9 Aug 2023 19:58:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691629135; bh=RdnvFELHEwyLPac8ik+hufidYbfO4W22kgPQ2sxF+KY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=p3d66PmG/DuwG+TraYFAyrOK0lHcYVcFtQPgDFmtmc3zPniHcOlhtRTbTeoeTw4Z/ sE/YXtGIQauyCV9gsx8nhqMIDUs1QYpGxM6gfPj1YAD+c0U6dh/680cDk8C5xQP2bB SebComP2DGpw6nghhOgYCNUcrO5wtH6BQGrqwfVk= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37A0wt9T089504 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 19:58:55 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Aug 2023 19:58:55 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE112.ent.ti.com (10.64.6.33) 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; Wed, 9 Aug 2023 19:58:55 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37A0wtP7030705; Wed, 9 Aug 2023 19:58:55 -0500 From: Hari Nagalla To: , , , , , CC: , , Subject: [PATCH v2 3/5] arm64: dts: k3-am62a-mcu: Add R5F remote proc node Date: Wed, 9 Aug 2023 19:58:48 -0500 Message-ID: <20230810005850.21998-4-hnagalla@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230810005850.21998-1-hnagalla@ti.com> References: <20230810005850.21998-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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS 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 SoCs have a single R5F core in the MCU voltage domain. The MCU domain also has a 512KB sram memory, the R5F core can use for applications needing fast memory access. Signed-off-by: Hari Nagalla --- Changes since v1: - Divided the remote proc patch into separate per domain patch arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi index a6d16a94088c..cce08a85ad3b 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi @@ -6,6 +6,17 @@ */ &cbass_mcu { + mcu_ram: sram@79100000 { + compatible = "mmio-sram"; + reg = <0x00 0x79100000 0x00 0x80000>; + ranges = <0x00 0x00 0x79100000 0x80000>; + #address-cells = <1>; + #size-cells = <1>; + + mcu_sram1@0 { + reg = <0x0 0x80000>; + }; + }; mcu_pmx0: pinctrl@4084000 { compatible = "pinctrl-single"; reg = <0x00 0x04084000 0x00 0x88>; @@ -167,4 +178,28 @@ mcu_mcan1: can@4e18000 { bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; 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>; + sram = <&mcu_ram>; + }; + }; }; -- 2.34.1