Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752621AbbEJKpL (ORCPT ); Sun, 10 May 2015 06:45:11 -0400 Received: from down.free-electrons.com ([37.187.137.238]:54521 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752190AbbEJKpF (ORCPT ); Sun, 10 May 2015 06:45:05 -0400 Date: Sun, 10 May 2015 12:43:40 +0200 From: Maxime Ripard To: Vishnu Patekar Cc: emilio@elopez.com.ar, linus.walleij@linaro.org, robh+dt@kernel.org, hdegoede@redhat.com, wens@csie.org, jenskuske@gmail.com, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, devicetree@vger.kernel.org Subject: Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner A33 DTSI Message-ID: <20150510104340.GG11057@lukather> References: <1431240383-12763-1-git-send-email-vishnupatekar0510@gmail.com> <1431240383-12763-6-git-send-email-vishnupatekar0510@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="peRj85VDUce1fu/0" Content-Disposition: inline In-Reply-To: <1431240383-12763-6-git-send-email-vishnupatekar0510@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7403 Lines: 226 --peRj85VDUce1fu/0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, May 10, 2015 at 12:16:22PM +0530, Vishnu Patekar wrote: > this is based on common sun8i.dtsi patch. > sun8i-a23.dtsi and sun8i-a33.dtsi are same, A33 specific features > e.g. clocks can be added in future. >=20 > Signed-off-by: VishnuPatekar > --- > arch/arm/boot/dts/sun8i-a33.dtsi | 217 +++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 217 insertions(+) > create mode 100644 arch/arm/boot/dts/sun8i-a33.dtsi >=20 > diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a= 33.dtsi > new file mode 100644 > index 0000000..32489fc > --- /dev/null > +++ b/arch/arm/boot/dts/sun8i-a33.dtsi > @@ -0,0 +1,217 @@ > +/* > + * 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 file 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 file 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. > + * > + * > + * 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 "sun8i.dtsi" > + > +/ { > + cpus { > + enable-method =3D "allwinner,sun8i"; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + cpu@0 { > + compatible =3D "arm,cortex-a7"; > + device_type =3D "cpu"; > + reg =3D <0>; > + }; > + > + cpu@1 { > + compatible =3D "arm,cortex-a7"; > + device_type =3D "cpu"; > + reg =3D <1>; > + }; > + > + cpu@2 { > + compatible =3D "arm,cortex-a7"; > + device_type =3D "cpu"; > + reg =3D <2>; > + }; > + > + cpu@3 { > + compatible =3D "arm,cortex-a7"; > + device_type =3D "cpu"; > + reg =3D <3>; > + }; > + }; > + > + memory { > + reg =3D <0x40000000 0x80000000>; > + }; > + > + clocks { > + /* dummy clock until actually implemented */ > + pll5: pll5_clk { > + #clock-cells =3D <0>; > + compatible =3D "fixed-clock"; > + clock-frequency =3D <0>; > + clock-output-names =3D "pll5"; > + }; > + > + axi: axi_clk@01c20050 { > + #clock-cells =3D <0>; > + compatible =3D "allwinner,sun8i-a23-axi-clk"; > + reg =3D <0x01c20050 0x4>; > + clocks =3D <&cpu>; > + clock-output-names =3D "axi"; > + }; > + > + ahb1_gates: clk@01c20060 { > + #clock-cells =3D <1>; > + compatible =3D "allwinner,sun8i-a23-ahb1-gates-clk"; > + reg =3D <0x01c20060 0x8>; > + clocks =3D <&ahb1>; > + clock-output-names =3D "ahb1_mipidsi", "ahb1_dma", > + "ahb1_mmc0", "ahb1_mmc1", "ahb1_mmc2", > + "ahb1_nand", "ahb1_sdram", > + "ahb1_hstimer", "ahb1_spi0", > + "ahb1_spi1", "ahb1_otg", "ahb1_ehci", > + "ahb1_ohci", "ahb1_ve", "ahb1_lcd", > + "ahb1_csi", "ahb1_be", "ahb1_fe", > + "ahb1_gpu", "ahb1_spinlock", > + "ahb1_drc"; > + }; > + > + apb1_gates: clk@01c20068 { > + #clock-cells =3D <1>; > + compatible =3D "allwinner,sun8i-a23-apb1-gates-clk"; > + reg =3D <0x01c20068 0x4>; > + clocks =3D <&apb1>; > + clock-output-names =3D "apb1_codec", "apb1_pio", > + "apb1_daudio0", "apb1_daudio1"; > + }; > + > + apb2: clk@01c20058 { > + #clock-cells =3D <0>; > + compatible =3D "allwinner,sun4i-a10-apb1-clk"; > + reg =3D <0x01c20058 0x4>; > + clocks =3D <&osc32k>, <&osc24M>, <&pll6 0>, <&pll6 0>; > + clock-output-names =3D "apb2"; > + }; > + > + apb2_gates: clk@01c2006c { > + #clock-cells =3D <1>; > + compatible =3D "allwinner,sun8i-a23-apb2-gates-clk"; > + reg =3D <0x01c2006c 0x4>; > + clocks =3D <&apb2>; > + clock-output-names =3D "apb2_i2c0", "apb2_i2c1", > + "apb2_i2c2", "apb2_uart0", > + "apb2_uart1", "apb2_uart2", > + "apb2_uart3", "apb2_uart4"; > + }; > + > + mbus_clk: clk@01c2015c { > + #clock-cells =3D <0>; > + compatible =3D "allwinner,sun8i-a23-mbus-clk"; > + reg =3D <0x01c2015c 0x4>; > + clocks =3D <&osc24M>, <&pll6 1>, <&pll5>; > + clock-output-names =3D "mbus"; > + }; > + }; > + > + soc@01c00000 { > + dma: dma-controller@01c02000 { > + compatible =3D "allwinner,sun8i-a23-dma"; > + reg =3D <0x01c02000 0x1000>; > + interrupts =3D ; > + clocks =3D <&ahb1_gates 6>; > + resets =3D <&ahb1_rst 6>; > + #dma-cells =3D <1>; > + }; With what device did you test DMA? Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --peRj85VDUce1fu/0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVTzZcAAoJEBx+YmzsjxAgU5UQAKo2jvvFDMumjfhVsYKIvRd/ u1YxC1NylCN9qw/mk5IuyT2l0XeVOaA8VeExFq1yg4LZ0VsTy4Wk5AnCK/NGf2ol H6eWJ5cWLjlDr/Y7I+loTHaDQVVkCNQhGJWikRsY9XYjHfEPnZBnM3Dx8aR9/glt Se0oVFiUduZOjEUq8sJ0ZPjTngvlYyqC05TmBvbOu1w0RRPXJHonCvPNcWDfZWIP nydxH1If2Cjp0hStj71gUPBhWSpfr45+MtHbTKZkK5Tk9G1jefaQpvge7xN8hX/J FKMDD5tllMMXikP4DLQrUx3kU8133mVUwrrhYgYcAcY9owbK01kQ2zOfROEdUB4y NOA+qKS+BHzHgUv2RBfp+GPzgyYGA+SluYrGVEPs2MG2KRy4myfnLXlvy8Top/0O Z/sKX6PzDb29npbvs6A5eCCNArGshtCbnvOObaYXmH8mt7vvjTShMc4x6+qnMkxW EXbLzQopOcAeXHawiUfqDlm2BM0LppvYL5S3Nk001XtUvqL3718zyRHr/9JGhfw7 n+t5XCOvEJKWtclLZ/n8+bnCCISfD7yeAbcIiX/tFQm6sa/UdtiEQuqXTQlyvPCc /MLjHp5ufuEMAsA+dpWJ+Og3AR7AjVLoSwqF8BKaAqtnnbjxzF0kf4kFMMSPZ6CK 2aF9QciRtuaXSyqGGI1M =o0Ai -----END PGP SIGNATURE----- --peRj85VDUce1fu/0-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/