From patchwork Fri Mar 21 08:00:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 26791 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 27255203AB for ; Fri, 21 Mar 2014 08:00:56 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id b6sf5160169yha.4 for ; Fri, 21 Mar 2014 01:00:55 -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=IOaHZhrlrTQuwtTetEo21buZZE0uzQpcYLjUUtHAuKieO45AkNfr4Ua/Ec6j+GIG86 lMzQHUDVRpNBLUZecvUWSgEh4Wsf+vyuA1lTBPrHgk/i7xsrka1YGp2TzRIvK7UDHBBp e3tMA9A8XFIVFXko7RLfKq3wm/hUQoNOnsBDjFiYCbUjHN5KlGA3aVjyQWD7gf4dcjvL p7awS/7CibKI4a3ksj6dCLhXsyh++djqzSPdgAdr8ca5i0GGKsX7fmzTdoU204dayvPl NAgFBn3zH/rRs32Z08mOeprgaq6RlKqYHMWn8Hs/UEU9jiMA7lOwZs+PJOn1QbeTwR1e 6X6Q== X-Gm-Message-State: ALoCoQlapoVf4hzw4z8U238GgW6lnbFd+DPTZ7QKmPtLotiirpEVyKbv8WC5wwg3X+7eQAhQByl4 X-Received: by 10.236.94.48 with SMTP id m36mr11778955yhf.47.1395388855939; Fri, 21 Mar 2014 01:00:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.184 with SMTP id w53ls569364qge.45.gmail; Fri, 21 Mar 2014 01:00:55 -0700 (PDT) X-Received: by 10.220.47.10 with SMTP id l10mr86585vcf.56.1395388855842; Fri, 21 Mar 2014 01:00:55 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id rx10si1007115vdc.132.2014.03.21.01.00.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 01:00:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so2214710vcb.18 for ; Fri, 21 Mar 2014 01:00:55 -0700 (PDT) X-Received: by 10.52.243.167 with SMTP id wz7mr2760271vdc.47.1395388855746; Fri, 21 Mar 2014 01:00:55 -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 i9csp12149vck; Fri, 21 Mar 2014 01:00:55 -0700 (PDT) X-Received: by 10.66.145.230 with SMTP id sx6mr53114428pab.47.1395388854582; Fri, 21 Mar 2014 01:00:54 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vo7si3093156pab.344.2014.03.21.01.00.54; Fri, 21 Mar 2014 01:00:54 -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 S1760204AbaCUIAd (ORCPT + 26 others); Fri, 21 Mar 2014 04:00:33 -0400 Received: from mail-we0-f180.google.com ([74.125.82.180]:61190 "EHLO mail-we0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760161AbaCUIAU (ORCPT ); Fri, 21 Mar 2014 04:00:20 -0400 Received: by mail-we0-f180.google.com with SMTP id p61so1327627wes.39 for ; Fri, 21 Mar 2014 01:00:19 -0700 (PDT) X-Received: by 10.180.98.232 with SMTP id el8mr980698wib.27.1395388818869; Fri, 21 Mar 2014 01:00: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 r1sm2579129wia.5.2014.03.21.01.00.16 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 01:00:18 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@st.com Subject: [PATCH 2/2] ARM: STi: stih41x: Add support for the FSM Serial Flash Controller Date: Fri, 21 Mar 2014 08:00:05 +0000 Message-Id: <1395388805-15840-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1395388805-15840-1-git-send-email-lee.jones@linaro.org> References: <1395388805-15840-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.220.173 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>; + }; + }; + }; +};