Received: by 10.223.164.202 with SMTP id h10csp2314379wrb; Fri, 24 Nov 2017 09:01:13 -0800 (PST) X-Google-Smtp-Source: AGs4zMY6n3wmWyzkMbAwZWZKTfnRPw57fsYVUTdnJAISX7OscMSGf11Gfx5WSzRNPyF0u4eBTqYo X-Received: by 10.99.149.12 with SMTP id p12mr27544703pgd.381.1511542873649; Fri, 24 Nov 2017 09:01:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511542873; cv=none; d=google.com; s=arc-20160816; b=lqR2FQnmcPhX3iQhizIgoASbbM2iAa7UmC+GwlqDQhI3SzDzHtBIXUeUocHy/T1lDp 9QqPm29mUwi4jI3uFUqa0iRdOUHn49bAElX8msjQWmMlra3ii9Hyn2wA1XsTbu8mOuLb +33N6ImKVmVNew5fmqcsRyKY6XQR9vpGQIn+r9Dm659DWNxtIIC1sOLv2Uml53Ygv6na vsyFNXw0MOW8G2uCo8sgz0Jujz4cWrd54qNw3rOnkjoac4qS1C5mTBkkW91aS0J7zNjt 40ADUcgLnCDdJCLrkhbpP+N+4gg1aVSnyQzJajLO85QYm9QYpHB5pULbo9AOn1p3Jfw2 mxEA== 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=hfIVXQT633eMKvYF4I2Hz8NIWR9wHqJzizf1FVAgsZ0=; b=J22pvrLh8QHKaOoosW/IUFsjMEbvFkRJxWZHa7KLSxSfQuO4EiUw3+yBrmIpOdh3RJ rzJbyDlQg6HNZ3xqGaMIZnY0AXvyuOhvlXuZXPAWYszR5fQrtvjV1FGWT26yeS0rYXTM i4+LUOrbujNCGCK1dT+ZmnA2vjO4a/uTnd1All72SxdH5HPEUibRDqCtwOu7DJ0JC8Dv xEPupMzkpqUAh12Q26CxLUSKC4jm0BOmICPuoSSVyJ0O5ENv5B+z7YdLlWNN53CqP8Oq Ksl36QRwl2uvNjNNKrJQhKSpysepOJpaVC2axS11wv0q8H7Ef0cVgR9e76bvSJZKg5Hh WW5g== 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 n1si18482644pgq.39.2017.11.24.09.01.01; Fri, 24 Nov 2017 09:01:13 -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 S1753620AbdKXRAU (ORCPT + 77 others); Fri, 24 Nov 2017 12:00:20 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:36457 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751591AbdKXRAS (ORCPT ); Fri, 24 Nov 2017 12:00:18 -0500 Received: by mail-qt0-f196.google.com with SMTP id a19so32107752qtb.3; Fri, 24 Nov 2017 09:00:17 -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=hfIVXQT633eMKvYF4I2Hz8NIWR9wHqJzizf1FVAgsZ0=; b=ABxsfj062gPpmalddc3WNRVZwGesRaQ71jFb+nV7f3ELO/rmG7x1DBNAwtXHM5H3+n YeWeIqquOn2gfBlIB3D6+R11KClx3Q7FTEcd2BL1lAR4RTeuGGoTIDzMqtFZcfILlB9s s1RfCDmSNGZKdv6BLZxjAdy00mWdlV+QaNbaeecYaPzWzAl0FZArAgSfcSEKnuI8bxhl scO9sPYEMhuOuSU643s3L1vQOzj0v++ZU/aCARbjpjsPuJtCJdeJtWf3FEggiWf3F7VN gtkNab8G9SukaQY35F1TqmG38XnVUsoocJxUdnx6aVjeOls7kIMu8mQOfqXulR5kvI8Y dIQA== X-Gm-Message-State: AJaThX4qnTE2e96kHZqZdVMcaKHgcWDWgfgObKN0j6kgKMcbS+38oOtR umUhjN6yRJKGnfplN1Y0WPo= X-Received: by 10.200.47.220 with SMTP id m28mr35265684qta.146.1511542817182; Fri, 24 Nov 2017 09:00:17 -0800 (PST) Received: from localhost.localdomain ([181.220.79.73]) by smtp.gmail.com with ESMTPSA id p202sm14611901qke.78.2017.11.24.09.00.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Nov 2017 09:00:16 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Fri, 24 Nov 2017 15:00:05 -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 v2] ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions Date: Fri, 24 Nov 2017 15:00:04 -0200 Message-Id: <20171124170004.31133-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 v2: - rework labels (Fabio Estevam) - add read-only flags (Fabio Estevam) arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi index 4bdf29169d2a..28545412577a 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi @@ -276,6 +276,26 @@ 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>; + read-only; + }; + + partition@c0000 { + label = "env"; + reg = <0xc0000 0x2000>; + read-only; + }; + + partition@c2000 { + label = "splash"; + reg = <0xc2000 0x13e000>; + read-only; + }; }; }; -- 2.15.0 From 1583989790937666827@xxx Mon Nov 13 21:59:41 +0000 2017 X-GM-THRID: 1583989790937666827 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread