From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754968AbbJUM6H (ORCPT ); Wed, 21 Oct 2015 08:58:07 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:33485 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754948AbbJUM6E (ORCPT ); Wed, 21 Oct 2015 08:58:04 -0400 From: WingMan Kwok To: , , , , , , , , , , , , , , CC: WingMan Kwok Subject: [PATCH] ARM: keystone: dts: add PCI serdes driver bindings Date: Wed, 21 Oct 2015 08:57:22 -0400 Message-ID: <1445432242-16129-1-git-send-email-w-kwok2@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the serdes phy driver dts bindings for the keystone PCIe host driver. 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>; -- 1.7.9.5