Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4969518imm; Tue, 21 Aug 2018 04:15:00 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxQ3aRTjbmaX5TBtxxxTTvAccv+TALgw5x2pPPUmBQezQSAxof3Ubpo/eglUJN8+oKB9lcr X-Received: by 2002:a17:902:14cb:: with SMTP id y11-v6mr4477583plg.317.1534850100288; Tue, 21 Aug 2018 04:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534850100; cv=none; d=google.com; s=arc-20160816; b=OoP7iyAA+ynpv6CTf5H5FZ5/OQ6HU3KhsTcHyKk3M4265l30vpkBA8bWVfw2z4P6hy PSxv1Q8kw1kUMw7xR4RisfyRG+jGXfkiBzk749vK4bxEKrqPXbGMLjwRl9TMEUl/GkyU 4pOlPjCg5ySeB7WRdFVpIWcYwaEquw/EQGH+6S3cKWEqHaakuMouEAjKLC0K2FgtzaHJ 8vFKXymoE3vntIxzGdOSib40LturrycTMJsTEZtEPlp+s0XR8ZBeB7mSGBpFDl8zy9w9 1yceR/is5PclT4SglfE6d1LRv3pEWriu7GItTMtD12hS7LT2p9OfQkanQR7WjlLjmxAb stNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=QT4HZK6P9tPhW/KO0EOsdSUte8PtiV4weURg2aMNYeI=; b=FRIpMe7f9fU2oFoJkcJSc8m0R6jFGJpdVRB89Fp6WK6SLKISyeTrZdZEirsPEhf0ao KAqQVHUAUG53iyLlK4NIC6GjNq9W+uZdfHN749LURJ+vBbaW9ehisCwci5sqQO86BX30 6/WyLdPPlZ292/VJaVUnQcQ7/eaJ/P0ZM6fhxFJzLgeiKzr8U90jdNvg0luj/bQLBSdw aNDAU81sx7G0FygJ16udIqSy4BO/+UY7rsfLCovgnKLX8jPe0n39i1ZNoPvgCGmNvDpM VlxpeuwYBU7RP3pS+1wfsW89rcfA2Q4fHC6SDcE3+dd5UY7tqMgcIgjEJoY3TGBrQ0Wk nJ9Q== ARC-Authentication-Results: i=1; mx.google.com; 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 a190-v6si11477382pgc.241.2018.08.21.04.14.17; Tue, 21 Aug 2018 04:15:00 -0700 (PDT) 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; 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 S1727023AbeHUNgv (ORCPT + 99 others); Tue, 21 Aug 2018 09:36:51 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:47316 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726684AbeHUNgv (ORCPT ); Tue, 21 Aug 2018 09:36:51 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 37A807A9; Tue, 21 Aug 2018 03:17:17 -0700 (PDT) Received: from e107155-lin (e107155-lin.emea.arm.com [10.4.12.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7745B3F739; Tue, 21 Aug 2018 03:17:12 -0700 (PDT) Date: Tue, 21 Aug 2018 11:17:02 +0100 From: Sudeep Holla To: Vabhav Sharma Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, mturquette@baylibre.com, sboyd@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel-owner@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, gregkh@linuxfoundation.org, arnd@arndb.de, kstewart@linuxfoundation.org, yamada.masahiro@socionext.com, linux@armlinux.org.uk, V.Sethi@nxp.com, udit.kumar@nxp.com, Ramneek Mehresh , Zhang Ying-22455 , Nipun Gupta , Priyanka Jain , Yogesh Gaur , Sriram Dash , Sudeep Holla Subject: Re: [PATCH 4/5] arm64: dts: add QorIQ LX2160A SoC support Message-ID: <20180821101652.GA18139@e107155-lin> References: <1534747636-20064-1-git-send-email-vabhav.sharma@nxp.com> <1534747636-20064-5-git-send-email-vabhav.sharma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1534747636-20064-5-git-send-email-vabhav.sharma@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 20, 2018 at 12:17:15PM +0530, Vabhav Sharma wrote: > LX2160A SoC is based on Layerscape Chassis Generation 3.2 Architecture. > > LX2160A features an advanced 16 64-bit ARM v8 CortexA72 processor cores > in 8 cluster, CCN508, GICv3,two 64-bit DDR4 memory controller, 8 I2C > controllers, 3 dspi, 2 esdhc,2 USB 3.0, mmu 500, 3 SATA, 4 PL011 SBSA > UARTs etc. > > Signed-off-by: Ramneek Mehresh > Signed-off-by: Zhang Ying-22455 > Signed-off-by: Nipun Gupta > Signed-off-by: Priyanka Jain > Signed-off-by: Yogesh Gaur > Signed-off-by: Sriram Dash > Signed-off-by: Vabhav Sharma > --- > arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 572 +++++++++++++++++++++++++ > 1 file changed, 572 insertions(+) > create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > new file mode 100644 > index 0000000..e35e494 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > @@ -0,0 +1,572 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +// > +// Device Tree Include file for Layerscape-LX2160A family SoC. > +// > +// Copyright 2018 NXP > + > +#include > + > +/memreserve/ 0x80000000 0x00010000; > + > +/ { > + compatible = "fsl,lx2160a"; > + interrupt-parent = <&gic>; > + #address-cells = <2>; > + #size-cells = <2>; > + > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + // 8 clusters having 2 Cortex-A72 cores each > + cpu@0 { > + device_type = "cpu"; > + compatible = "arm,cortex-a72"; > + reg = <0x0>; > + clocks = <&clockgen 1 0>; > + next-level-cache = <&cluster0_l2>; If you expect to get cache properties in sysfs entries, you need to populate them here and for each L2 cache. [...] > + > + rstcr: syscon@1e60000 { > + compatible = "syscon"; > + reg = <0x0 0x1e60000 0x0 0x4>; > + }; > + > + reboot { > + compatible ="syscon-reboot"; > + regmap = <&rstcr>; > + offset = <0x0>; > + mask = <0x2>; Is this disabled in bootloader ? With PSCI, it's preferred to use SYSTEM_RESET/OFF. EL3 f/w may need to do some housekeeping on poweroff. > + }; > + > + timer { > + compatible = "arm,armv8-timer"; > + interrupts = <1 13 4>, // Physical Secure PPI, active-low The comment says active low but the value 4 indicates it's HIGH from "include/dt-bindings/interrupt-controller/irq.h" > + <1 14 4>, // Physical Non-Secure PPI, active-low > + <1 11 4>, // Virtual PPI, active-low > + <1 10 4>; // Hypervisor PPI, active-low > + }; > + > + pmu { > + compatible = "arm,armv8-pmuv3"; More specific compatible preferably "arm,cortex-a72-pmu" ? -- Regards, Sudeep