Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964804AbbFJMco (ORCPT ); Wed, 10 Jun 2015 08:32:44 -0400 Received: from mail-bn1on0084.outbound.protection.outlook.com ([157.56.110.84]:51616 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752109AbbFJMcd (ORCPT ); Wed, 10 Jun 2015 08:32:33 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Message-ID: <55782E4F.6020708@xilinx.com> Date: Wed, 10 Jun 2015 14:32:15 +0200 From: Michal Simek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Suneel Garapati , , CC: , , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , "Kumar Gala" , Catalin Marinas , "Will Deacon" , Arnd Bergmann Subject: Re: [PATCH] devicetree: xilinx: zynqmp: add sata node References: <1433931416-6661-1-git-send-email-suneel.garapati@xilinx.com> In-Reply-To: <1433931416-6661-1-git-send-email-suneel.garapati@xilinx.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21604.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD044;1:sTeXSBJNkItWOyjFULZnW6vDWLCHdQDjlNWUdvkRBDvPW7ThENMLhP7LFBNbgb2zNzXbQJTKPtRXKYoInK9USR87zsswPg6cyBIovAGQFPcgY+2Nfn14XJKpVoaxjSiBMQyliWOAo07W8ulDDIebtl96lP1pk/hOfrxTCvFu76DgjFCN3jJ2rrLPjzTWtczVhVmnmkOgORZ2fofqj3vzkpaH9gYehMRt8GX1mhJlZc1PbC2R3bVstSb6znLyDDB9ELYzpt5EP7Bdgb36JJzlhYT2kizCrHnjk6wAlVZ2JnZfgbFmgcg0v3KIcHO+KNPE X-Forefront-Antispam-Report: CIP:149.199.60.100;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(438002)(189002)(377454003)(199003)(479174004)(24454002)(164054003)(51704005)(76176999)(46102003)(65806001)(50986999)(36756003)(65816999)(87936001)(99136001)(87266999)(47776003)(86362001)(2201001)(54356999)(6806004)(65956001)(575784001)(50466002)(33656002)(5001920100001)(5001960100002)(106466001)(92566002)(77156002)(62966003)(63266004)(80316001)(189998001)(2950100001)(19580405001)(83506001)(5001770100001)(4001350100001)(77096005)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2FFO11HUB020;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB020;2:znC88ftf5n4A9dkz6ygWkXY6GtMDu98pKtZtBDEU2OSYVdmjt5u8sftG/5X3Jz1s;2:XepW9eVhHwRhxjyvaUVOWLIHnjFvN3VeTYiVv3VCv82wXqHJeAZOFUPRyvViJkBf13ykLVa4oMKsllE3XaK3/CRhnit4IZCh7zdL6zZYnGOPjBYB+ujzfDS5bV9gRKGpXC0RWQZle1qovdMhD2/V7gt7C2/M+gpHr7QErQBSHcri8hZVGbFeBXYrSNV0vZVMOftBaWpTkRd7HQfw5YrHJhLAQRS5cj4fY3a9KIL47LkYOHNOdl/fQK7MfhjETKks;6:vcVpj3LLY4H92Q8uyQUFI9SqGzHFbXdmelOpvwMFXPVtGy67XxUIocNVPZovFMkZON0bM3EwkuRTlgBuyODw93Tt8CmkdTlru53myAKEYGtr85uY/lQDX94pszRfWvbIaVLhKIbo4WTPDo6W+sU9jHr6/IOAcXQ9hb1zfzpeLQtTD3x0IvUvihhYWcXjFowQeGGlhloG8ampqWS6il+QN7NpEqtvZ3SEiiJCKYnoBiszxJbsIG0U8BmRV6jqJ1brti+rSofT5lPgPehz26H2Xn0HBWYk3A/k4czOogoUaug5C3octpSinDFXc6Olm+X0VqOFejvDSgCjJD+gDOsPi8Ab0/rvG87+xUgBBXKS1/+ybnf9qptbbQkEe3lMkjFd6dx8faekNORsefPUVQlIB1B2d+77Az6spN1JLFDggKx8DbtEOkPQV4Mefwg4XnQ/W9x4WlIszVJWz9PKYmadn6pDdeXALfzJzlziL4hvHIzNIBHYCnQvhoUXc9j53ApQ X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB020; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(520003)(3002001);SRVR:BL2FFO11HUB020;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB020; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB020;3:eR9/WPplLv2QmTjpq/sTpfHZqTtupq4Kx5XTC1BlHeejEciCXRxhn+nraZjxpU9hZre+Ouo3Auxdvikgbr2jKqDHvXTp3/CehhL2yEVUsCLJcTTWFCURh1sPOAy6eE51/r1MuEk59Gg6KdbHocdugCGoTSluUUSG5PSB5MtW0EcAGfmHYr3wk/Jf8DH1Zh3bmYnFxg4ULfwTiKkg+d863M8CImkzG0bajZNINsTzVKc6AzSUZF2XLV8J4wOL2IuvH+6T0DeV8B2Gpq+R8avkb+iCmuy05Fge1hzkhEePHhB6D93YoFGLCF8nsIvj6Ql3 X-Forefront-PRVS: 06036BD506 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;BL2FFO11HUB020;9:v6LmKmxRTvMT24eTTFTTggVAcXj+CJzqObV4I?= =?Windows-1252?Q?aXHJCpPLMeKCLM2sSzk0sizz3p7cfzeGGBURrcCuaRjn6LjYk7cSqwcE?= =?Windows-1252?Q?pBFUMMo454Macf5vpx8tcK/BXBJSFI70mUthC7CB4WZiN+XFmMsmmXIk?= =?Windows-1252?Q?X/Eip82iJNKAvgplPiM2s7ofkhgC8eAwzvuuFWzIOnf6Zsu3prT3fE/+?= =?Windows-1252?Q?n3K/YkmxKBQ/x856oGzQtfoBIxuYaFfGJ1I2vXa+6//DxeG6GonHGPuW?= =?Windows-1252?Q?7Bs7wF74/qJyfB8ayJeCrqjc+79z/WSq1xQUw5AvK17E3QiPrWf8YL4p?= =?Windows-1252?Q?lxOjn9Y60sJJqAeUIOH2SeR+tNerndIo/hpYKDU5BCLJ21eNk/pWowRJ?= =?Windows-1252?Q?3DDyks4fW3rej7eFD6XO8sPVNQg+D3HXIM0J52L5678mhf8T2lBCbQXA?= =?Windows-1252?Q?jT0LtJY+X6+mgKoZH+QF7VfoKpQnyVZrwkPX+LovKbrHB6+vrKdRZOoC?= =?Windows-1252?Q?q29O9M03S/WxTQsfT/l7fiLt6rckyR7m8I/l4UZO43sdfpu4NlEUY6GN?= =?Windows-1252?Q?UL0S9ipSQBYujPdH3t3en8qW5r44KuX3iAcV1Ws8Lflk3Om/zvVjBnCc?= =?Windows-1252?Q?tkz8Q5MxwRploiarVTKIGefdD6QExHcomZEzcl/PWa+SUn63S5W/ydI3?= =?Windows-1252?Q?FLHcZhl1SX+8TeRqtGeiKGTAP2/w3n7jjqXwAnDv6NiymkcpedscPa8m?= =?Windows-1252?Q?ply5o6cglf4smMl2GmChqck32pMgYYTmywlPx/yF8vac+0/x4qjIRP5e?= =?Windows-1252?Q?kqyJOpyv9kQx6M/EcbtmuYUDAIkXBR8GNq65UjfaJdXTarVOK1Nw0sat?= =?Windows-1252?Q?987lj4txL/I7QYjLzoH4F24+81IxneUaeaXuNuFJGX/9C6NvxwD/oSFN?= =?Windows-1252?Q?aES7P4TMri+p22Nv52kV24GazOSFqkVndHPc7l37WWoV+YBgYYNFaiBy?= =?Windows-1252?Q?nRaiUYURgKL7SMXI2Bzqp0/BvWIQrHDGHVOvQEDiNy3LlQ+JECwwKF/c?= =?Windows-1252?Q?0+q/ugNL4ANW+P32mYPBC52NI7qqidjOKFPJeck/VdxOqwiMI2kuArC5?= =?Windows-1252?Q?xnNHMaLOOiN1U247/ETD12a3foqupQcfl4HyaucaaGB4KiCa0x60xjRX?= =?Windows-1252?Q?UdCXY0ksIo3kI2vlsPliIyW5kV1OXU=3D?= X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB020;3:9SEJh35b8NVYhAIUm65q9GSFLal/1ITk/mzRAnqYJrxPy0uPEW/ncBR97V+wlNKo8evKY+c13ImvFPiUalocQnRwCfq3P2UdnNlBtdlLVJf8MbSnaffG9auKjvLUwBch55fh027aXVLi18498tXgaA==;10:EJ46kfvUF/mGxWBlaQlOyUG4oNW84pjPaW6Ip7AG/fXKfucpp1McNfAPXlSSfk4wSthFNB/mGisUrIYO357+TBxne3PZakOlVE26GIFhs/E= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2015 12:32:31.6108 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2FFO11HUB020 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1989 Lines: 71 On 06/10/2015 12:16 PM, Suneel Garapati wrote: > add sata node with sata fixed clock nodes in dtsi file. > enable sata in zynqmp-ep108.dts with broken-gen2. > > Signed-off-by: Suneel Garapati > --- > Note - > Driver and bindings are added via libata/for-4.2 tree > bindings is found in Documentation/devicetree/bindings/ata/ahci-ceva.txt > --- > arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 5 +++++ > arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 15 +++++++++++++++ > 2 files changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts > index 0a3f40e..981e594 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts > @@ -42,6 +42,11 @@ > }; > }; > > +&sata { > + status = "okay"; > + ceva,broken-gen2; > +}; > + > &uart0 { > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > index 11e0b00..e7545ed 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > @@ -272,6 +272,21 @@ > #size-cells = <0>; > }; > > + sata_clk: sata_clk { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <75000000>; > + }; > + > + sata0: ahci@fd0c0000 { > + compatible = "ceva,ahci-1v84"; > + status = "disabled"; > + reg = <0x0 0xfd0c0000 0x2000>; > + interrupt-parent = <&gic>; > + interrupts = <0 133 4>; > + clocks = <&sata_clk>; > + }; > + > sdhci0: sdhci@ff160000 { > compatible = "arasan,sdhci-8.9a"; > status = "disabled"; > -- > 2.1.2 > Reviewed-by: Michal Simek Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/