From patchwork Mon Dec 8 12:53:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 42005 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 240CC244AC for ; Mon, 8 Dec 2014 12:54:11 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf2745835lbj.3 for ; Mon, 08 Dec 2014 04:54:09 -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: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=Va3jnQcknpRypPzeYiAZvcCYJNkNa+atBkTONr8rG1U=; b=CJIIUY9lX1ru4fAVEE68cWBqAg6nyzXHs7MYhN5V9Ks0Mu78flf/Aa7RDSslJL1IL3 3s+03v7aFZpx/hOWO16gJbrCQZStkpJKmAG//TSwKNSpLujN11vXOVO9VHF488ezp1eK bGDLvIIfi83tfH73078S7SolcwcB0OCwxTe+H65W050oMu7yq9kBdivarmanZE/CNEHz 95RQQ/wp2TGhYrMyjE/wydnpRFCr2EsWvxLRuQFa62CwTPyWtnORh4WZnZlD3y2dszsy lZ7GkLv5q6lLFiRCNz75OngWbaZjjPW/f137HI3LJFlUZ8nFgktSo/gNiDMwo4GMcVH8 RJzA== X-Gm-Message-State: ALoCoQlaWy8chSaG6jyB5PEhECcDp2k1k0Y5Qt4ZD6NTFgkLdeQxIfVzvJ+vsfCH2HapC6SbdwVM X-Received: by 10.180.98.165 with SMTP id ej5mr3455649wib.1.1418043249714; Mon, 08 Dec 2014 04:54:09 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.7 with SMTP id 7ls531877laq.88.gmail; Mon, 08 Dec 2014 04:54:09 -0800 (PST) X-Received: by 10.152.30.39 with SMTP id p7mr16449841lah.5.1418043249458; Mon, 08 Dec 2014 04:54:09 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id m1si19752764lam.44.2014.12.08.04.54.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Dec 2014 04:54:09 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by mail-la0-f47.google.com with SMTP id hz20so3781842lab.20 for ; Mon, 08 Dec 2014 04:54:09 -0800 (PST) X-Received: by 10.112.52.37 with SMTP id q5mr15929138lbo.32.1418043249036; Mon, 08 Dec 2014 04:54:09 -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.184.201 with SMTP id ew9csp597162lbc; Mon, 8 Dec 2014 04:54:08 -0800 (PST) X-Received: by 10.70.129.135 with SMTP id nw7mr20353881pdb.129.1418043245787; Mon, 08 Dec 2014 04:54:05 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si59932534pdm.112.2014.12.08.04.54.05 for ; Mon, 08 Dec 2014 04:54:05 -0800 (PST) Received-SPF: none (google.com: devicetree-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 S1755412AbaLHMxw (ORCPT + 4 others); Mon, 8 Dec 2014 07:53:52 -0500 Received: from mail-yk0-f174.google.com ([209.85.160.174]:48268 "EHLO mail-yk0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755401AbaLHMxu (ORCPT ); Mon, 8 Dec 2014 07:53:50 -0500 Received: by mail-yk0-f174.google.com with SMTP id 10so2200404ykt.5 for ; Mon, 08 Dec 2014 04:53:49 -0800 (PST) X-Received: by 10.236.22.168 with SMTP id t28mr29258398yht.120.1418043229137; Mon, 08 Dec 2014 04:53:49 -0800 (PST) Received: from localhost.localdomain (host109-148-232-11.range109-148.btcentralplus.com. [109.148.232.11]) by mx.google.com with ESMTPSA id i70sm23143848yhq.7.2014.12.08.04.53.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Dec 2014 04:53:48 -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, broonie@kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 3/4] ARM: sti: Provide DT nodes for SSC[0..4] Date: Mon, 8 Dec 2014 12:53:33 +0000 Message-Id: <1418043214-14324-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1418043214-14324-1-git-send-email-lee.jones@linaro.org> References: <1418043214-14324-1-git-send-email-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.215.47 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.dtsi | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi index 50637f5..90bc090 100644 --- a/arch/arm/boot/dts/stih407.dtsi +++ b/arch/arm/boot/dts/stih407.dtsi @@ -275,5 +275,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"; + }; }; };