From patchwork Mon Dec 8 10:14:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Alex G." X-Patchwork-Id: 5455401 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 2FD3FBEEA8 for ; Mon, 8 Dec 2014 10:14:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6578B2012B for ; Mon, 8 Dec 2014 10:14:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8664720172 for ; Mon, 8 Dec 2014 10:14:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754055AbaLHKOY (ORCPT ); Mon, 8 Dec 2014 05:14:24 -0500 Received: from mail-ob0-f176.google.com ([209.85.214.176]:47883 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752543AbaLHKOX (ORCPT ); Mon, 8 Dec 2014 05:14:23 -0500 Received: by mail-ob0-f176.google.com with SMTP id vb8so3363772obc.21 for ; Mon, 08 Dec 2014 02:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZNLz+QO1YJJr4ufI3F6BZXgR4RXNRF5uylseINL+QrY=; b=PqrEB90XXn7sJ+DrfAc6pBJcKrALo4Fe/lYXYuiElhyZuBhJHcQUYsTZwrEio6Gh4u QimnVoPDeyD5Cjh3B51Be8EAIBcjrVNEFVO9DbcRxbJ7P8Fkiiu5TKON3bXPtMKz34tE yyr9HAdGhQzAWM7KmKu2KVzgYedsDouj8niyZ0/U+ejxNoWWzmaw4rTHQwUMJIyrOO05 6atOzVp0vgnLDMYfLmSVmQjWSB3GqY0JnSB0QsZSZUzHBbagi8RiXmNtLnZTpGT+Zaaj tc9FB/ZFDADuG0hCCP9vre43md8dL8RS1KQGk/D64XcNifIVqC61GdO/hunoDhQwnBxU gIRw== X-Received: by 10.202.199.196 with SMTP id x187mr6235421oif.61.1418033662717; Mon, 08 Dec 2014 02:14:22 -0800 (PST) Received: from nuclearis2.gtech (c-98-199-122-37.hsd1.tx.comcast.net. [98.199.122.37]) by mx.google.com with ESMTPSA id l4sm17848687oib.11.2014.12.08.02.14.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Dec 2014 02:14:21 -0800 (PST) From: Alexandru Gagniuc To: linux-spi@vger.kernel.org Cc: broonie@kernel.org, maxime.ripard@free-electrons.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, devicetree@vger.kernel.org, Alexandru Gagniuc Subject: [PATCH 3/3] ARM: sun4i: dt: cubieboard: Enable SPI0 Date: Mon, 8 Dec 2014 04:14:02 -0600 Message-Id: <1418033642-29731-4-git-send-email-mr.nuke.me@gmail.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1418033642-29731-1-git-send-email-mr.nuke.me@gmail.com> References: <1418033642-29731-1-git-send-email-mr.nuke.me@gmail.com> 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Only SPI0 is enabled, as the schematic denotes it as the only SPI bus, while other pins are reserved for different peripherals. Signed-off-by: Alexandru Gagniuc --- arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts index 6a310da..140e3ee 100644 --- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts +++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts @@ -148,6 +148,12 @@ pinctrl-0 = <&i2c1_pins_a>; status = "okay"; }; + + spi0: spi@01c05000 { + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins_a>; + status = "okay"; + }; }; leds {