From patchwork Thu Jun 11 15:29:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 187812 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp1503596ilo; Thu, 11 Jun 2020 08:30:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlcUkeYzholKPZo5eHZoWxk8z/Tj6I0gSY2o0VX/3lBovD4bsxSw7oOJph9xNY24Yrq0s3 X-Received: by 2002:a17:906:28da:: with SMTP id p26mr8461120ejd.551.1591889403958; Thu, 11 Jun 2020 08:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591889403; cv=none; d=google.com; s=arc-20160816; b=XKuyuXoErhuMAJbXp01Ddx3Blw4CG7jtv+0lYxkpIjkZ0wUv9BZCfm77jhSr1hmH// abyGmqOUlHd0iUzPKhGMr4EmtBurB5K/6zio5TgQEAmCOUNLK0x2h4bau9qYVC4WpzgY a1RE2sSJCEobNJcnjOGMEusXkTyceyib5OVXsvK/SwZK+beBC4zi7D+vU8XfrojUoAf3 Jo7+YnQQtRS99FzsHmo9F2tSrioznCR+Jfw/7oaptCZubNmLYB9V/2UaAqFRAAR0IlZB s7WEEK80M7eNGdZA7SrnyZnuQsfnjLsesSZn6AJy2H6Kmxkz6Xyz049w2xI1ojOeGZf4 DzoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hbtuhUNZ9tzwg2QjtHoSOIKYGRSF668PaftacXVIw3Y=; b=eIdvHwW0GOA6FpsIZM6xPMSIwRC2n4wDyUZosSCw/SnEBC9bITsucb1wVJvs9Qa42F Cs9K1gCutBLylhVt/Ik98cbcyPxpkILKOMdaPPE29kMHznxOICewgGmp9yFI720MKQDm zRZ5KoZtftSfJBPtrUFvpPZX9xi6BNskaPzQ7LLFWxMzCa7Zd1jiMSJzewK4irZh75Cu PNNxMaFuy6YeUjYmaZe9QicLpcUNRQovGtyexK1I+VEwm/B8Zl1G7iZOFOvUEuOug8uP Zx7ggJJEgxmXVpyR6Z6tZoNdfrW6Ibiw1BP3cBEUNUPVhUaLwCO7x9d7LaBuGSrZ1xDx n8Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="uhChi/QN"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u2si2055835edx.353.2020.06.11.08.30.03; Thu, 11 Jun 2020 08:30:03 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="uhChi/QN"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1728643AbgFKP37 (ORCPT + 6 others); Thu, 11 Jun 2020 11:29:59 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:50272 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728411AbgFKP36 (ORCPT ); Thu, 11 Jun 2020 11:29:58 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05BFTtIv130248; Thu, 11 Jun 2020 10:29:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1591889395; bh=hbtuhUNZ9tzwg2QjtHoSOIKYGRSF668PaftacXVIw3Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=uhChi/QNSJPqJWTW3VjDEL066AKDT5+gTcLwHyQLVw5m7hXVv4enjpYse4xWwsPDg cojtk5idlOaciAcz9OjygM6waMeYkgVc1NBaRyrHPQZ6Yq8o65NwGaCnYAU2zC7Hkv 4GzZfuQo5frwrwhM+SIdGaKxVZwDa6shAphRA3AE= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05BFTt4a083053 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Jun 2020 10:29:55 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 11 Jun 2020 10:29:55 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 11 Jun 2020 10:29:54 -0500 Received: from lelv0597.itg.ti.com (lelv0597.itg.ti.com [10.181.64.32]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05BFTswZ021089; Thu, 11 Jun 2020 10:29:54 -0500 Received: from localhost ([10.250.48.148]) by lelv0597.itg.ti.com (8.14.7/8.14.7) with ESMTP id 05BFTsVs085866; Thu, 11 Jun 2020 10:29:54 -0500 From: Suman Anna To: Tony Lindgren CC: Jason Kridner , Caleb Robey , Drew Fustini , Robert Nelson , , , , Suman Anna Subject: [PATCH 1/2] ARM: dts: am5729-beaglebone-ai: Enable IPU & DSP rprocs Date: Thu, 11 Jun 2020 10:29:44 -0500 Message-ID: <20200611152945.27656-2-s-anna@ti.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200611152945.27656-1-s-anna@ti.com> References: <20200611152945.27656-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Assign the previously added CMA reserved memory nodes to the respective IPU and DSP rproc device nodes, and enable these rproc nodes so that these remote processors can be booted on the AM5729 BeagleBone AI board. The addresses and sizes of the CMA pools are identical to those used on various other TI AM572x/AM574x based boards. The mailboxes, timers and watchdog-timers for all these remoteprocs are inherited by including the common dra72-ipu-dsp-common.dtsi file. An associated pair of the rproc node and its CMA node can be disabled later on if there is no use-case defined to use that remote processor. Signed-off-by: Suman Anna --- arch/arm/boot/dts/am5729-beagleboneai.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.26.0 diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts index 9877d7709d41..619e75927224 100644 --- a/arch/arm/boot/dts/am5729-beagleboneai.dts +++ b/arch/arm/boot/dts/am5729-beagleboneai.dts @@ -8,6 +8,7 @@ #include "dra74x.dtsi" #include "am57xx-commercial-grade.dtsi" #include "dra74x-mmc-iodelay.dtsi" +#include "dra74-ipu-dsp-common.dtsi" #include #include #include @@ -729,3 +730,23 @@ opp_slow-500000000 { opp-shared; }; }; + +&ipu2 { + status = "okay"; + memory-region = <&ipu2_memory_region>; +}; + +&ipu1 { + status = "okay"; + memory-region = <&ipu1_memory_region>; +}; + +&dsp1 { + status = "okay"; + memory-region = <&dsp1_memory_region>; +}; + +&dsp2 { + status = "okay"; + memory-region = <&dsp2_memory_region>; +};