From patchwork Mon Oct 19 18:58:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: WingMan Kwok X-Patchwork-Id: 7439211 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AF4219F302 for ; Mon, 19 Oct 2015 18:59:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C0BD02078F for ; Mon, 19 Oct 2015 18:59:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DED5320765 for ; Mon, 19 Oct 2015 18:59:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754541AbbJSS6q (ORCPT ); Mon, 19 Oct 2015 14:58:46 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:44798 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754539AbbJSS6o (ORCPT ); Mon, 19 Oct 2015 14:58:44 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id t9JIw81g003073; Mon, 19 Oct 2015 13:58:08 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9JIw8gP007102; Mon, 19 Oct 2015 13:58:08 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.224.2; Mon, 19 Oct 2015 13:58:08 -0500 Received: from udb0216549.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9JIw7L3012209; Mon, 19 Oct 2015 13:58:07 -0500 Received: from a0216549local by udb0216549.am.dhcp.ti.com with local (Exim 4.76) (envelope-from ) id 1ZoFdH-0003rZ-8z; Mon, 19 Oct 2015 14:58:07 -0400 From: WingMan Kwok To: , , , , , , , , , , , , , , CC: WingMan Kwok Subject: [PATCH v1] ARM: keystone: dts: add PCI serdes driver bindings Date: Mon, 19 Oct 2015 14:58:00 -0400 Message-ID: <1445281080-14818-1-git-send-email-w-kwok2@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the serdes phy driver dts bindings for the keystone PCIe host driver. v1: - addresses the following review comments 1. https://lkml.org/lkml/2015/10/19/264 2. https://lkml.org/lkml/2015/10/15/895 Signed-off-by: WingMan Kwok --- arch/arm/boot/dts/k2e.dtsi | 10 ++++++++++ arch/arm/boot/dts/keystone.dtsi | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi index 675fb8e..5f7cc0a 100644 --- a/arch/arm/boot/dts/k2e.dtsi +++ b/arch/arm/boot/dts/k2e.dtsi @@ -86,6 +86,15 @@ gpio,syscon-dev = <&devctrl 0x240>; }; + pcie1_phy: phy@2326000 { + #phy-cells = <0>; + compatible = "ti,keystone-serdes-pcie"; + reg = <0x02326000 0x4000>; + link-rate-kbps = <5000000>; + num-lanes = <2>; + status = "disabled"; + }; + pcie1: pcie@21020000 { compatible = "ti,keystone-pcie","snps,dw-pcie"; clocks = <&clkpcie1>; @@ -99,6 +108,7 @@ status = "disabled"; device_type = "pci"; num-lanes = <2>; + phys = <&pcie1_phy>; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi index 72816d6..5c7c58a 100644 --- a/arch/arm/boot/dts/keystone.dtsi +++ b/arch/arm/boot/dts/keystone.dtsi @@ -275,6 +275,15 @@ ti,syscon-dev = <&devctrl 0x2a0>; }; + pcie0_phy: phy@2320000 { + #phy-cells = <0>; + compatible = "ti,keystone-serdes-pcie"; + reg = <0x02320000 0x4000>; + link-rate-kbps = <5000000>; + num-lanes = <2>; + status = "disabled"; + }; + pcie0: pcie@21800000 { compatible = "ti,keystone-pcie", "snps,dw-pcie"; clocks = <&clkpcie>; @@ -288,6 +297,7 @@ status = "disabled"; device_type = "pci"; num-lanes = <2>; + phys = <&pcie0_phy>; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>;