Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1623111ybh; Thu, 23 Jul 2020 13:40:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/NmWmVVPMLTW+ixgMphpLgH5DKI0EaRZC+6aRPU6bRt/p252ETOMuMGU7cHvtOceO0czu X-Received: by 2002:a05:6402:543:: with SMTP id i3mr5749817edx.182.1595536846724; Thu, 23 Jul 2020 13:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595536846; cv=none; d=google.com; s=arc-20160816; b=ymlH98ZyO5nWlCK73Xgl/c/2F+hbnWrCus52dbmezpnDdkA5EQcIZxbsM2KfHEAurh iqWh2OS7XIUbJaN1YgtaTcJ9dgdCWr0DxlTG/T07Bje/ENkjk/5J9ux/enADB4fA0Wd9 1QvhCJkQBe5eypSuncdKX4ufriTLJeYdjYxqp5aaATH4Ef8aD4sHMNQRPN7djML9hVqk TwKSCjk3/VQ3d7sr6lssN+87sp3mZT9bADz2+PKR4fDKxWxAPXJ6s9SfxTZtyDl3gohQ YC25q+J7Tht83wGjFF7rPA1ExQ5y+iaOkRMRx/2WDjedIK8CLq+n3X9hg6rDPGvdxFyp MjtA== 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=kVZNfhKHbyHmTCPMwDlSUNXeOG4dXmiHD5nfEJkzKRg=; b=O479MumpydpsW3kjZgSvDwODZ69p+aP9rdMdTnxHpAeuosvfRzjym45x2L99IzXpcW 6VwGoMp6s9aBTm0y8ZahH1nIDO2B2W7sTvxq9ecml28+JYHjFlwBTcxISpL9y/04xJd3 JbXoCHpphLJeszQ/nk+GGgtERg0vuXcOCP6wUesiRBWriY0ST5K38lvpTYSJAYylxKkY 7Pu2NH8TS6Q70PfEjZBfDH9RT0BAwWpYutqa5uoa86F/+dI5BnkCEx3sA3jMkeLjXUdi b+mPfc2RqpkfbVQxP30k+ViDIdRgDLb8r50y59g+ZT2kokhLD12vP5XOIv4gkxxDjLPF WBKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KT0PF3bi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a8si1811927ejx.135.2020.07.23.13.40.23; Thu, 23 Jul 2020 13:40:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=KT0PF3bi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726689AbgGWUj3 (ORCPT + 99 others); Thu, 23 Jul 2020 16:39:29 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:40604 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725979AbgGWUj3 (ORCPT ); Thu, 23 Jul 2020 16:39:29 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06NKdPpL076293; Thu, 23 Jul 2020 15:39:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1595536765; bh=kVZNfhKHbyHmTCPMwDlSUNXeOG4dXmiHD5nfEJkzKRg=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=KT0PF3bia3hH+0ZqOB3sT51jOSmGtNUQDu8BSdh+F3PrT4AuudMVEcK2Z+1m3XHgU 9Bvq+4wDY0tPseVDL84Kx61e2CRTy5cQDCs7BPPJvCvzQ7OkrRR5wjN+37iRw1x090 /j1XDmere0Y+5YLLhtZkSVDnL5ie2YZx6zi3EVp8= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 06NKdPeZ030811 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Jul 2020 15:39:25 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 23 Jul 2020 15:39:24 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE101.ent.ti.com (157.170.170.31) 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, 23 Jul 2020 15:39:24 -0500 Received: from [10.250.34.248] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06NKdOU8086406; Thu, 23 Jul 2020 15:39:24 -0500 Subject: Re: [PATCH 4/4] arm64: dts: ti: Add support for J7200 Common Processor Board To: Lokesh Vutla , Tero Kristo , Nishanth Menon , Rob Herring CC: , Linux ARM Mailing List , Sekhar Nori , Kishon Vijay Abraham I , Grygorii Strashko References: <20200723084628.19241-1-lokeshvutla@ti.com> <20200723084628.19241-5-lokeshvutla@ti.com> From: Suman Anna Message-ID: <13e428a8-1c8d-62d6-3d31-84eeba43c9b3@ti.com> Date: Thu, 23 Jul 2020 15:39:24 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200723084628.19241-5-lokeshvutla@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/23/20 3:46 AM, Lokesh Vutla wrote: > Add support for J7200 Common Processor Board. > The EVM architecture is very similar to J721E as follows: > > +------------------------------------------------------+ > | +-------------------------------------------+ | > | | | | > | | Add-on Card 1 Options | | > | | | | > | +-------------------------------------------+ | > | | > | | > | +-------------------+ | > | | | | > | | SOM | | > | +--------------+ | | | > | | | | | | > | | Add-on | +-------------------+ | > | | Card 2 | | Power Supply > | | Options | | | > | | | | | > | +--------------+ | <--- > +------------------------------------------------------+ > Common Processor Board > > Common Processor board is the baseboard that has most of the actual > connectors, power supply etc. A SOM (System on Module) is plugged on > to the common processor board and this contains the SoC, PMIC, DDR and > basic high speed components necessary for functionality. > > Note: > * The minimum configuration required to boot up the board is System On > Module(SOM) + Common Processor Board. > * Since there is just a single SOM and Common Processor Board, we are > maintaining common processor board as the base dts and SOM as the dtsi > that we include. In the future as more SOM's appear, we should move > common processor board as a dtsi and include configurations as dts. > * All daughter cards beyond the basic boards shall be maintained as > overlays. > * Since J7200 is derivative of J721E re-using the CONFIG_ARCH_K3_J721E_SOC > config for building J7200 dts files. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Peter Ujfalusi Reviewed-by: Suman Anna > --- > arch/arm64/boot/dts/ti/Makefile | 3 +- > .../dts/ti/k3-j7200-common-proc-board.dts | 64 +++++++++++++++++++ > arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 29 +++++++++ > 3 files changed, 95 insertions(+), 1 deletion(-) > create mode 100644 arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts > create mode 100644 arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi > > diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile > index b397945fdf73..7b0b176eab1b 100644 > --- a/arch/arm64/boot/dts/ti/Makefile > +++ b/arch/arm64/boot/dts/ti/Makefile > @@ -8,4 +8,5 @@ > > dtb-$(CONFIG_ARCH_K3_AM6_SOC) += k3-am654-base-board.dtb > > -dtb-$(CONFIG_ARCH_K3_J721E_SOC) += k3-j721e-common-proc-board.dtb > +dtb-$(CONFIG_ARCH_K3_J721E_SOC) += k3-j721e-common-proc-board.dtb \ > + k3-j7200-common-proc-board.dtb > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts > new file mode 100644 > index 000000000000..e27069317c4e > --- /dev/null > +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts > @@ -0,0 +1,64 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ > + */ > + > +/dts-v1/; > + > +#include "k3-j7200-som-p0.dtsi" > + > +/ { > + chosen { > + stdout-path = "serial2:115200n8"; > + bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; > + }; > +}; > + > +&wkup_uart0 { > + /* Wakeup UART is used by System firmware */ > + status = "disabled"; > +}; > + > +&main_uart0 { > + power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>; > +}; > + > +&main_uart2 { > + /* MAIN UART 2 is used by R5F firmware */ > + status = "disabled"; > +}; > + > +&main_uart3 { > + /* UART not brought out */ > + status = "disabled"; > +}; > + > +&main_uart4 { > + /* UART not brought out */ > + status = "disabled"; > +}; > + > +&main_uart5 { > + /* UART not brought out */ > + status = "disabled"; > +}; > + > +&main_uart6 { > + /* UART not brought out */ > + status = "disabled"; > +}; > + > +&main_uart7 { > + /* UART not brought out */ > + status = "disabled"; > +}; > + > +&main_uart8 { > + /* UART not brought out */ > + status = "disabled"; > +}; > + > +&main_uart9 { > + /* UART not brought out */ > + status = "disabled"; > +}; > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi > new file mode 100644 > index 000000000000..22fc50bd5c4c > --- /dev/null > +++ b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi > @@ -0,0 +1,29 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ > + */ > + > +/dts-v1/; > + > +#include "k3-j7200.dtsi" > + > +/ { > + memory@80000000 { > + device_type = "memory"; > + /* 4G RAM */ > + reg = <0x00000000 0x80000000 0x00000000 0x80000000>, > + <0x00000008 0x80000000 0x00000000 0x80000000>; > + }; > + > + reserved_memory: reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + secure_ddr: optee@9e800000 { > + reg = <0x00 0x9e800000 0x00 0x01800000>; > + alignment = <0x1000>; > + no-map; > + }; > + }; > +}; >