ARM: dts: enable PCIe PHY support for Cygnus
authorRay Jui <rjui@broadcom.com>
Wed, 18 Nov 2015 18:16:59 +0000 (10:16 -0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 7 Dec 2015 03:45:18 +0000 (19:45 -0800)
Enable PCIe PHY for both PCIe root complexes on Cygnus

Signed-off-by: Ray Jui <rjui@broadcom.com>
Acked-by: Scott Branden <sbranden@broadcom.com>
[florian: Fix missing #address-cells and #size-cells properties]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-cygnus.dtsi

index f8b75a5..815db5d 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
+               pcie_phy: phy@0301d0a0 {
+                       compatible = "brcm,cygnus-pcie-phy";
+                       reg = <0x0301d0a0 0x14>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       pcie0_phy: phy@0 {
+                               reg = <0>;
+                               #phy-cells = <0>;
+                       };
+
+                       pcie1_phy: phy@1 {
+                               reg = <1>;
+                               #phy-cells = <0>;
+                       };
+               };
+
                pinctrl: pinctrl@0x0301d0c8 {
                        compatible = "brcm,cygnus-pinmux";
                        reg = <0x0301d0c8 0x30>,
                        ranges = <0x81000000 0 0          0x28000000 0 0x00010000
                                  0x82000000 0 0x20000000 0x20000000 0 0x04000000>;
 
+                       phys = <&pcie0_phy>;
+                       phy-names = "pcie-phy";
+
                        status = "disabled";
                };
 
                        ranges = <0x81000000 0 0          0x48000000 0 0x00010000
                                  0x82000000 0 0x40000000 0x40000000 0 0x04000000>;
 
+                       phys = <&pcie1_phy>;
+                       phy-names = "pcie-phy";
+
                        status = "disabled";
                };