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

Signed-off-by: Ray Jui <[email protected]>
Reviewed-by: Arun Parameswaran <[email protected]>
Reviewed-by: JD (Jiandong) Zheng <[email protected]>
Reviewed-by: Scott Branden <[email protected]>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to