From patchwork Thu Mar 7 11:27:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: sandeep@freescale.com X-Patchwork-Id: 2231121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 2F5B4DF223 for ; Thu, 7 Mar 2013 11:32:12 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UDZ0D-0006QV-4h; Thu, 07 Mar 2013 11:28:49 +0000 Received: from va3ehsobe002.messaging.microsoft.com ([216.32.180.12] helo=va3outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UDYzd-0006I5-G7 for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2013 11:28:18 +0000 Received: from mail7-va3-R.bigfish.com (10.7.14.246) by VA3EHSOBE008.bigfish.com (10.7.40.28) with Microsoft SMTP Server id 14.1.225.23; Thu, 7 Mar 2013 11:28:09 +0000 Received: from mail7-va3 (localhost [127.0.0.1]) by mail7-va3-R.bigfish.com (Postfix) with ESMTP id 65B20C00AF; Thu, 7 Mar 2013 11:28:09 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1f42h1ee6h1de0h1202h1e76h1d1ah1d2ahzz8275bhz2dh2a8h668h839he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1155h) Received: from mail7-va3 (localhost.localdomain [127.0.0.1]) by mail7-va3 (MessageSwitch) id 1362655687347873_27446; Thu, 7 Mar 2013 11:28:07 +0000 (UTC) Received: from VA3EHSMHS007.bigfish.com (unknown [10.7.14.241]) by mail7-va3.bigfish.com (Postfix) with ESMTP id 3FBF54400F8; Thu, 7 Mar 2013 11:28:07 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by VA3EHSMHS007.bigfish.com (10.7.99.17) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 7 Mar 2013 11:28:06 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.2.328.11; Thu, 7 Mar 2013 11:28:05 +0000 Received: from nmglablinux22.zin33.ap.freescale.net (nmglablinux22.zin33.ap.freescale.net [10.232.20.244]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r27BRpUN026457; Thu, 7 Mar 2013 04:28:03 -0700 From: Sandeep Singh To: , Subject: [PATCH 4/4] Added device tree entries for Legerity SLIC node on various Freescale Platforms Date: Thu, 7 Mar 2013 16:57:48 +0530 Message-ID: <1362655668-26721-4-git-send-email-Sandeep@freescale.com> X-Mailer: git-send-email 1.7.6.GIT In-Reply-To: <1362655668-26721-1-git-send-email-Sandeep@freescale.com> References: <1362655668-26721-1-git-send-email-Sandeep@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130307_062813_836082_44177009 X-CRM114-Status: GOOD ( 10.08 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [216.32.180.12 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Sandeep Singh , Poonam Aggrwal X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org SLIC device is connected on SPI bus on these platforms Signed-off-by: Sandeep Singh Signed-off-by: Poonam Aggrwal --- arch/powerpc/boot/dts/p1010rdb.dtsi | 13 ++++++++++++- arch/powerpc/boot/dts/p1020mbg-pc.dtsi | 19 +++++++++++++++++++ arch/powerpc/boot/dts/p1020rdb-pc.dtsi | 18 ++++++++++++++++++ arch/powerpc/boot/dts/p1020rdb.dtsi | 17 +++++++++++++++++ arch/powerpc/boot/dts/p1022ds.dtsi | 17 +++++++++++++++++ arch/powerpc/boot/dts/p1024rdb.dtsi | 18 ++++++++++++++++++ 6 files changed, 101 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/p1010rdb.dtsi b/arch/powerpc/boot/dts/p1010rdb.dtsi index ec7c27a..b0a5908 100644 --- a/arch/powerpc/boot/dts/p1010rdb.dtsi +++ b/arch/powerpc/boot/dts/p1010rdb.dtsi @@ -1,7 +1,7 @@ /* * P1010 RDB Device Tree Source stub (no addresses or top-level ranges) * - * Copyright 2011 Freescale Semiconductor Inc. + * Copyright 2011-2012 Freescale Semiconductor Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -184,8 +184,19 @@ label = "SPI Flash JFFS2 RFS"; }; }; + + tdm_phy_0: slic@0 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <0>; + spi-max-frequency = <8000000>; + }; }; + tdm@16000 { + num-phy = <1>; + phy-handle = <&tdm_phy_0>; + }; + usb@22000 { phy_type = "utmi"; dr_mode = "host"; diff --git a/arch/powerpc/boot/dts/p1020mbg-pc.dtsi b/arch/powerpc/boot/dts/p1020mbg-pc.dtsi index a24699c..9119387 100644 --- a/arch/powerpc/boot/dts/p1020mbg-pc.dtsi +++ b/arch/powerpc/boot/dts/p1020mbg-pc.dtsi @@ -93,6 +93,25 @@ }; }; + spi@7000 { + tdm_phy_0: slic@0 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <1>; + spi-max-frequency = <8000000>; + }; + + tdm_phy_1: slic@1 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <2>; + spi-max-frequency = <8000000>; + }; + }; + + tdm@16000 { + num-phy = <2>; + phy-handle = <&tdm_phy_0>, <&tdm_phy_1>; + }; + mdio@24000 { phy0: ethernet-phy@0 { interrupts = <3 1 0 0>; diff --git a/arch/powerpc/boot/dts/p1020rdb-pc.dtsi b/arch/powerpc/boot/dts/p1020rdb-pc.dtsi index c952cd3..3a7fdd9 100644 --- a/arch/powerpc/boot/dts/p1020rdb-pc.dtsi +++ b/arch/powerpc/boot/dts/p1020rdb-pc.dtsi @@ -186,6 +186,24 @@ label = "file system jffs2"; }; }; + + tdm_phy_0: slic@0 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <1>; + spi-max-frequency = <8000000>; + }; + + tdm_phy_1: slic@1 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <2>; + spi-max-frequency = <8000000>; + }; + + }; + + tdm@16000 { + num-phy = <2>; + phy-handle = <&tdm_phy_0>, <&tdm_phy_1>; }; usb@22000 { diff --git a/arch/powerpc/boot/dts/p1020rdb.dtsi b/arch/powerpc/boot/dts/p1020rdb.dtsi index 1fb7e0e..f1a3431 100644 --- a/arch/powerpc/boot/dts/p1020rdb.dtsi +++ b/arch/powerpc/boot/dts/p1020rdb.dtsi @@ -186,6 +186,23 @@ label = "file system jffs2"; }; }; + + tdm_phy_0: slic@0 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <1>; + spi-max-frequency = <8000000>; + }; + + tdm_phy_1: slic@1 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <2>; + spi-max-frequency = <8000000>; + }; + }; + + tdm@16000 { + num-phy = <2>; + phy-handle = <&tdm_phy_0>, <&tdm_phy_1>; }; usb@22000 { diff --git a/arch/powerpc/boot/dts/p1022ds.dtsi b/arch/powerpc/boot/dts/p1022ds.dtsi index 873da35..af2d4e1 100644 --- a/arch/powerpc/boot/dts/p1022ds.dtsi +++ b/arch/powerpc/boot/dts/p1022ds.dtsi @@ -183,6 +183,18 @@ reg = <0x00700000 0x00900000>; }; }; + + tdm_phy_0: slic@0 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <1>; + spi-max-frequency = <8000000>; + }; + + tdm_phy_1: slic@1 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <2>; + spi-max-frequency = <8000000>; + }; }; ssi@15000 { @@ -191,6 +203,11 @@ fsl,ssi-asynchronous; }; + tdm@16000 { + num-phy = <2>; + phy-handle = <&tdm_phy_0>, <&tdm_phy_1>; + }; + usb@22000 { phy_type = "ulpi"; }; diff --git a/arch/powerpc/boot/dts/p1024rdb.dtsi b/arch/powerpc/boot/dts/p1024rdb.dtsi index b05dcb4..cec36a3 100644 --- a/arch/powerpc/boot/dts/p1024rdb.dtsi +++ b/arch/powerpc/boot/dts/p1024rdb.dtsi @@ -164,6 +164,19 @@ label = "SPI JFFS2 RFS"; }; }; + + tdm_phy_0: slic@0 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <1>; + spi-max-frequency = <8000000>; + }; + + tdm_phy_1: slic@1 { + compatible = "zarlink,le88266", "tdm-phy-slic"; + reg = <2>; + spi-max-frequency = <8000000>; + }; + }; i2c@3000 { @@ -173,6 +186,11 @@ }; }; + tdm@16000 { + num-phy = <2>; + phy-handle = <&tdm_phy_0>, <&tdm_phy_1>; + }; + usb@22000 { phy_type = "ulpi"; };