Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933403AbbFJKR1 (ORCPT ); Wed, 10 Jun 2015 06:17:27 -0400 Received: from mail-bl2on0085.outbound.protection.outlook.com ([65.55.169.85]:47872 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753763AbbFJKRR (ORCPT ); Wed, 10 Jun 2015 06:17:17 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; arndb.de; dkim=none (message not signed) header.d=none; From: Suneel Garapati To: , CC: , , , Rob Herring , Pawel Moll , "Mark Rutland" , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Arnd Bergmann , "Suneel Garapati" Subject: [PATCH] devicetree: xilinx: zynqmp: add sata node Date: Wed, 10 Jun 2015 15:46:56 +0530 Message-ID: <1433931416-6661-1-git-send-email-suneel.garapati@xilinx.com> X-Mailer: git-send-email 2.1.2 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;BY2FFO11FD008;1:XOysAtHaQQqxLlgLBcakf4tt7yEVrRQgJBib4zrudLWCoRX6EKaD/kK9AoCr+MMEn89HyU239qBjqtvPvtNjXGKeQxRpoW+urQyHbM3VGd8+5aoWj84stZVwyq49PtOzEjJmRy8UFfoSmUA9w90yzaRPPK4Iw7+cI4hrgCUmOG+Ns6kyZJaGkNq4UQYbnytHYJ0owg154vngoCZzgsPiWTur3w/PiCwXqhiy4iqlzGgu7hPIHJllQnY1Y4Inm6zsltHVHRmtgkcuPy74tin3JW5QyAZRyUr6XbMVCMMAEu6UyEwH+CD3lVNCviwmNO60 X-Forefront-Antispam-Report: CIP:149.199.60.100;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(438002)(199003)(189002)(19580395003)(19580405001)(575784001)(106466001)(50226001)(92566002)(33646002)(77156002)(87936001)(5001770100001)(50986999)(77096005)(48376002)(6806004)(229853001)(50466002)(62966003)(86362001)(36756003)(5001960100002)(107886002)(47776003)(46102003)(189998001)(63266004)(5003600100001)(107986001)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2FFO11HUB017;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11HUB017;2:DKzEKrl7uD7cgn+JRZZdWTrN22en3wAym4jw/R+WYxxgzihxhE/Bi24FU3rECaHD;2:BSp7lpANFcdtxAFPjEkTnKVyUZbYWlRLmBz2aZRTxqbBW02nZF6kQSaze4xLaUpSR/XTlSI/FBNBF+VohdD1PGltuzb6eCE6tirPdAt20vb1InW7SZS/1CMMMHOIDYvUC1oMqDSkTCu3ERg8YNI1B7rTcwXmcRgx9vOtWqv1ZHOLnkqa86eYEtv7cEQzBVQrq52O+V4KwHMMqmawSXM1a4YU/eGVvwoNc1gz8H9gi8qe3Xijhtz4qWqb7p+g2eqL;6:zDpP97pTVgma5F0UuJ3eKYw7K1ZCDGqcNZI223C3dh55oy8UGhlwzb7LJ8czvhBIDqGbxNTFd3+e385axmZtvLiy2hVa2NmptepwVoKzCyg7QCUL76CvmsEj2J6QoEyCxSrgKcMjM/nrnPfjUyFymP9JPKlPvSbhmQP9ZFBtjnv2Ke2htTLbXuQ76Sl62CCT6noovWGJEj7MHXv65KjO5nHBD+YQrokE6ZyiJ3FiSicWQdUIHCY+8IJMQHKSGukHxnMMtR3WCs0mLqrGI4JR2Zrk14vWoP2v8wWLizAxoLd73pjY3lUHTKKL/0dPyCRGDs9t4kgYknBNWBCsJR3jEXezAlyI09I5tFi+St8qRGmSlXgK/UpAsqdT2feYGxCrxcfxTEsqLNlrVJOz094uKyDuZXN4IfpZBK5ysTmJR68DwOYNSm8U5U6rr5rTYfO6NuK452daEO7rYrsSeRuYoG3hpPJEekp28ipkwSi4SgwMxEfUJNcE8QiDokjs/SLN X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2FFO11HUB017; 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:BY2FFO11HUB017;BCL:0;PCL:0;RULEID:;SRVR:BY2FFO11HUB017; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11HUB017;3:d6od8YEd2lkJgRtANfJADU04iQ6K05gzyRgQ3o5X1ijyHI/Lttum/2SQ31cYXB/QAqL44RcnhAYYSsrAb51wKDtOYZLcimo34LNu4nAjWsKYsxMICXFdc1BpD0/KVSmAQttFCfY/f2iANDbEkMqUEdTtK27WWFMQkJ0/iPoByxN7SJCxEXfr4gJYuEDq+62J5Y2wYbasa4Z/4pgeu9ZsDFPyhDLQf1odRG2mlUb0dUmzci8J877MAFRf4YdZR6Nwm+g4i397uR/HwUSNeb0oYfH6sr8nL5Q2grCocnUGUnJcJ7QXBZrBhyBLJjIpLDwo X-Forefront-PRVS: 06036BD506 X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11HUB017;9:2UpxgsmVa8MNAWuAMt7l0FXM3YKveBes3/RaGGObPgNEZchBzKqGJVCG61vm34B/X3RwfEq/LR2Dctvbun4MbOLBJNrWr7hweg27pxbzYrmRnrHncgbG20b3a1sVf9+lLd8Xr1Qmj6Jl3cn2cLCU2SH7zI514u4vdpPqpRVS898i91stDnZxI9EiDw6PGL39tsvjxaievMnL5Aexky08RzUpPG5dqrSBOJz0sgAJ92WByCqvvffqiy/2L2B2Qq+bKJ1KcZdnBlQz5v4A4E7akYTJYvyLlrpgC5jRv5YxA1nN9jxvwsE7j/9OWTCfBRI/oGixMGM2ALOG4SNDr7f49scXtS/faOzeFdoPbLX5pHsJPTHZz50ZbK3aMiu+fHhybe9gggKfMqsM2oRUwKNExI3MajbZSDemF4wU9vjSxwckDj0di9A3QVGuhD/qUPLOXHBdRoqyVdhHctVtLmjtvitpGxP8UTbNSlpzF9JgMnu3WNjJLW5nOAyRgHsFsv2K/Sta+NIStdw4SUtmqCsUcQfvWJpaKS9ZwvfYxYpFi+O7vnQXywjH+mt89Y8K0ewJeQph7gXeYE/KLxLJZfegvDaOld52xBEPVI79w68f1JBykHQAHx+u49qatsh6di39XoFptNBDCA5Tpj3XJ0AUaNTgZmti7KIP9LzSchRJ2dMMxpdXSttmR8HpUTQ+LFyWhE/2LpZBtTKCoZgpJFH0mMLbwpsv7ZneaZmbN5TqynMaCm5KVtKxmXq6dwaIhvF9DgCZT9OZYH7YBZZi7aaNqNmldORA/wPCFfNE5CRSwglrVUT3EgGtepHnS1MZ4J5rIW3Nr3VnJbORq9PvNdm7ByTGZFwBownjOpIkfiy0uSqw/S9R3xjbWSjwARq8zdM6 X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11HUB017;3:o10kcOjXKNri9vJqTU9g4lWPiLHKLNWB6B2IeZVejuMynkjQTQ48PVWTamMQFHmVBoMPxGu7NYXOG868NYvQSR3yWWFiNO2jpMGIjIu8V6CXgakwcONjq1KhWlriOIF2oZe7fvgRqBz03sju6SSD4w==;10:dpy+YiJc4OfgMpeabRZFrfqW7Y2r0MhkoppXX74aMSbV0D/rsBRrj/vppnq9qLgWiNEsD73Kgb3DXyjqdyvY+x6Sfmjy9/GAUPp4I5gkeng= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2015 10:17:13.9631 (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: BY2FFO11HUB017 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1754 Lines: 62 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 -- 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/