From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw01.freescale.net (de01egw01.freescale.net [192.88.165.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 8F422DDE24 for ; Fri, 12 Oct 2007 23:18:40 +1000 (EST) Received: from de01smr02.am.mot.com (de01smr02.freescale.net [10.208.0.151]) by de01egw01.freescale.net (8.12.11/de01egw01) with ESMTP id l9CDIY8X009194 for ; Fri, 12 Oct 2007 06:18:34 -0700 (MST) Received: from zch01exm26.fsl.freescale.net (zch01exm26.ap.freescale.net [10.192.129.221]) by de01smr02.am.mot.com (8.13.1/8.13.0) with ESMTP id l9CDIKNF006039 for ; Fri, 12 Oct 2007 08:18:33 -0500 (CDT) From: Li Yang To: galak@kernel.crashing.org, paulus@samba.org, linuxppc-dev@ozlabs.org Subject: [PATCH v3 5/9] add documentation for SATA nodes Date: Fri, 12 Oct 2007 21:28:44 +0800 Message-Id: <1192195728-24189-6-git-send-email-leoli@freescale.com> In-Reply-To: <1192195728-24189-5-git-send-email-leoli@freescale.com> References: <1192195728-24189-1-git-send-email-leoli@freescale.com> <1192195728-24189-2-git-send-email-leoli@freescale.com> <1192195728-24189-3-git-send-email-leoli@freescale.com> <1192195728-24189-4-git-send-email-leoli@freescale.com> <1192195728-24189-5-git-send-email-leoli@freescale.com> Cc: Li Yang List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Signed-off-by: Li Yang --- Documentation/powerpc/booting-without-of.txt | 32 ++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index a96e853..8d49942 100644 --- a/Documentation/powerpc/booting-without-of.txt +++ b/Documentation/powerpc/booting-without-of.txt @@ -2242,6 +2242,38 @@ platforms are moved over to use the flattened-device-tree model. available. For Axon: 0x0000012a + o) SATA nodes + + SATA nodes are defined to describe on-chip Serial ATA controllers. + + Required properties: + + - compatible : Should specify what this SATA controller is compatible + with. + - reg : Offset and length of the register set for the device. + - interrupts : where a is the interrupt number and b is a + field that represents an encoding of the sense and level + information for the interrupt. This should be encoded based on + the information in section 2) depending on the type of interrupt + controller you have. + - interrupt-parent : the phandle for the interrupt controller that + services interrupts for this device. + + Recommended properties : + + - phy-handle : Some SATA controller uses a shared SerDes PHY. This + property should specify the phandle of the SerDes node. + + Example: + + sata@19000 { + compatible = "fsl,mpc8315-sata"; + reg = <19000 1000>; + interrupts = <2d 8>; + interrupt-parent = < &ipic >; + phy-handle = < &serdes1 >; + }; + More devices will be defined as this spec matures. VII - Specifying interrupt information for devices -- 1.5.3.2.104.g41ef