From patchwork Fri Jun 11 11:52:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 55311 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id C2CAC1007D1 for ; Fri, 11 Jun 2010 21:52:46 +1000 (EST) Received: by ozlabs.org (Postfix) id 68DEA1007D4; Fri, 11 Jun 2010 21:52:40 +1000 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from mail-bw0-f42.google.com (mail-bw0-f42.google.com [209.85.214.42]) by ozlabs.org (Postfix) with ESMTP id 9F6C01007D2 for ; Fri, 11 Jun 2010 21:52:38 +1000 (EST) Received: by bwz8 with SMTP id 8so338650bwz.15 for ; Fri, 11 Jun 2010 04:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=VZW5LS108Si9YlT56/yjQTdRVcm3TdBbJpcrOqTwHNM=; b=efX1NW83+miAxe0UtlV2nw05bxZkPt7pk9pYUIkjw3GXW2+FIDk6suvci0uvMWMrvO b11l9BrdwP8b414OCVi2WNAlalrOq0N4dSSHR2fBE6XGc4C4gXIKW6GdTuciaiUeuAa6 nJ1W9ZazmIDAVVOsNll/h2ONyhDr2bOWugqfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=EyUbSKPmmTrtWu8p46p/FJiwYRhoL6tVrJQcsrB9Lwfz9pvYnily/Y1uBtBxw8Calo ZapGsktMifp7weUNTON24lxvY8X5AhCDbIqKhlDGA/NLiHoNxpCFy3U+0Y7wqZ8dw7B+ W3ZRSphebUR7rTxaa42H3rYeG/YWMTlbONoNI= Received: by 10.204.150.80 with SMTP id x16mr1168762bkv.192.1276257155920; Fri, 11 Jun 2010 04:52:35 -0700 (PDT) Received: from doriath.ww600.siemens.net ([91.213.169.4]) by mx.google.com with ESMTPS id v3sm4634231bkz.10.2010.06.11.04.52.33 (version=SSLv3 cipher=RC4-MD5); Fri, 11 Jun 2010 04:52:34 -0700 (PDT) From: Dmitry Eremin-Solenikov To: linuxppc-dev@ozlabs.org Subject: [PATCH 1/2] lite5200: add dts descriptions for onboard I2C eeprom and flash Date: Fri, 11 Jun 2010 15:52:34 +0400 Message-Id: <1276257155-7297-1-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.7.1 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 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@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Add dts descriptions for onboard 256 byte I2C eeprom (pcf8582C-2) and 16MB NOR flash (am29lv652d). Signed-off-by: Dmitry Eremin-Solenikov Cc: Grant Likely --- arch/powerpc/boot/dts/lite5200.dts | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts index 2b64d8e..da1dafb 100644 --- a/arch/powerpc/boot/dts/lite5200.dts +++ b/arch/powerpc/boot/dts/lite5200.dts @@ -255,6 +255,12 @@ compatible = "fsl,mpc5200-i2c","fsl-i2c"; reg = <0x3d40 0x40>; interrupts = <2 16 0>; + + eeprom@50 { + compatible = "nxp,pcf8582c", "at24,24c02"; + reg = <0x50>; + }; + }; sram@8000 { compatible = "fsl,mpc5200-sram"; @@ -281,4 +287,22 @@ 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; + + localbus { + compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus"; + + #address-cells = <2>; + #size-cells = <1>; + + ranges = <0 0 0xff000000 0x00000000>; + + flash@0,00000000 { + compatible = "amd,am29lv652d", "cfi-flash"; + reg = <0 0x00000000 0x01000000>; + bank-width = <1>; + #size-cells = <1>; + #address-cells = <1>; + }; + }; + };