From patchwork Thu Nov 27 11:43:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 41611 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7F946244C2 for ; Thu, 27 Nov 2014 11:44:39 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id u10sf2927976lbd.2 for ; Thu, 27 Nov 2014 03:44:38 -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=1Xk89f532Wjxj9ajXqEyjClryjgyIdmSia4ewvSsKrE=; b=USTuI34XB2BrdA1zNvrVTddf13eCEYCOruN8V2sNF7LFqj3pmN+OVMVJrXmb31gyUN KJXhvTrMs5vjS8kC+6ZHRZsPg7JZbWVQVur1QINphyURbmXKw3RH0bHw7cthyq+ZlmvV r5mBbok6DCPKpkWCcbk129KXSpXdOLfFLGVRoZ/XCEKa+LJ+BgHfRjKqRGtodzKbOfqu F3YUqeyIh7pYvoabx66kFRx1e2sKIoKKl2L1Jpa4eRCz+NWcnY9p5dY4ItiYbqufw0Ie 2Lg7SPxA7vKknujnkb3QvxDxkuwubPdPJdKVp5S41fy6Qkpb0XMkgwgvmH9Ifj1lfVbx YaPw== X-Gm-Message-State: ALoCoQnSsmQ30Zl5Vwb8U3VEd9utb+jEhTPxWfAzJgbEeeJyUFvpws/Aj+sRDHb5PhMVbi4R6nIe X-Received: by 10.152.6.4 with SMTP id w4mr364306law.7.1417088678429; Thu, 27 Nov 2014 03:44:38 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.101 with SMTP id m5ls268081lae.21.gmail; Thu, 27 Nov 2014 03:44:38 -0800 (PST) X-Received: by 10.153.6.33 with SMTP id cr1mr39241106lad.63.1417088678187; Thu, 27 Nov 2014 03:44:38 -0800 (PST) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id ue9si7066942lbb.41.2014.11.27.03.44.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Nov 2014 03:44:38 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id gq15so4068233lab.32 for ; Thu, 27 Nov 2014 03:44:38 -0800 (PST) X-Received: by 10.152.8.170 with SMTP id s10mr38616319laa.56.1417088678090; Thu, 27 Nov 2014 03:44:38 -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 ew9csp784772lbc; Thu, 27 Nov 2014 03:44:37 -0800 (PST) X-Received: by 10.68.106.194 with SMTP id gw2mr61281247pbb.109.1417088676558; Thu, 27 Nov 2014 03:44:36 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ha3si11027388pbc.225.2014.11.27.03.44.35 for ; Thu, 27 Nov 2014 03:44:36 -0800 (PST) Received-SPF: none (google.com: linux-spi-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 S1754600AbaK0LoU (ORCPT + 2 others); Thu, 27 Nov 2014 06:44:20 -0500 Received: from mail-ig0-f182.google.com ([209.85.213.182]:38477 "EHLO mail-ig0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754861AbaK0LoT (ORCPT ); Thu, 27 Nov 2014 06:44:19 -0500 Received: by mail-ig0-f182.google.com with SMTP id hn15so4181203igb.9 for ; Thu, 27 Nov 2014 03:44:18 -0800 (PST) X-Received: by 10.42.179.132 with SMTP id bq4mr30351040icb.61.1417088658896; Thu, 27 Nov 2014 03:44:18 -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 lr5sm4215977igb.16.2014.11.27.03.44.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Nov 2014 03:44:18 -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 3/4] ARM: sti: Provide DT nodes for SSC[0..4] Date: Thu, 27 Nov 2014 11:43:55 +0000 Message-Id: <1417088636-11994-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417088636-11994-1-git-send-email-lee.jones@linaro.org> References: <1417088636-11994-1-git-send-email-lee.jones@linaro.org> Sender: linux-spi-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-spi@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.45 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..245aa31 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-ssc-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-ssc-spi"; + reg = <0x9841000 0x110>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "ssc"; + + status = "disabled"; + }; + + spi@9842000 { + compatible = "st,comms-ssc-spi"; + reg = <0x9842000 0x110>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "ssc"; + + status = "disabled"; + }; + + spi@9843000 { + compatible = "st,comms-ssc-spi"; + reg = <0x9843000 0x110>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "ssc"; + + status = "disabled"; + }; + + spi@9844000 { + compatible = "st,comms-ssc-spi"; + reg = <0x9844000 0x110>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + clock-names = "ssc"; + + status = "disabled"; + }; }; };