Received: by 10.223.164.202 with SMTP id h10csp1918858wrb; Fri, 24 Nov 2017 03:22:57 -0800 (PST) X-Google-Smtp-Source: AGs4zMYlh+iykfC6M6PqSGzPgpNnSuSLjAedlYQzZySn0X4H4RZ0TrblcAI9Rt+OmNuWQyUbimPP X-Received: by 10.99.147.77 with SMTP id w13mr15270421pgm.401.1511522577312; Fri, 24 Nov 2017 03:22:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511522577; cv=none; d=google.com; s=arc-20160816; b=cD4C4dFDVJCNPkBKycsYdMe4uIJ7oSBUELnKbA3ZAZWKjxP40xp3aOMXXeagv0F82o v67U/rUIoUcPsTa3LPrsq2xIxLKhd2lFj2txNKWwDkc5OhWMUFREnxNqu1UJGRugdr58 VDdbKAkVw9ObDAi1HtL0pkNbTC5dKv4t81RXwevErmusyzazgx0V63ErNL9vpV2HQTik jeralJAkZ2djlqLKuMshVOjKuC2NnJzwrlbeWw3C6pg7WyN0pY66LO0y1xbzEMGDx2Zd mlHBQC4ZLK/PWzFkX7Qqsp52aE+0sSOYs466+k6PF+ztcKw4j8VWYlguCD9qe9fq4Jbp s+Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:message-id:date:subject:cc :to:from:arc-authentication-results; bh=1dhKSG2pe66odP9qm0p0D+AWnwqs2h4Aor9+qPOYNXc=; b=dzirjYb3IZNQ/XOGBbo9SX5xBJRfEr0QbTcWJNmY/JQLESdWn11J6A5WHI4BsVNypI sXCbfICauEPg50If7HKujnuHLcP+1r3qOJaJxGHwXbXzIUkdKLyWwac2lL5uPB49oUXr evICQQJgfOEvtajjdmX52x7kkz54kS8i4X3goKpA0glRakrcEhGsATHQRE+l28FXQU4L UHqNirZxH+gprSCjfphUHVew+d0Omig8Fao3gHmOidqs2YJRb5a/TKVRtDzHXynsGHsg QxpHczuA8zpg8Q+PxNqxfpebVwdoaYYKic8DvdxKtQcS4w36n73bt1ax9nJt+ovBWFXT GN2g== 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 a3si12885829pld.306.2017.11.24.03.22.45; Fri, 24 Nov 2017 03:22: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 S1753444AbdKXLWJ (ORCPT + 76 others); Fri, 24 Nov 2017 06:22:09 -0500 Received: from mail-qk0-f196.google.com ([209.85.220.196]:41143 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752848AbdKXLWH (ORCPT ); Fri, 24 Nov 2017 06:22:07 -0500 Received: by mail-qk0-f196.google.com with SMTP id f63so24122625qke.8; Fri, 24 Nov 2017 03:22:07 -0800 (PST) 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:organization; bh=1dhKSG2pe66odP9qm0p0D+AWnwqs2h4Aor9+qPOYNXc=; b=CsvgPUBgp59WL406Xz9FaDMHXv4Zo4eKhSKgk5w8aSRR8XmSJsENxwb9p70GISwtOo G05pPILLG4Zrk1ZgA0okx3nGMmXsbieZTs0MDpfOAlWBdzC3vgDycFF2AeWZ5QNAQw5I bUbMdkryol0FhL72QIltt5EkCNDiz9AW8Jf7/gK2gk1VUnQIyf+HJHadefUL6Xoo7NQ5 cxS1pCJ+M1sjztxHFou1dyxoSy+xRVTS1oJ8mDB6cXmv8Y0CWp0vaMNekjBY62edcyTJ pZKcFMGM/MiUAJugaZDB89uDmL3j8J14WfR8U61PO/fsLIOoBSDzSmYwrwS1U1ZUQZwa LjyA== X-Gm-Message-State: AJaThX7yI61Twmxrs1bMBBSdIguj6LIkFQt1X6HGOgZo+XOcMTsLG6my /6wLsIoMaDIGNWkvijyV/u4= X-Received: by 10.55.107.131 with SMTP id g125mr22234981qkc.24.1511522526844; Fri, 24 Nov 2017 03:22:06 -0800 (PST) Received: from localhost.localdomain ([181.220.79.73]) by smtp.gmail.com with ESMTPSA id 44sm13595337qtq.62.2017.11.24.03.22.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Nov 2017 03:22:06 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Fri, 24 Nov 2017 09:21:55 -0200 From: Otavio Salvador To: linux-arm-kernel@lists.infradead.org Cc: Gary Bisson , Otavio Salvador , Fabio Estevam , devicetree@vger.kernel.org, Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Russell King , Shawn Guo Subject: [PATCH] ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions Date: Fri, 24 Nov 2017 09:21:51 -0200 Message-Id: <20171124112151.2758-1-otavio@ossystems.com.br> X-Mailer: git-send-email 2.15.0 Organization: O.S. Systems Software LTDA. Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds the partitions definition for the SPI NOR to provide backward compatibility with the documented[1] layout used with Boundary Devices BSP. 1. https://boundarydevices.com/boot-flash-access-linux/ It exports to Linux: mtd0: U-Boot mtd1: U-Boot Environment mtd2: Bootsplash Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi index 4bdf29169d2a..f8b267875e1c 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi @@ -276,6 +276,23 @@ compatible = "sst,sst25vf016b", "jedec,spi-nor"; spi-max-frequency = <20000000>; reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "U-Boot"; + reg = <0x0 0xc0000>; + }; + + partition@c0000 { + label = "U-Boot Environment"; + reg = <0xc0000 0x2000>; + }; + + partition@c2000 { + label = "Bootsplash"; + reg = <0xc2000 0x13e000>; + }; }; }; -- 2.15.0 From 1583336263835665679@xxx Mon Nov 06 16:52:09 +0000 2017 X-GM-THRID: 1583336263835665679 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread