Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp141376imu; Mon, 26 Nov 2018 08:59:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/V/V3OMNifO/ill8GV4rlF4VDIOphotHbJWIZCBIQoMI5OsX+bOwOSYGMgbhK7Hc9WeuLse X-Received: by 2002:a63:1d1d:: with SMTP id d29mr24396340pgd.49.1543251562200; Mon, 26 Nov 2018 08:59:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543251562; cv=none; d=google.com; s=arc-20160816; b=0MFGuTwVkHLiEaQeTvuUPD6/fU/zJr1q0SOwQi5azWCRpimGKaXFbsPlTbiBvpTDUA 47QVwTfU2tIc+4Z1J0whcnmGBm7lE/i4Gb84qPqhMrOuoqDZOBMS7ufV6OM+3OpczoKd fwql246Dq7ogsFcFYv1o1pBFRmq+vr7D9JaGasaIFkFl9dwmJrlohOidj4GC1NVfU1UN OeXYaiSbm03IHXL0Y3qj0HPz+fbVUAyP+Ohsckl7HQ/Up4wWN2hMd/LizfJOd+wpUUev 0qZj7SFF5GjiXwjrQkMEyLmD6S7sF0PVhxB79sKn6oNLNDrwIxWOzhprhDYQyiUmeAKV RUuA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=UFjBS/labiZ32c6m6z/ujlYF1EXLTJ+qVF9qoQcH+Lk=; b=oV7oNyAJvBGezvFssnqCKa/wyvyXIBtYhjfAZQntu13jNdDU/vKZZSG5uteWJmSuVQ lH4QMENdmF6atMw6bgPFxbIzFYE9o1TrnXpaezfIk6hnEYUZwvvlRvh/e2p0W8EDJrT6 agZLnKn4cQlVJNL256MCtYZF/sSzxA7ofLmpSyadGthO9C+vkrCvt8N6zIv/kEza/WvY 6cJHsqAtGd6SywHp5mMtaryomZrvzesoqzD2CXaAcp5tDEOz/n/oaAlYO/e59OeoLk0F u8+18vXgt9w930umRkGSly3RQM+cU/xDsbq+Zrb/dLGvLRZB3wgh1Il5PPjLAJH2kUr/ 5a0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=BWZwZ2Uh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y21si783044pga.192.2018.11.26.08.58.33; Mon, 26 Nov 2018 08:59:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=BWZwZ2Uh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727166AbeK0Dur (ORCPT + 99 others); Mon, 26 Nov 2018 22:50:47 -0500 Received: from vern.gendns.com ([98.142.107.122]:46184 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726357AbeK0Dur (ORCPT ); Mon, 26 Nov 2018 22:50:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UFjBS/labiZ32c6m6z/ujlYF1EXLTJ+qVF9qoQcH+Lk=; b=BWZwZ2UhLn/MHzV1w0rS1m9beH EKN1t7/ULJ5PhG/mc65LBjgJ+LqVq2ubocfX6bLQrJ13iY2GiwusKttQgSiA5DKk7P1dmG03bdZfq GgpPNylZFvrEK3tazDLCJjv1eHgmilrCHXJBpeeSgjgbD2VA0z15ErCaLQAM0gZG2vP3TqJSkSkBg b+TKID5j8Hox3NRtqX0flzJG67heLeB/taTPzDUnRsctyWu+2k/AfJlpQcSwGf01p5mpI6JbELDBZ 5bv4wI+kt2p8I0FhcMhdW/uKLcSusGaf49UVrkCuzrAZfsV07Z/YXZvKLb6EbjM7kuineIZ81VGr8 JNqSUM1w==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:41648 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gRJsB-0007xH-7W; Mon, 26 Nov 2018 11:36:35 -0500 Subject: Re: [PATCH 15/17] ARM: dts: AM33xx: Add the PRU-ICSS DT nodes To: Roger Quadros , tony@atomide.com Cc: robh+dt@kernel.org, bcousson@baylibre.com, ssantosh@kernel.org, ohad@wizery.com, bjorn.andersson@linaro.org, s-anna@ti.com, nsekhar@ti.com, t-kristo@ti.com, nsaulnier@ti.com, jreeder@ti.com, m-karicheri2@ti.com, woods.technical@gmail.com, linux-omap@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <1542886753-17625-1-git-send-email-rogerq@ti.com> <1542886753-17625-16-git-send-email-rogerq@ti.com> From: David Lechner Message-ID: <55dc1462-b154-8e57-c352-88f8ff28a708@lechnology.com> Date: Mon, 26 Nov 2018 10:37:23 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1542886753-17625-16-git-send-email-rogerq@ti.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/22/18 5:39 AM, Roger Quadros wrote: > From: Suman Anna > > Add the DT nodes for the PRU-ICSS on AM33xx family of SoCs. The > AM33xx SoCs contain a single PRU-ICSS instance and is represented > by the pruss-soc-bus node and a child PRUSS node. PRU-ICSS is not > supported on AM3352 SoC though in the AM33xx family, so the nodes > are added in disabled state to the common am33xx dtsi file. They > should be enabled in only those derivative board files that use > a SoC containing PRU-ICSS. > > The PRUSS subsystem node contains the entire address space and > the various interrupts generated towards the main MPU. The various > sub-modules of the PRU-ICSS are represented as individual child > nodes (so platform devices themselves) of the PRUSS subsystem node. > These include the two PRU cores and the interrupt controller. The > Industrial Ethernet Peripheral (IEP), the Real Time Media Independent > Interface controller (MII_RT), and the CFG sub-module are represented > as syscon nodes. All the Data RAMs are represented within a child > node of its own named 'memories' without any compatible. > > The DT nodes use all standard properties. The regs property in > the PRU nodes define the addresses for the Instruction RAM, the > Debug and Control sub-modules for that PRU core. The firmware for > each PRU core is defined through a 'firmware-name' property. > > The default names for the firmware images for each PRU core are > defined as follows (these can be adjusted either in derivative > board dts files or through sysfs at runtime if required): > PRU-ICSS PRU0 Core: am335x-pru1_0-fw > PRU-ICSS PRU1 Core: am335x-pru1_1-fw > > Signed-off-by: Suman Anna > --- > arch/arm/boot/dts/am33xx.dtsi | 72 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 72 insertions(+) > > diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi > index d3dd6a1..ce42cd9 100644 > --- a/arch/arm/boot/dts/am33xx.dtsi > +++ b/arch/arm/boot/dts/am33xx.dtsi > @@ -924,6 +924,78 @@ > }; > }; > > + pruss_soc_bus: pruss_soc_bus@4a326004 { > + compatible = "ti,am3356-pruss-soc-bus"; > + reg = <0x4a326004 0x4>; > + ti,hwmods = "pruss"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + status = "disabled"; > + > + pruss: pruss@4a300000 { > + > elm: elm@48080000 { > compatible = "ti,am3352-elm"; > reg = <0x48080000 0x2000>; > This doesn't apply cleanly to next-20181126. elm: elm@48080000 node is not there. If it was, it seems like the pruss node should be after instead of before to keep things sorted since 4a300000 > 48080000.