From patchwork Tue Dec 2 15:40:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 41812 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 95E8120672 for ; Tue, 2 Dec 2014 15:41:41 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id y19sf8312578wgg.3 for ; Tue, 02 Dec 2014 07:41:40 -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=hsWKlsT7riXe1/ssHhw+38mdQNug/32ooDZ7bZWRxOo=; b=Fc9F7XNoZOIEsYamyDHqajHSVM+loyvKszA5AyAa6fN8JHf0C6vqGrkM9rljMNqrXi QlPS35mG01TPDeTj4f9Dwj2y4qvMGtC0eHj6hvmaRU2l70iwSmI+Had+8Cs7KtM6bFE5 dY6EBRWgHlJwdtpSgtR7SY2GJ8nxTT4T/KTcvKIkYG4rfKH+Tlb0atzGn0XL5vSYch0h C1lSfZLfTy+EEFp948E38jYP8aMPuFEKvhRbszmoBqGHqqFq2nXNRiR6Og2g83L0FSTh VTBqZ1SWYvKBwcOkycitrnaOj1LNSFXwqHTQMQb8PEB0+/oSjMBdO/yQi9xPCF3dg2Pw lIDw== X-Gm-Message-State: ALoCoQl0WO7Yiqq6BztLQyTaQBV6tZF9D9TSm2+uMh9QR7OH8O1+1J1DBdxgoAxFC/D9kvLRWMVJ X-Received: by 10.180.102.228 with SMTP id fr4mr15282315wib.1.1417534900877; Tue, 02 Dec 2014 07:41:40 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.106 with SMTP id x10ls43557laj.58.gmail; Tue, 02 Dec 2014 07:41:40 -0800 (PST) X-Received: by 10.112.38.4 with SMTP id c4mr46945734lbk.46.1417534900620; Tue, 02 Dec 2014 07:41:40 -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 ao10si20643455lac.113.2014.12.02.07.41.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Dec 2014 07:41:40 -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 hz20so10652524lab.6 for ; Tue, 02 Dec 2014 07:41:40 -0800 (PST) X-Received: by 10.112.14.69 with SMTP id n5mr62468927lbc.34.1417534900484; Tue, 02 Dec 2014 07:41:40 -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 ew9csp504996lbc; Tue, 2 Dec 2014 07:41:39 -0800 (PST) X-Received: by 10.68.143.226 with SMTP id sh2mr6987047pbb.62.1417534898677; Tue, 02 Dec 2014 07:41:38 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si3013833pdp.206.2014.12.02.07.41.37 for ; Tue, 02 Dec 2014 07:41:38 -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 S1754054AbaLBPlN (ORCPT + 26 others); Tue, 2 Dec 2014 10:41:13 -0500 Received: from mail-yh0-f49.google.com ([209.85.213.49]:45099 "EHLO mail-yh0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932469AbaLBPlI (ORCPT ); Tue, 2 Dec 2014 10:41:08 -0500 Received: by mail-yh0-f49.google.com with SMTP id f10so6083465yha.22 for ; Tue, 02 Dec 2014 07:41:08 -0800 (PST) X-Received: by 10.236.5.202 with SMTP id 50mr66806222yhl.178.1417534863839; Tue, 02 Dec 2014 07:41:03 -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 e35sm12828433yhq.45.2014.12.02.07.41.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Dec 2014 07:41:03 -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 v2 3/4] ARM: sti: Provide DT nodes for SSC[0..4] Date: Tue, 2 Dec 2014 15:40:43 +0000 Message-Id: <1417534844-25080-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417534844-25080-1-git-send-email-lee.jones@linaro.org> References: <1417534844-25080-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=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"; + }; }; };