From patchwork Thu Jan 22 10:07:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 43501 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f198.google.com (mail-we0-f198.google.com [74.125.82.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E9737240DB for ; Thu, 22 Jan 2015 10:08:12 +0000 (UTC) Received: by mail-we0-f198.google.com with SMTP id q59sf479637wes.1 for ; Thu, 22 Jan 2015 02:08:12 -0800 (PST) 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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=QgDD54q4z6rqCea5cqYv6gD4lnRp/s5S3GPj86XeCRk=; b=ckpkCEd0OoVAsZ7MS6hd36d1iZh6kugnlDN617cWIQrlEPQ/oHuo5sLjfg2WJEuLWr 8kHoCducboBRnwXEAxTOQAuQzkBz3zMRHysrzkYg4bCbBbspduXBU4SZJOCLXrFXTuYJ /YuRSmoZbJlp9Agf56pzXtYhZslg/3BFfM97rf3RjtwdqhvIim/6EC/B3pQGKhd3MXqH zt4T+g1Qe2vmDcT83w1pLLD+3j/mMVal+vBPu1PpqA7CBoYEJ6RyTrb4gHOVERGAE1n4 B1EpovAl4gc1tacdtUfDipFzqsWYL3RpoAlnwBvBnMuVDCydeNZKSQ8UXQGXVGjjG8Pk 4xwQ== X-Gm-Message-State: ALoCoQmxhyTGD1gJYKpALHW4hQ4tWYC3k+bCKtS8rF6C+5pA/5ekZacbJKKeEv+Z4PP8W+yqeZWI X-Received: by 10.194.71.48 with SMTP id r16mr12294wju.7.1421921292218; Thu, 22 Jan 2015 02:08:12 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.239.165 with SMTP id vt5ls92945lac.0.gmail; Thu, 22 Jan 2015 02:08:12 -0800 (PST) X-Received: by 10.153.6.6 with SMTP id cq6mr597446lad.23.1421921292034; Thu, 22 Jan 2015 02:08:12 -0800 (PST) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id ea10si20224254lbc.120.2015.01.22.02.08.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 02:08:12 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by mail-lb0-f182.google.com with SMTP id l4so620952lbv.13 for ; Thu, 22 Jan 2015 02:08:12 -0800 (PST) X-Received: by 10.152.234.35 with SMTP id ub3mr643320lac.70.1421921291887; Thu, 22 Jan 2015 02:08:11 -0800 (PST) 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.112.9.200 with SMTP id c8csp207466lbb; Thu, 22 Jan 2015 02:08:11 -0800 (PST) X-Received: by 10.70.130.9 with SMTP id oa9mr755688pdb.53.1421921290038; Thu, 22 Jan 2015 02:08:10 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id np10si11521706pbc.145.2015.01.22.02.07.40; Thu, 22 Jan 2015 02:08:10 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752531AbbAVKHe (ORCPT + 28 others); Thu, 22 Jan 2015 05:07:34 -0500 Received: from mail-ig0-f174.google.com ([209.85.213.174]:33586 "EHLO mail-ig0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751660AbbAVKH1 (ORCPT ); Thu, 22 Jan 2015 05:07:27 -0500 Received: by mail-ig0-f174.google.com with SMTP id b16so20234025igk.1 for ; Thu, 22 Jan 2015 02:07:26 -0800 (PST) X-Received: by 10.42.111.5 with SMTP id s5mr1728281icp.79.1421921246474; Thu, 22 Jan 2015 02:07:26 -0800 (PST) Received: from localhost.localdomain (host109-148-235-13.range109-148.btcentralplus.com. [109.148.235.13]) by mx.google.com with ESMTPSA id c8sm2201365igx.9.2015.01.22.02.07.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Jan 2015 02:07:25 -0800 (PST) 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, devicetree@vger.kernel.org Subject: [PATCH 1/2] ARM: sti: Provide DT nodes for SSC[0..4] Date: Thu, 22 Jan 2015 10:07:16 +0000 Message-Id: <1421921237-8991-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) 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: , The Synchronous Serial Controller is used to provide SPI. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 3e31d32..d52347a 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -274,5 +274,59 @@ status = "disabled"; }; + + spi@9840000 { + compatible = "st,comms-ssc4-spi"; + reg = <0x9840000 0x110>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "ssc"; + pinctrl-0 = <&pinctrl_spi0_default>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + + status = "disabled"; + }; + + spi@9841000 { + compatible = "st,comms-ssc4-spi"; + reg = <0x9841000 0x110>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "ssc"; + + status = "disabled"; + }; + + spi@9842000 { + compatible = "st,comms-ssc4-spi"; + reg = <0x9842000 0x110>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "ssc"; + + status = "disabled"; + }; + + spi@9843000 { + compatible = "st,comms-ssc4-spi"; + reg = <0x9843000 0x110>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "ssc"; + + status = "disabled"; + }; + + spi@9844000 { + compatible = "st,comms-ssc4-spi"; + reg = <0x9844000 0x110>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "ssc"; + + status = "disabled"; + }; }; };