From patchwork Fri Oct 31 11:11:46 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roese X-Patchwork-Id: 6687 X-Patchwork-Delegate: jwboyer@gmail.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id A59A7DE08D for ; Fri, 31 Oct 2008 22:12:19 +1100 (EST) X-Original-To: linuxppc-dev@ozlabs.org Delivered-To: linuxppc-dev@ozlabs.org Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by ozlabs.org (Postfix) with ESMTP id B4CF3DDE04 for ; Fri, 31 Oct 2008 22:11:51 +1100 (EST) Received: from localhost.localdomain (achn-4db4985e.pool.einsundeins.de [77.180.152.94]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1Kvrus3eM7-0004ve; Fri, 31 Oct 2008 12:11:50 +0100 From: Stefan Roese To: linuxppc-dev@ozlabs.org Subject: [PATCH] powerpc/4xx: Add GPIO, SPI and MMC suport to the Arches Date: Fri, 31 Oct 2008 12:11:46 +0100 Message-Id: <1225451506-24727-1-git-send-email-sr@denx.de> X-Mailer: git-send-email 1.6.0.3 X-Provags-ID: V01U2FsdGVkX19T93Z7bA60DwVyz7nIXW5nbopTi/ZUqznuGn/ Lw5QeYzJOY8W5Oj5/MTONwCT0Unn+J0ztNrg+o4dmZkihhZgoP 52r3A72Lj6CcQmf/geYevGe0Zeuvlw8 X-BeenThere: linuxppc-dev@ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org This patch adds GPIO, SPI & MMC (for onboard uSD) support to the Arches dts Signed-off-by: Stefan Roese --- arch/powerpc/boot/dts/arches.dts | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/arches.dts b/arch/powerpc/boot/dts/arches.dts index d9113b1..c568095 100644 --- a/arch/powerpc/boot/dts/arches.dts +++ b/arch/powerpc/boot/dts/arches.dts @@ -195,6 +195,38 @@ interrupts = <0x3 0x4>; }; + SPI0: spi@ef600900 { + #address-cells = <1>; + #size-cells = <0>; + device_type = "spi"; + compatible = "ibm,spi-460gt", "ibm,ppc4xx-spi"; + reg = <0xef600900 7>; + interrupt-parent = <&UIC1>; + interrupts = <2 4>; + + /* gpio(s) representing chip select(s) */ + gpios = <&GPIO1 11 0>; + + mmc-slot@0 { + compatible = "linux,mmc-spi", "mmc-spi"; + reg = <0>; + spi-max-frequency = <10000000>; + voltage-range = <3300 3300>; + }; + }; + + GPIO0: gpio@ef600b00 { + #gpio-cells = <2>; + compatible = "ibm,460gt-gpio","ibm,ppc4xx-gpio"; + reg = <0xef600b00 38>; + }; + + GPIO1: gpio@ef600c00 { + #gpio-cells = <2>; + compatible = "ibm,460gt-gpio","ibm,ppc4xx-gpio"; + reg = <0xef600c00 38>; + }; + TAH0: emac-tah@ef601350 { compatible = "ibm,tah-460gt", "ibm,tah"; reg = <0xef601350 0x00000030>;