[PATCH v2 5/5] ARM: dts: enable PCIe PHY support for Cygnus

Ray Jui
2015-05-22T01:07:43Z

Added MDIO and PCIe PHY device nodes for Cygnus. The PCIe PHY is
referenced by the iProc PCIe device

Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Arun Parameswaran <aparames@broadcom.com>
Reviewed-by: JD (Jiandong) Zheng <jdzheng@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
---
arch/arm/boot/dts/bcm-cygnus.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi
index 7b52c33..57667a8 100644
--- a/arch/arm/boot/dts/bcm-cygnus.dtsi
+++ b/arch/arm/boot/dts/bcm-cygnus.dtsi
@@ -106,6 +106,20 @@
};
};

+ mdio_bus: mdio_bus@18002000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "brcm,iproc-mdio";
+ reg = <0x18002000 0x8>;
+ ranges;
+
+ pcie_phy: pcie_phy@0301d0a0 {
+ compatible = "brcm,cygnus-pcie-phy";
+ reg = <0x0301d0a0 0x14>;
+ #phy-cells = <2>;
+ };
+ };
+
i2c0: i2c@18008000 {
compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
reg = <0x18008000 0x100>;
@@ -144,6 +158,9 @@
ranges = <0x81000000 0 0 0x28000000 0 0x00010000
0x82000000 0 0x20000000 0x20000000 0 0x04000000>;

+ phys = <&pcie_phy 0 5>;
+ phy-names = "pcie-phy";
+
status = "disabled";
};

@@ -165,6 +182,9 @@
ranges = <0x81000000 0 0 0x48000000 0 0x00010000
0x82000000 0 0x40000000 0x40000000 0 0x04000000>;

+ phys = <&pcie_phy 1 6>;
+ phy-names = "pcie-phy";
+
status = "disabled";
};

--
1.7.9.5