From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi Date: Wed, 24 Sep 2014 08:37:38 +0200 Message-ID: <20140924063738.GQ15315@lukather> References: <1411311493-24344-1-git-send-email-wens@csie.org> <1411311493-24344-4-git-send-email-wens@csie.org> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7kD9y3RnPUgTZee0" Return-path: Content-Disposition: inline In-Reply-To: <1411311493-24344-4-git-send-email-wens-jdAy2FN1RRM@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Chen-Yu Tsai Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Shuge , Meng Zhang , yhf-HcjymKqD97rQT0dZR+AlfA@public.gmane.org, ctl-HcjymKqD97rQT0dZR+AlfA@public.gmane.org List-Id: devicetree@vger.kernel.org --7kD9y3RnPUgTZee0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Thanks, a lot for your patches :) On Sun, Sep 21, 2014 at 10:58:10PM +0800, Chen-Yu Tsai wrote: > The Allwinner A80 is a new multi-purpose SoC with 4 Cortex-A7 and > 4 Cortex-A15 cores in a big.LITTLE architecture, and a 64-core > PowerVR G6230 GPU. >=20 > Signed-off-by: Chen-Yu Tsai > --- > arch/arm/boot/dts/sun9i-a80.dtsi | 280 +++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 280 insertions(+) > create mode 100644 arch/arm/boot/dts/sun9i-a80.dtsi >=20 > diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a= 80.dtsi > new file mode 100644 > index 0000000..f23ea59 > --- /dev/null > +++ b/arch/arm/boot/dts/sun9i-a80.dtsi > @@ -0,0 +1,280 @@ > +/* > + * Copyright 2014 Chen-Yu Tsai > + * > + * Chen-Yu Tsai > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This library is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation; either version 2 of the > + * License, or (at your option) any later version. > + * > + * This library is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * You should have received a copy of the GNU General Public > + * License along with this library; if not, write to the Free > + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, > + * MA 02110-1301 USA > + * > + * Or, alternatively, > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use, > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + */ > + > +/include/ "skeleton.dtsi" > + > +/ { > + interrupt-parent =3D <&gic>; > + > + aliases { > + serial0 =3D &uart0; > + serial1 =3D &uart1; > + serial2 =3D &uart2; > + serial3 =3D &uart3; > + serial4 =3D &uart4; > + serial5 =3D &uart5; > + serial6 =3D &r_uart; > + }; > + > + cpu-map { > + cluster0 { > + core0 { > + cpu =3D <&cpu0>; > + }; > + core1 { > + cpu =3D <&cpu1>; > + }; > + core2 { > + cpu =3D <&cpu2>; > + }; > + core3 { > + cpu =3D <&cpu3>; > + }; Having separation lines between the cores here would be nice. > + }; > + > + cluster1 { > + core0 { > + cpu =3D <&cpu4>; > + }; > + core1 { > + cpu =3D <&cpu5>; > + }; > + core2 { > + cpu =3D <&cpu6>; > + }; > + core3 { > + cpu =3D <&cpu7>; > + }; > + }; > + }; > + > + cpus { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + cpu0: cpu@0 { > + compatible =3D "arm,cortex-a7"; > + device_type =3D "cpu"; > + reg =3D <0x0>; > + }; > + > + cpu1: cpu@1 { > + compatible =3D "arm,cortex-a7"; > + device_type =3D "cpu"; > + reg =3D <0x1>; > + }; > + > + cpu2: cpu@2 { > + compatible =3D "arm,cortex-a7"; > + device_type =3D "cpu"; > + reg =3D <0x2>; > + }; > + > + cpu3: cpu@3 { > + compatible =3D "arm,cortex-a7"; > + device_type =3D "cpu"; > + reg =3D <0x3>; > + }; > + > + cpu4: cpu@100 { > + compatible =3D "arm,cortex-a15"; > + device_type =3D "cpu"; > + reg =3D <0x100>; > + }; > + > + cpu5: cpu@101 { > + compatible =3D "arm,cortex-a15"; > + device_type =3D "cpu"; > + reg =3D <0x101>; > + }; > + > + cpu6: cpu@102 { > + compatible =3D "arm,cortex-a15"; > + device_type =3D "cpu"; > + reg =3D <0x102>; > + }; > + > + cpu7: cpu@103 { > + compatible =3D "arm,cortex-a15"; > + device_type =3D "cpu"; > + reg =3D <0x103>; > + }; > + }; > + > + memory { > + reg =3D <0x20000000 0x40000000>; Usually, what we put there was the maximum amount of RAM that can be handled by the SoC. I think that it can go above 1GB It looks fine otherwise, thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --7kD9y3RnPUgTZee0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUImayAAoJEBx+YmzsjxAggPoQAJdPxY4QIEZ4mr8gsUD/m602 TBMPCsefZi8bTdQ/CmQiKbigdIhQgdf+BHthK5hBIHlgXpeUG74CFzyy0naAywT9 W/01/Xi7J9vWV7VV5wPU3t9TEexwI+Yf6c5tQEft1NFRz058OzjVDBTRihP5iukt vdoNaBg+sXdtK0ih68hyEC3MJ7MmnPVJc8ZszC+2TnrUCC+y6LM+ogWhcw9F7dOr diDeehemVFn3gmpy58cWgGLiTsvcl6eSFTJyPRORgC2Rcg+BZekzzGtCtT+riC1J WrIxTHh9T0U1c/e6YEY4pwFEGfBShq4VEW/rXn/yHrte+msO7kk0O9qAcSU1bB0y zvWzCFIpkdArFdYR6c5MSP3oP+gPMEDKm+z1uyjMIDHvXVdsVVJ0ax8FPDFq6/35 b9CGCXFxY/L0PaHOR/gyUKAirovmK6/g4himC6rgJtESvjHeIG4GF3aXWRvjcDa9 9qVX4aTicTtFaGQsWkvTq0pFfZNtowiJUBoKMQSb+22zPiRYZoMrAH02HxvHtfP/ nz2FDxk8nLlydEG6TiC3MyADn5z64RyMCb7KQTvqG3VO9BLj6lknO7dCVCpTJZyj J2a8rwdaeEPqDl9w40h6dlSNRLKaDeQ7Zm/aXtQ1ErRfc/SXCnWg5S/9OzH1ognX pnSGvsOcQEVRPM7mlvle =0+8T -----END PGP SIGNATURE----- --7kD9y3RnPUgTZee0--