From patchwork Wed Feb 8 20:45:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9563361 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4D60B60434 for ; Wed, 8 Feb 2017 20:47:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3EE8C2029B for ; Wed, 8 Feb 2017 20:47:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 31DDF208C2; Wed, 8 Feb 2017 20:47:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E626A2029B for ; Wed, 8 Feb 2017 20:47:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cbZ8n-0003cW-MP; Wed, 08 Feb 2017 20:47:01 +0000 Received: from mail-qk0-f174.google.com ([209.85.220.174]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cbZ8Z-0003P5-Vq for linux-arm-kernel@lists.infradead.org; Wed, 08 Feb 2017 20:46:50 +0000 Received: by mail-qk0-f174.google.com with SMTP id s140so135944306qke.0 for ; Wed, 08 Feb 2017 12:46:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9e9aZr5W5DJmIim+8e2eKOVoo76y8aG/LhdskahR7jU=; b=elPjt7aJbTntZLmbRu1yfXJ1z8inbpD1JM1M48Or/KebCJt6cabjSPLzLsjA2igp6d zoxVaPcRBZF3Z6hZuzxt5qLf5AGTYTn8lLXqxiQSDRu8kUbANtimmuY0ZG2KfwMKcBWw BCzoTmNid4SH0NfSeEqBjKJQQpL2XEkdOSQrw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9e9aZr5W5DJmIim+8e2eKOVoo76y8aG/LhdskahR7jU=; b=axklOQnr5/O9cOBcfxQsi5CMJ7EJleEg7AEAcJQJeDJIoTB7GJcWSqiemEm22L3w0s Ac/ceWoYWKxbtSSY2WJGWWD8nLxyftr5Vb754bY6q2tshlNjOf/a+ogwCPfHw5CGbNNZ cfO1QddKlYz9jhGeOprIdxRqbPY4XDvAUxyqf6hBuRwQ04a/xVzxnrHFcipYbWVicVcK PDrgFKF2SgyKr24hG07XrlLPokJZohOPp3PBVvUPq4Zc9fizXYLqGIrMRXqw1uL4vLI9 AhZ/0qeCrwShnqLPMu/kJp8dmzRdNIX6qPsP49QGPcy1onFfZoJjEo+wOuFUqlriRIA1 pBTg== X-Gm-Message-State: AMke39kudctm5+nB5l1NwzwAO+pWjxAZHdiP4kmgiNbFMFkZhAe3wgXHsx4IoC4kHHFmPHGm X-Received: by 10.55.112.7 with SMTP id l7mr21637046qkc.252.1486586726720; Wed, 08 Feb 2017 12:45:26 -0800 (PST) Received: from venom.dhcp.broadcom.net ([192.19.218.250]) by smtp.gmail.com with ESMTPSA id u29sm7181032qki.4.2017.02.08.12.45.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Feb 2017 12:45:26 -0800 (PST) From: Jon Mason To: Hauke Mehrtens , zajec5@gmail.com Subject: [PATCH 1/2] ARM: dts: BCM5301X: Add NAND entries to bcm953012k Date: Wed, 8 Feb 2017 15:45:15 -0500 Message-Id: <1486586716-6781-2-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486586716-6781-1-git-send-email-jon.mason@broadcom.com> References: <1486586716-6781-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170208_124648_110759_4B489C9F X-CRM114-Status: GOOD ( 10.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Florian Fainelli , linux-kernel@vger.kernel.org, Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the NAND entry in the DTS Signed-off-by: Jon Mason --- arch/arm/boot/dts/bcm953012k.dts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/bcm953012k.dts b/arch/arm/boot/dts/bcm953012k.dts index ae31a58..cb673c7 100644 --- a/arch/arm/boot/dts/bcm953012k.dts +++ b/arch/arm/boot/dts/bcm953012k.dts @@ -52,6 +52,38 @@ }; }; +&nand { + nandcs@0 { + compatible = "brcm,nandcs"; + reg = <0>; + nand-on-flash-bbt; + + #address-cells = <1>; + #size-cells = <1>; + + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + + partition@0 { + label = "nboot"; + reg = <0x00000000 0x00200000>; + read-only; + }; + partition@200000 { + label = "nenv"; + reg = <0x00200000 0x00400000>; + }; + partition@600000 { + label = "nsystem"; + reg = <0x00600000 0x00a00000>; + }; + partition@1000000 { + label = "nrootfs"; + reg = <0x01000000 0x07000000>; + }; + }; +}; + &uart0 { status = "okay"; };