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: 5395301 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 87CE9C11AD for ; Thu, 27 Nov 2014 11:44:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AFFDA201F4 for ; Thu, 27 Nov 2014 11:44:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 81CE7201FB for ; Thu, 27 Nov 2014 11:44:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754600AbaK0LoU (ORCPT ); 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-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=29kYAbT6XF+QCo/c1xZkspO387feWRv+XOHtMA6PVqM=; b=CkFf7lQ2aV6bjVcMA49TBwEnrsa49oaWQukaI1gaTkyV0qbzxw7X032bWaLoB3iIwy 4YSItPhnA9KM2zwwCNsO88Oxx97bukEitHstNIxeG/imekE4IDlNmBENydXlBockhE7Q WNG4YCOcQyMuUt9M56Hnzscw11VNAobCs10LodB/QWhzC+kTa1PqWgI9lLgNVQM5TyMc 4C7PKBSCQuI3zaALE1bvOgMiH8cI4GHcLlL28g6dT3DP8cEf6p0egoDLsATFXdS1ky0w l40xbEmO4gUD43va0qbCMIatpiXrlXUBCagehu3XzX+tSAeK42ub72S5Rc4zOiDVkC5I 827w== X-Gm-Message-State: ALoCoQlkNyNFFMgu/r/lmUdMsN8bsniURawnbDzF20Bvh3rRvRx7FQrI2nQMsKqWBr1j7oX7+fJF 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: 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..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"; + }; }; };