From patchwork Fri Mar 21 11:33:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 26804 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2F726203AB for ; Fri, 21 Mar 2014 11:33:55 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id x10sf5161526pdj.2 for ; Fri, 21 Mar 2014 04:33:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=1oej2jN7jxU3oO+k/rMAv19iCUx4LQcZtKwKebc96hQ=; b=c26Ci0N7KVPA4Vbd2rZFfxHk92TpM4Aymne1FFvO0TBdR90LR166FZgGbbfRES8JbQ F7gkuZmtKJTobGeB5Pw4vpme98aytoyJAdbVMvzehMCV6TmmR7R6bsMC6TtssAN5/VxU wCMlqdnNRXkvvbmL8SpLT8ItHVH7zZNYVfsrlK097EdZRyXrRlD5ExngFkeXo0W1MhwE 0TM1dnojyUCYWQpEFcmFGdLWUVMtvewsPlFDFcyqXcaUts/Q/PoK9en+D5oVa+OYDO8d yhG4BbvYkZArOi8bJuxlSzvnkglDsICXF8vjUTesx5Cnmsbw4dPTxNP4mZqj3SLWBhSB HuZA== X-Gm-Message-State: ALoCoQmIzayI7ZiOqMWDiiiQgWtUMr9rxw1VzHprWQuiGQPJhquf+4Iu9j8Lt6yEFQ56P2LJViZY X-Received: by 10.66.66.163 with SMTP id g3mr19312621pat.3.1395401634373; Fri, 21 Mar 2014 04:33:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.233 with SMTP id p96ls602661qgd.33.gmail; Fri, 21 Mar 2014 04:33:54 -0700 (PDT) X-Received: by 10.52.26.161 with SMTP id m1mr20430338vdg.24.1395401634203; Fri, 21 Mar 2014 04:33:54 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id tz5si1092756vdc.115.2014.03.21.04.33.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 04:33:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id cz12so2399080veb.30 for ; Fri, 21 Mar 2014 04:33:54 -0700 (PDT) X-Received: by 10.52.12.36 with SMTP id v4mr32242805vdb.20.1395401634103; Fri, 21 Mar 2014 04:33:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp23549vck; Fri, 21 Mar 2014 04:33:53 -0700 (PDT) X-Received: by 10.68.171.193 with SMTP id aw1mr52923954pbc.117.1395401632613; Fri, 21 Mar 2014 04:33:52 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id td10si3549223pac.386.2014.03.21.04.33.50; Fri, 21 Mar 2014 04:33:50 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965326AbaCULdW (ORCPT + 26 others); Fri, 21 Mar 2014 07:33:22 -0400 Received: from mail-we0-f170.google.com ([74.125.82.170]:62997 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760766AbaCULdT (ORCPT ); Fri, 21 Mar 2014 07:33:19 -0400 Received: by mail-we0-f170.google.com with SMTP id w61so1512810wes.1 for ; Fri, 21 Mar 2014 04:33:18 -0700 (PDT) X-Received: by 10.180.8.130 with SMTP id r2mr2227416wia.14.1395401598010; Fri, 21 Mar 2014 04:33:18 -0700 (PDT) Received: from lee--X1.home (host109-148-113-193.range109-148.btcentralplus.com. [109.148.113.193]) by mx.google.com with ESMTPSA id f3sm4068246wiv.2.2014.03.21.04.33.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 04:33:16 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arm@kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@st.com Subject: [PATCH RESEND for ARM-SoC 2/2] ARM: STi: stih41x: Add support for the FSM Serial Flash Controller Date: Fri, 21 Mar 2014 11:33:08 +0000 Message-Id: <1395401588-8825-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1395401588-8825-1-git-send-email-lee.jones@linaro.org> References: <1395401588-8825-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Here we add the necessary device nodes required for successful device probing and Pinctrl setup for the FSM when booting on an STiH415 (Orly1) or STiH416 (Orly2) based b2020 development board. Acked-by: Srinivas Kandagatla Acked-by Angus Clark Acked-by: Brian Norris Acked-by: Maxime Coquelin Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih41x-b2020.dtsi | 1 + arch/arm/boot/dts/stih41x-b2020x.dtsi | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 arch/arm/boot/dts/stih41x-b2020x.dtsi diff --git a/arch/arm/boot/dts/stih41x-b2020.dtsi b/arch/arm/boot/dts/stih41x-b2020.dtsi index 0ef0a69..01487e0 100644 --- a/arch/arm/boot/dts/stih41x-b2020.dtsi +++ b/arch/arm/boot/dts/stih41x-b2020.dtsi @@ -6,6 +6,7 @@ * it under the terms of the GNU General Public License version 2 as * publishhed by the Free Software Foundation. */ +#include "stih41x-b2020x.dtsi" / { memory{ device_type = "memory"; diff --git a/arch/arm/boot/dts/stih41x-b2020x.dtsi b/arch/arm/boot/dts/stih41x-b2020x.dtsi new file mode 100644 index 0000000..df01c12 --- /dev/null +++ b/arch/arm/boot/dts/stih41x-b2020x.dtsi @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2013 STMicroelectronics (R&D) Limited. + * Author: Lee Jones + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * publishhed by the Free Software Foundation. + */ +/ { + soc { + spifsm: spifsm@fe902000 { + #address-cells = <1>; + #size-cells = <1>; + + status = "okay"; + + partition@0 { + label = "SerialFlash1"; + reg = <0x00000000 0x00500000>; + }; + + partition@500000 { + label = "SerialFlash2"; + reg = <0x00500000 0x00b00000>; + }; + }; + }; +};