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: 5455981 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 1773E9F1C5 for ; Mon, 8 Dec 2014 12:54:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5756A2011D for ; Mon, 8 Dec 2014 12:54:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 78AC520107 for ; Mon, 8 Dec 2014 12:54:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755428AbaLHMxz (ORCPT ); Mon, 8 Dec 2014 07:53:55 -0500 Received: from mail-yk0-f171.google.com ([209.85.160.171]:58390 "EHLO mail-yk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755399AbaLHMxt (ORCPT ); Mon, 8 Dec 2014 07:53:49 -0500 Received: by mail-yk0-f171.google.com with SMTP id 142so2207537ykq.30 for ; Mon, 08 Dec 2014 04:53:49 -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=C5bR2RlwpuS6xNeDo5Mz5E9/1eeeV+8ul9Gg0OExnLKOhndVq/JSKXzSCJTQIoa3JE zZUSRtOjO+GVxAS6x0Js/gSSQ4HckJhv+oByawDYswwdN9yL7KZhzLLOI6QI+9zxVgOi h+cMjVBUqs4WIFoRycrXjkKqPvSmYHhXC1q1hiJYua3jeB30p9muZ0CBnDooiiM+gyDl FijhcUVhie3sDhRiLo3bAgywPrxIAnqxI4cbgGOatip7dGnJPfs6KXFOUNID46sF6XNo oxPKgQM+4mwUupA14iBpQiDL3aLUyQfJGTDtsSA8H/RWqHlPnTWAlzi7rPGTPPgz+BaO U3Lw== X-Gm-Message-State: ALoCoQnmmt56Nyk0eAHbFhUQyXRxzmWW/FZ2z6ZhhsCF1XAcU7LjQr5z9l6ZDp6gm+/luovtFVRD 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: 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"; + }; }; };