Received: by 10.223.164.202 with SMTP id h10csp3348933wrb; Tue, 28 Nov 2017 09:52:23 -0800 (PST) X-Google-Smtp-Source: AGs4zMbmPpLHY7sqPFctGXUF5HWHF4Ia2kqIIpGU+R31UBHtuAJ1YrsCv+W2CwSFa/oPwXulmfkR X-Received: by 10.84.193.36 with SMTP id e33mr32102649pld.313.1511891543711; Tue, 28 Nov 2017 09:52:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511891543; cv=none; d=google.com; s=arc-20160816; b=MTbwWPoEj8iuOeLi6vaJKqoc0zZYMNF4pORP+HeYMFwzWTBYwto9z4CV1BsEYHocv1 34eX5RTDhwyk+dBHYVJsDGfZgEQyVYguga7wI3/kOsOiTC/1zUkCok9h1Ks6H3JZPN2d +m8z6aVcjWdfjMcersnhgdBJ+tG1mWAUa74XFnQ5K4wzXwvo9MKB/JOtu3IEYhkdcS8f PCdsF4a+bq0Oz05FD2K7NYX2Psk6V+b0/phsz9Ps9vsuOEzjZOkYT5HpyJoE7FxJZGjh NBxSsHeZPYz3MSlqI/8T3y41o2KIMwG8sVVA7oA862JkP/xExgcLpR0zF2icJoc6xVhl MCpA== 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=mSViKgYGk1Y7lkuKUW6BB04iLFj77+6Nr6J7t5Knv4k=; b=whdde0hyEJifZXsDwRa+u2h8pOji4PiX6abel9Iu/RCyK6yb1KUOvQ9DN7NneUGhLg tMa9ctxPKjU6ki+AK7mkSVDVgSvfDnNDMR+bRk023zBqFRNzKIMtp59wNVMiymHh89l9 /gi5Ts4U8yAxrVO2BUZkEvbiVrzfN79+IV+W4n/pTVg5XJaO60pxaTkTdHINnndFdXEb whVvrmAzh0SAcJYfUIEkmnK8DgrujM5TS3rDZxeGVQr64JYave7pnjRAnV6zN+Oxh+eg R0fYvWy4D5u1+LHeHnttcBijW5a6MqorQGW4WCM8ir8GphxQcocVWnwWQHsyeO8zRgxH 1jPA== 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 e91si16867966plb.28.2017.11.28.09.52.11; Tue, 28 Nov 2017 09:52:23 -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 S1753624AbdK1Rtm (ORCPT + 78 others); Tue, 28 Nov 2017 12:49:42 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:44351 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751706AbdK1Rtk (ORCPT ); Tue, 28 Nov 2017 12:49:40 -0500 Received: by mail-qk0-f193.google.com with SMTP id h19so883362qkj.11; Tue, 28 Nov 2017 09:49:39 -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=mSViKgYGk1Y7lkuKUW6BB04iLFj77+6Nr6J7t5Knv4k=; b=gWcfHMlmuJKmi+RejCJotCtrcgUdlzzG1gqKSv78IET0ijdZkdQdnK2uZzvrydjJWq pZHmkC30O9KK5ba7fNsKaYaZ14jYoUA2rAFV/lF4CgQdt97fPWV/vmB5YxL5b0CJMjys QHF1NBSBLVOJwH1kQmZg2gYHMERzYHpBorc+JcBXQrEw7dZ6lNMZEkalO3m4H0SErT2S 0CXgmr3QF3sAMKPGvYAIjcJ3tzOCo3cantDr5Ea8+PDRdiiUf1eCAxxRymoHBtJpCnNR ccyl+MPxCoZld04LgcOm9Utifut9+870xo4ZNX/tZSlZ3on+tWLsgTIxB575wyVEF2Mw 2K3Q== X-Gm-Message-State: AJaThX71I0bs+OmDhJtw4I2zS1v+EpbofCpBolwrv8CkkfOIy9VWME24 1znSCXagOFP5ncfhDatk3WE= X-Received: by 10.55.126.7 with SMTP id z7mr28380887qkc.306.1511891379371; Tue, 28 Nov 2017 09:49:39 -0800 (PST) Received: from localhost.localdomain ([181.220.79.73]) by smtp.gmail.com with ESMTPSA id b129sm22358679qka.33.2017.11.28.09.49.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Nov 2017 09:49:38 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Tue, 28 Nov 2017 15:49:25 -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 v4] ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions Date: Tue, 28 Nov 2017 15:49:24 -0200 Message-Id: <20171128174924.5149-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: bootloader mtd1: env mtd2: splash Signed-off-by: Otavio Salvador --- Changes in v4: - drop lock flag Changes in v3: - use lock instead of read-only (Gary Bisson) Changes in v2: - rework labels (Fabio Estevam) - add read-only flags (Fabio Estevam) 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..919b6b7619a4 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 = "bootloader"; + reg = <0x0 0xc0000>; + }; + + partition@c0000 { + label = "env"; + reg = <0xc0000 0x2000>; + }; + + partition@c2000 { + label = "splash"; + reg = <0xc2000 0x13e000>; + }; }; }; -- 2.15.0 From 1584743562517619138@xxx Wed Nov 22 05:40:33 +0000 2017 X-GM-THRID: 1584743562517619138 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread