Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756649AbaAHPak (ORCPT ); Wed, 8 Jan 2014 10:30:40 -0500 Received: from 7.mo3.mail-out.ovh.net ([46.105.57.200]:50300 "EHLO mo3.mail-out.ovh.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755363AbaAHPai (ORCPT ); Wed, 8 Jan 2014 10:30:38 -0500 Message-ID: <52CD6EFC.9050303@overkiz.com> Date: Wed, 08 Jan 2014 16:30:04 +0100 From: boris brezillon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Maxime Ripard , Rob Landley , Russell King , David Woodhouse , Grant Likely CC: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, dev@linux-sunxi.org, Boris BREZILLON Subject: Re: [RFC PATCH 9/9] ARM: sunxi/dt: enable NAND on cubietruck board References: <1389190924-26226-1-git-send-email-b.brezillon@overkiz.com> <1389194891-26771-1-git-send-email-b.brezillon@overkiz.com> In-Reply-To: <1389194891-26771-1-git-send-email-b.brezillon@overkiz.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 8007118664353085629 X-Ovh-Remote: 80.245.18.66 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrfedtucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrfedtucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/01/2014 16:28, Boris BREZILLON wrote: > Enable the NFC and describe the NAND flash connected to this controller. > > Signed-off-by: Boris BREZILLON > --- > arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 33 ++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts > index 8a1009d..08ee7d3 100644 > --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts > +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts > @@ -18,7 +18,40 @@ > model = "Cubietech Cubietruck"; > compatible = "cubietech,cubietruck", "allwinner,sun7i-a20"; > > + chosen { > + bootargs = "console=ttyS0,115200 earlyprintk root=/dev/ram0 rootfstype=ext2 rw"; > + }; > + Sorry, I messed up with the bootargs. I'll remove it in the next version. > soc@01c00000 { > + nfc: nand@01c03000 { > + pinctrl-names = "default"; > + pinctrl-0 = <&nand_pins_a &nand_cs0_pins_a &nand_rb0_pins_a>; > + status = "okay"; > + > + nand@0 { > + reg = <0>; > + allwinner,rb = <0>; > + nand-ecc-mode = "soft_bch"; > + > + /* nand timings */ > + tCLS-min = <6>; > + tCLH-min = <3>; > + tCS-min = <20>; > + tCH-min = <5>; > + tWP-min = <8>; > + tWH-min = <6>; > + tALS-min = <6>; > + tDS-min = <6>; > + tDH-min = <2>; > + tRR-min = <20>; > + tALH-min = <3>; > + tRP-min = <8>; > + tREH-min = <6>; > + tRC-min = <16>; > + tWC-min = <16>; > + }; > + }; > + > pinctrl@01c20800 { > led_pins_cubietruck: led_pins@0 { > allwinner,pins = "PH7", "PH11", "PH20", "PH21"; -- 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/