diff mbox

ARM: keystone: dts: add PCI serdes driver bindings

Message ID 1445432242-16129-1-git-send-email-w-kwok2@ti.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

WingMan Kwok Oct. 21, 2015, 12:57 p.m. UTC
This patch adds the serdes phy driver dts bindings
for the keystone PCIe host driver.

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
---
 arch/arm/boot/dts/k2e.dtsi      |   10 ++++++++++
 arch/arm/boot/dts/keystone.dtsi |   10 ++++++++++
 2 files changed, 20 insertions(+)

Comments

WingMan Kwok Oct. 21, 2015, 3:14 p.m. UTC | #1
Hi,

Please ignore the subject patch which is exactly
the same as the one

[PATCH v1] ARM: keystone: dts: add PCI serdes driver bindings

submitted earlier.

Thanks,
WingMan

> -----Original Message-----

> From: Kwok, WingMan

> Sent: Wednesday, October 21, 2015 8:57 AM

> To: robh+dt@kernel.org; pawel.moll@arm.com; mark.rutland@arm.com;

> ijc+devicetree@hellion.org.uk; galak@codeaurora.org; KISHON VIJAY ABRAHAM;

> Quadros, Roger; Karicheri, Muralidharan; bhelgaas@google.com;

> ssantosh@kernel.org; linux@arm.linux.org.uk; devicetree@vger.kernel.org;

> linux-kernel@vger.kernel.org; linux-pci@vger.kernel.org; linux-arm-

> kernel@lists.infradead.org

> Cc: Kwok, WingMan

> Subject: [PATCH] ARM: keystone: dts: add PCI serdes driver bindings

> 

> This patch adds the serdes phy driver dts bindings

> for the keystone PCIe host driver.

> 

> Signed-off-by: WingMan Kwok <w-kwok2@ti.com>

> ---

>  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
Santosh Shilimkar Oct. 21, 2015, 4:44 p.m. UTC | #2
On 10/21/15 5:57 AM, WingMan Kwok wrote:
> This patch adds the serdes phy driver dts bindings
> for the keystone PCIe host driver.
>
> Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
> ---
Keep me posted when driver gets merged. I will then
pick this up.

Regards,
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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>;