Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp510735imu; Tue, 27 Nov 2018 02:02:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/UoH3dUqL0fuc6ekJmgbr7v9IGdeJvtps+HL8V1bW0O2MDmOtfWw0VCZ7hEOxYadxXVRr+W X-Received: by 2002:a17:902:2cc1:: with SMTP id n59-v6mr32095264plb.26.1543312977556; Tue, 27 Nov 2018 02:02:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543312977; cv=none; d=google.com; s=arc-20160816; b=fmoiqTdfek+fC0VbjVQ30DZNxd0LYLNEI9XO72zWX7fHD6Ehl8/Jw8Mcufrb7AGf3p A1q5afiT4LCEq6buOiWjjwKTx1ZrxaSfiBaUpDYUHZpw1fs7K5UJAe8/W2ZnDfW+mfdc HkAuZ7QJeSTiWauvGv+JRvJZqFU3rAnIqlzZd1MgiijVl3Aqpy+EmAS47HgJYcjk+6ja 1ac5rHQkMMayBpCUISo4owhBT309bdLE+/YClei28iKxi60v4m6KG4air716o1ktwq1S I88FgQLoSau3zgqU7trCcfYkwzS8S3nbNlQIlYqGyCWOFpmlWBAshoxT2Yq9CVught0f uzHA== 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; bh=ytEUk/P5pU/+0MA+Xbdl9uJCfNTMd0+STBD43XxQB6I=; b=q79OgxlRk3HVCbuknHhy/5HREr5JhktDz6QLJ46sL9ITbPpfjXz6Zg9y5CBbb4+xfz 0xkr4EopvM3kAaPmiiXp7h8BXPDTMk3pVibqxHX7gL0GXj50ZoQbrpzoKVkacqd2d5p3 3rvjYstoEdEdOuMl8FgmRPSTuPI+xBuPypFGNJB6WgqVUihyKFf4rTbKGWD9/cO60/qY f5w9u4Wy5D79qL0ik5cqFSz3dbl2Wt5lVn4b+FDW9QT6QFbcmTv352b+UN9f4xyZI8NU q6zaBT6kzJbTbOa9QCMc0s/9xeSQm/taf6nQCiVbhK+reLhYn9Ed2OlKH+oC8cYCvwlG zG4A== 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 e69si3471341pfg.137.2018.11.27.02.02.40; Tue, 27 Nov 2018 02:02:57 -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 S1730453AbeK0U5c (ORCPT + 99 others); Tue, 27 Nov 2018 15:57:32 -0500 Received: from mail.bootlin.com ([62.4.15.54]:33591 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726431AbeK0U5c (ORCPT ); Tue, 27 Nov 2018 15:57:32 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 84547207A8; Tue, 27 Nov 2018 11:00:08 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.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.2 Received: from localhost (aaubervilliers-681-1-94-205.w90-88.abo.wanadoo.fr [90.88.35.205]) by mail.bootlin.com (Postfix) with ESMTPSA id 4F160206D8; Tue, 27 Nov 2018 10:59:58 +0100 (CET) Date: Tue, 27 Nov 2018 10:59:58 +0100 From: Maxime Ripard To: Mesih Kilinc Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, Chen-Yu Tsai , Russell King , Daniel Lezcano , Marc Zyngier , Linus Walleij , Icenowy Zheng , Rob Herring , Julian Calaby Subject: Re: [RFC PATCH v4 16/17] ARM: dts: suniv: add initial DTSI file for F1C100s Message-ID: <20181127095958.vxyymf63ehdyem4z@flea> References: <3a0db6052d58eb440ea29772fc7ad2502a1dfa3b.1543131714.git.mesihkilinc@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="55oy4ixgvhonlwnx" Content-Disposition: inline In-Reply-To: <3a0db6052d58eb440ea29772fc7ad2502a1dfa3b.1543131714.git.mesihkilinc@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --55oy4ixgvhonlwnx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 25, 2018 at 10:43:19AM +0300, Mesih Kilinc wrote: > F1C100s is one product with the suniv die, which has a 32MiB co-packaged > DDR1 DRAM chip. As we have the support for suniv pin controller and CCU n= ow, add a > initial DTSI for it. >=20 > Signed-off-by: Mesih Kilinc > --- > arch/arm/boot/dts/suniv-f1c100s.dtsi | 147 +++++++++++++++++++++++++++++= ++++++ > 1 file changed, 147 insertions(+) > create mode 100644 arch/arm/boot/dts/suniv-f1c100s.dtsi >=20 > diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi b/arch/arm/boot/dts/sun= iv-f1c100s.dtsi > new file mode 100644 > index 0000000..11bc999 > --- /dev/null > +++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi > @@ -0,0 +1,147 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR X11) > +/* > + * Copyright 2018 Icenowy Zheng > + * Copyright 2018 Mesih Kilinc > + */ > + > +#include > +#include > + > +/ { > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + interrupt-parent =3D <&intc>; > + > + clocks { > + osc24M: clk-24M { > + #clock-cells =3D <0>; > + compatible =3D "fixed-clock"; > + clock-frequency =3D <24000000>; > + clock-output-names =3D "osc24M"; > + }; > + > + osc32k: clk-32k { > + #clock-cells =3D <0>; > + compatible =3D "fixed-clock"; > + clock-frequency =3D <32768>; > + clock-output-names =3D "osc32k"; > + }; > + }; > + > + cpus { > + cpu { > + compatible =3D "arm,arm926ej-s"; > + device_type =3D "cpu"; > + }; > + }; > + > + soc { > + compatible =3D "simple-bus"; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges; > + > + sram-controller@1c00000 { > + compatible =3D "allwinner,suniv-f1c100s-system-control", > + "allwinner,sun4i-a10-system-control"; > + reg =3D <0x01c00000 0x30>; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges; > + > + sram_d: sram@10000 { > + compatible =3D "mmio-sram"; > + reg =3D <0x00010000 0x1000>; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges =3D <0 0x00010000 0x1000>; > + > + otg_sram: sram-section@0 { > + compatible =3D "allwinner,suniv-f1c100s-sram-d", > + "allwinner,sun4i-a10-sram-d"; > + reg =3D <0x0000 0x1000>; > + status =3D "disabled"; > + }; > + }; > + }; > + > + ccu: clock@1c20000 { > + compatible =3D "allwinner,suniv-f1c100s-ccu"; > + reg =3D <0x01c20000 0x400>; > + clocks =3D <&osc24M>, <&osc32k>; > + clock-names =3D "hosc", "losc"; > + #clock-cells =3D <1>; > + #reset-cells =3D <1>; > + }; > + > + intc: interrupt-controller@1c20400 { > + compatible =3D "allwinner,suniv-f1c100s-ic"; > + reg =3D <0x01c20400 0x400>; > + interrupt-controller; > + #interrupt-cells =3D <1>; > + }; > + > + pio: pinctrl@1c20800 { > + compatible =3D "allwinner,suniv-f1c100s-pinctrl"; > + reg =3D <0x01c20800 0x400>; > + interrupts =3D <38>, <39>, <40>; > + clocks =3D <&ccu CLK_BUS_PIO>, <&osc24M>, <&osc32k>; The dt bindings headers and those DT are going to be merged through separate trees, so you can't use these defines yet. Please use the actual numbers in the DT for now, and send a patch fixing this when 4.21-rc1 will be out. > + clock-names =3D "apb", "hosc", "losc"; > + gpio-controller; > + interrupt-controller; > + #interrupt-cells =3D <3>; > + #gpio-cells =3D <3>; > + > + uart0_pins_a: uart-pins-pe { This would be uart0_pe_pins: uart0-pe-pins. Thanks! Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --55oy4ixgvhonlwnx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/0VngAKCRDj7w1vZxhR xeoDAQCtN0ya4XEl1e0z8MmFGWxi29S2FMHXI8MK8IUe+jGZzAD+J5sglK7AB1Nb eLgdBK5qSnjL2+FZbfMLxPYhr62Bvwg= =gDu/ -----END PGP SIGNATURE----- --55oy4ixgvhonlwnx--