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: 5420801 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2C1F19F1C5 for ; Tue, 2 Dec 2014 15:41:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 55727202A1 for ; Tue, 2 Dec 2014 15:41:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 788EB20270 for ; Tue, 2 Dec 2014 15:41:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753819AbaLBPlM (ORCPT ); Tue, 2 Dec 2014 10:41:12 -0500 Received: from mail-yk0-f179.google.com ([209.85.160.179]:36748 "EHLO mail-yk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932470AbaLBPlJ (ORCPT ); Tue, 2 Dec 2014 10:41:09 -0500 Received: by mail-yk0-f179.google.com with SMTP id 19so5930291ykq.38 for ; Tue, 02 Dec 2014 07:41:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XCdcE60nnIADwjXZGwaam7Bh7IZcbA78ix5XZcxY/Q4=; b=bfrWoPLsJ6xV+QAsxkwvQ2iRqk7yxrGoUbNHha2D0DlGx43oVaAQSw16dgEJXXNlIT wqWdybhTR4rU2C/lVMI+Dt3kedRtFIJg2g8ti4Nf7MZZCpKGuKCRzyebJZ9nba3GJX0k NIeFLCSz0GWdxUQzpZHhF42OGG+HFnrKh1uLFmc7hWGFVf7X4yzFE5m0ZHiBKnF779sH arr283PLSXPCTX/LUqTAf+wq/JcTG0pM5XMxoE3M27d8Nd6JTaIgLtrwKzIYZVadgO4k SwSP/Vek0ET1BLGoM8L6lBdrITwGfJyNV321FfDltdkdvJ/aZPrlwsimrDNr754KVgG0 tCjg== X-Gm-Message-State: ALoCoQnWjIRtGG3/dgW13f84Q+yXKFOmFNuLL/aATqkIdHq/N2hTMjdikfC8KSYJq0Uk3ZVZCpgx 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-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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"; + }; }; };