From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B024C433E2 for ; Tue, 15 Sep 2020 15:35:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 154F220756 for ; Tue, 15 Sep 2020 15:35:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GttZp68a"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="xG/V449p" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 154F220756 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nekqD1na4j/EEJv/BZ0UprNazlR9Ogo/4Xx4JFJr01o=; b=GttZp68acYn0t8Mvhh6U563lJ hNI/VMe9N0Hvhv6YOcxKmLtc/CqUybp40SZemp9I06dATEyNvrCqutG1W4GEfR5fkST7eO+vW2PzR uIfRTe8GkXF9N+OIB3rpdMjqaBLondS+2lMBqX2nAgERtgb/wy3Wa7811WLma/nSktqt+QpNBjmBg gdB0uCF1vSyMCYczKjpyC2G8ZX33ZyfXccrTZP5t0MZ3/+HpZe/m8RsXtxGROXCXTmkQCztCBN+4T 3Bkgl3h5yU4ddEOhTBrbzgxj3iTFEK5J+b5p12T4HsrDudXYfexrkdG4tEAmP3EV9pNO1JiOIM/5+ ET25rZbaw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kICxU-0002fU-HE; Tue, 15 Sep 2020 15:33:28 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kICxP-0002di-F3 for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2020 15:33:25 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 08FFXLe1004198; Tue, 15 Sep 2020 10:33:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1600184001; bh=zhHZxDKWQjStWe3Oqqxq9vQe91HlFMPkgagfu7NoDok=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=xG/V449pAd73aqZMzjNDDSuEeFd+JCU3R0S8K8oGibLDe1oqTVBZIai7QFhtvIgQO uWYwrQoG7m8qufH57EBsGX4xYxIpxZVHbS4VR4AKLjIKgVtvumo5IGVbIY6NX8we0l GJVbdg2C2AVoYGCtnmp2AuMPakwi0zlnjAy55PI0= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 08FFXLbD111210; Tue, 15 Sep 2020 10:33:21 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) 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; Tue, 15 Sep 2020 10:33:21 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE114.ent.ti.com (157.170.170.25) 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; Tue, 15 Sep 2020 10:33:21 -0500 Received: from [10.250.66.210] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 08FFXJOC067371; Tue, 15 Sep 2020 10:33:20 -0500 Subject: Re: [PATCH v4 5/5] arm64: dts: ti: Add support for J7200 Common Processor Board To: Lokesh Vutla , Nishanth Menon , Tero Kristo , Rob Herring References: <20200914162231.2535-1-lokeshvutla@ti.com> <20200914162231.2535-6-lokeshvutla@ti.com> From: Suman Anna Message-ID: <7d7f3ba2-d687-a90b-e4e9-6bec835e093f@ti.com> Date: Tue, 15 Sep 2020 10:33:19 -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: <20200914162231.2535-6-lokeshvutla@ti.com> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_113323_646713_C5B499A8 X-CRM114-Status: GOOD ( 24.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Device Tree Mailing List , Grygorii Strashko , Sekhar Nori , Linux ARM Mailing List , Kishon Vijay Abraham I Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 9/14/20 11:22 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. > > Reviewed-by: Grygorii Strashko > Signed-off-by: Lokesh Vutla > Signed-off-by: Peter Ujfalusi > --- > arch/arm64/boot/dts/ti/Makefile | 2 + > .../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(+) > 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 7f28be62b8da..65506f21ba30 100644 > --- a/arch/arm64/boot/dts/ti/Makefile > +++ b/arch/arm64/boot/dts/ti/Makefile > @@ -9,3 +9,5 @@ > dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb > > dtb-$(CONFIG_ARCH_K3) += k3-j721e-common-proc-board.dtb > + > +dtb-$(CONFIG_ARCH_K3) += 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>; Perhaps a comment here to explain why this is being overwritten to use PD_SHARED. I don't see anything in the Changelog either. Otherwise, looks good. regards Suman > +}; > + > +&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..f7e271c442a0 > --- /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 = <0x00 0x80000000 0x00 0x80000000>, > + <0x08 0x80000000 0x00 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; > + }; > + }; > +}; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel