Received: by 10.223.185.116 with SMTP id b49csp823740wrg; Fri, 23 Feb 2018 07:22:01 -0800 (PST) X-Google-Smtp-Source: AH8x227XxM2Q0xVhUfYHE8UcFZiO6LvZUGZQMi6uZ1sMh5V/HrRYKuhbClnstVDXdYO6W52P9eDm X-Received: by 10.98.247.9 with SMTP id h9mr2130834pfi.212.1519399321183; Fri, 23 Feb 2018 07:22:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519399321; cv=none; d=google.com; s=arc-20160816; b=oBQYWCZrfVNVfCTqB0ziHSVDutvTg1wd/dyJTHdd9fYCdCmqKCXACR9uCThZjlew2v buXrVOdWksU8mJAey8bc2TqQ48qJCthHN6CnwrTRPiqrC7oGYq76b06PKUe57cjZD/0C i5lIwrDpCCRVW/Cb3ClNh9i2zPnBpUJXB/3nYfZC63tEnnypenM6Vm9jltosaCFQi/WH +SBQ3zn65ehi6TcLev65xyUPcw5FKDAAj2Jr47vP4XA1lY2d6b/4E9CBhNAJMQooVaju ij5brKD5gzJ6PH9WbR9kKKVHs8p29Wf4bc3d6Ngn/Q400654eP7zLu9S4mp0QOhu6Xn7 7R5Q== 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=nbKScn9ZMahr73PeU9S6uz2w5g9qxi5aB9uLyY3Y17k=; b=yhZGptAcV4mi4WMt/NhVROQNg0flsaYpoOkascWiGXY7e2OSxj7C1YDbJkrGoWPWYl jRAi9W/yBboYzj6rH/BwEYPRWCgi/MGRLiZ+YVS48ZhD7lxvDuS2gWGNoRswYsuP06Sp kK4Z7Y+jRhtudpdSRqIB5I+h/pq1rAGhn+V6E25asXmUSvN78njty4r1QTtEHVZc2OAZ FBrpeNJtTik8BIUAOWDKcpfjpuvthXKxAhgsMAKRtZ3n6XzDLmrFESbdgfiLrbKIadLr LWFdUuRb1cLM+l6qCMPhx+p7zxLZMZZy1TZadRJBDZXWTBRYzm4+58Po3UDZoY9CJYJa 8H7Q== 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 n11-v6si1887064plp.449.2018.02.23.07.21.46; Fri, 23 Feb 2018 07:22:01 -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; 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 S1751956AbeBWPUp (ORCPT + 99 others); Fri, 23 Feb 2018 10:20:45 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:53925 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751765AbeBWPUl (ORCPT ); Fri, 23 Feb 2018 10:20:41 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id A1FE32082F; Fri, 23 Feb 2018 16:20:38 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [185.94.189.188]) by mail.free-electrons.com (Postfix) with ESMTPSA id 2A438206A6; Fri, 23 Feb 2018 16:20:38 +0100 (CET) Date: Fri, 23 Feb 2018 16:20:38 +0100 From: Maxime Ripard To: Icenowy Zheng Cc: Chen-Yu Tsai , Linus Walleij , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v3 6/7] arm64: allwinner: h6: add the basical Allwinner H6 DTSI file Message-ID: <20180223152038.2bflylwa6vj4gzfj@flea.lan> References: <20180223123555.64009-6-icenowy@aosc.io> <20180223123555.64009-7-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="l2fdrnpsmitlpdua" Content-Disposition: inline In-Reply-To: <20180223123555.64009-7-icenowy@aosc.io> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --l2fdrnpsmitlpdua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 23, 2018 at 08:35:54PM +0800, Icenowy Zheng wrote: > Allwinner H6 is a new SoC with Cortex-A53 cores from Allwinner, with its > memory map fully reworked and some high-speed peripherals (PCIe, USB > 3.0) introduced. >=20 > This commit adds the basical DTSI file of it, including the clock > support and UART support. >=20 > Signed-off-by: Icenowy Zheng > Reviewed-by: Andre Przywara > --- > Changes in v3: > - SPDX license identifier fix. >=20 > Changes in v2: > - Add APB1 clock as PIO's APB clock. > - Switched to SPDX license identifier. >=20 > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 177 +++++++++++++++++++++= ++++++ > 1 file changed, 177 insertions(+) > create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/bo= ot/dts/allwinner/sun50i-h6.dtsi > new file mode 100644 > index 000000000000..4a6236bd9778 > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > @@ -0,0 +1,177 @@ > +// SPDX-License-Identifier: (GPL-2.0+ or MIT) > +/* > + * Copyright (C) 2017 Icenowy Zheng > + */ > + > +#include > +#include > +#include > + > +/ { > + interrupt-parent =3D <&gic>; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + > + cpus { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + cpu0: cpu@0 { > + compatible =3D "arm,cortex-a53", "arm,armv8"; > + device_type =3D "cpu"; > + reg =3D <0>; > + enable-method =3D "psci"; > + }; > + > + cpu1: cpu@1 { > + compatible =3D "arm,cortex-a53", "arm,armv8"; > + device_type =3D "cpu"; > + reg =3D <1>; > + enable-method =3D "psci"; > + }; > + > + cpu2: cpu@2 { > + compatible =3D "arm,cortex-a53", "arm,armv8"; > + device_type =3D "cpu"; > + reg =3D <2>; > + enable-method =3D "psci"; > + }; > + > + cpu3: cpu@3 { > + compatible =3D "arm,cortex-a53", "arm,armv8"; > + device_type =3D "cpu"; > + reg =3D <3>; > + enable-method =3D "psci"; > + }; > + }; > + > + iosc: internal-osc-clk { > + #clock-cells =3D <0>; > + compatible =3D "fixed-clock"; > + clock-frequency =3D <16000000>; > + clock-accuracy =3D <300000000>; > + clock-output-names =3D "iosc"; > + }; You're not using it anywhere > + osc24M: osc24M_clk { > + #clock-cells =3D <0>; > + compatible =3D "fixed-clock"; > + clock-frequency =3D <24000000>; > + clock-output-names =3D "osc24M"; > + }; > + > + osc32k: osc32k_clk { > + #clock-cells =3D <0>; > + compatible =3D "fixed-clock"; > + clock-frequency =3D <32768>; > + clock-output-names =3D "osc32k"; > + }; > + > + psci { > + compatible =3D "arm,psci-0.2"; > + method =3D "smc"; > + }; Is it needed? The bootloader should fill it with whatever version it has, shouldn't it? Thanks! Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --l2fdrnpsmitlpdua Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlqQMUUACgkQ0rTAlCFN r3TVHRAAk/zurzZNX92aYYFuKKrNaIZVtlQ3TjMUrhpHWREtUKOY6Eqww5ymSq/A lMJMDtBPP4cUMWqGfhJsOevAqzfpEVzta4QoIhUo44TclVAOVegBbDwEFemWsfg7 S1RzpeAXmW2rNvbHdqp519L97tHZQTxZ1aPsyGDGcnMDOyej6moAPjj+im5istOW +rPlNSqd6Wa5/ZUoEJUJn/5U6R8sKvZNPgxdl3YlXWHlNNkzkJ36KaEu6vykwhV6 6GgHdoVuTcWU/XtnNjIsC3j5GfQxOvGXBtvhKcnZowo1Vxt+p2Gb3bDkHtqjbLUy tNrFFxUTKZK0F06Ct/+cgm6N6SkFsu8WHlp7Ak4zP6uUvMHS+5FlycRCI49gmp05 HkXbHndRnRJvSc+MKj6qjBhpceFzBtbViD2iUL3SEsQi1j+v75t6mZiHo7nFVbT6 oPLAF/89ZFjO6XyfmMIEc0nVRr1UvEXo6XuOlByvXv2/ttcZQlHK62ruqjuiK1dE 4bHknI2POiMi8/3AJkUwhS+g8h6KGhmTUyUR1cy99CSagRsnbe4Wd/YOsFFDeSAp LT5mvFcWSPUIrlYSfmxa98NFXi6DH7PL/+5m7IVjUzz1IfXBTR+rZ6zGoR1yko3o gn2hMHXn/YRQaewgp6zhorbffutDGzM+Wb+nYwMWCmQVe3YC7Og= =xle5 -----END PGP SIGNATURE----- --l2fdrnpsmitlpdua--