powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree
authorIgal Liberman <igal.liberman@freescale.com>
Thu, 24 Dec 2015 02:56:59 +0000 (04:56 +0200)
committerScott Wood <oss@buserror.net>
Sat, 12 Mar 2016 02:01:52 +0000 (20:01 -0600)
This patch adds pcsphy node to FManV3 device tree.

Signed-off-by: Igal Liberman <igal.liberman@freescale.com>
Signed-off-by: Scott Wood <oss@buserror.net>
18 files changed:
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-0-best-effort.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-1-best-effort.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-1.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-1.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-2.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-3.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-4.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-5.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-10g-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-10g-1.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-0.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-1.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-2.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-3.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-4.dtsi
arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-5.dtsi

index 2e441fa..e1a961f 100644 (file)
@@ -55,6 +55,7 @@ fman@400000 {
                reg = <0xe0000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>;
                ptp-timer = <&ptp_timer0>;
+               pcsphy-handle = <&pcsphy0>;
        };
 
        mdio@e1000 {
@@ -62,5 +63,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe1000 0x1000>;
+
+               pcsphy0: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 0b8f87f..c288f3c 100644 (file)
@@ -52,6 +52,7 @@ fman@400000 {
                compatible = "fsl,fman-memac";
                reg = <0xf0000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x10 &fman0_tx_0x30>;
+               pcsphy-handle = <&pcsphy6>;
        };
 
        mdio@f1000 {
@@ -59,5 +60,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xf1000 0x1000>;
+
+               pcsphy6: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index ba6f227..94f3e71 100644 (file)
@@ -55,6 +55,7 @@ fman@400000 {
                reg = <0xe2000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>;
                ptp-timer = <&ptp_timer0>;
+               pcsphy-handle = <&pcsphy1>;
        };
 
        mdio@e3000 {
@@ -62,5 +63,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe3000 0x1000>;
+
+               pcsphy1: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 8860038..94a7698 100644 (file)
@@ -52,6 +52,7 @@ fman@400000 {
                compatible = "fsl,fman-memac";
                reg = <0xf2000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x11 &fman0_tx_0x31>;
+               pcsphy-handle = <&pcsphy7>;
        };
 
        mdio@f3000 {
@@ -59,5 +60,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xf3000 0x1000>;
+
+               pcsphy7: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index ace9c13..b5ff5f7 100644 (file)
@@ -51,6 +51,7 @@ fman@400000 {
                reg = <0xe0000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>;
                ptp-timer = <&ptp_timer0>;
+               pcsphy-handle = <&pcsphy0>;
        };
 
        mdio@e1000 {
@@ -58,5 +59,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe1000 0x1000>;
+
+               pcsphy0: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index a4fc286..ee44182 100644 (file)
@@ -51,6 +51,7 @@ fman@400000 {
                reg = <0xe2000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>;
                ptp-timer = <&ptp_timer0>;
+               pcsphy-handle = <&pcsphy1>;
        };
 
        mdio@e3000 {
@@ -58,5 +59,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe3000 0x1000>;
+
+               pcsphy1: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 78596fa..f05f0d7 100644 (file)
@@ -51,6 +51,7 @@ fman@400000 {
                reg = <0xe4000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x0a &fman0_tx_0x2a>;
                ptp-timer = <&ptp_timer0>;
+               pcsphy-handle = <&pcsphy2>;
        };
 
        mdio@e5000 {
@@ -58,5 +59,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe5000 0x1000>;
+
+               pcsphy2: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index af93abd..a9114ec 100644 (file)
@@ -51,6 +51,7 @@ fman@400000 {
                reg = <0xe6000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x0b &fman0_tx_0x2b>;
                ptp-timer = <&ptp_timer0>;
+               pcsphy-handle = <&pcsphy3>;
        };
 
        mdio@e7000 {
@@ -58,5 +59,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe7000 0x1000>;
+
+               pcsphy3: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 97cffd7..44dd00a 100644 (file)
@@ -51,6 +51,7 @@ fman@400000 {
                reg = <0xe8000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x0c &fman0_tx_0x2c>;
                ptp-timer = <&ptp_timer0>;
+               pcsphy-handle = <&pcsphy4>;
        };
 
        mdio@e9000 {
@@ -58,5 +59,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe9000 0x1000>;
+
+               pcsphy4: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 232c5c2..5b1b84b 100644 (file)
@@ -51,6 +51,7 @@ fman@400000 {
                reg = <0xea000 0x1000>;
                fsl,fman-ports = <&fman0_rx_0x0d &fman0_tx_0x2d>;
                ptp-timer = <&ptp_timer0>;
+               pcsphy-handle = <&pcsphy5>;
        };
 
        mdio@eb000 {
@@ -58,5 +59,9 @@ fman@400000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xeb000 0x1000>;
+
+               pcsphy5: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 89d64ee..0e1daae 100644 (file)
@@ -52,6 +52,7 @@ fman@500000 {
                compatible = "fsl,fman-memac";
                reg = <0xf0000 0x1000>;
                fsl,fman-ports = <&fman1_rx_0x10 &fman1_tx_0x30>;
+               pcsphy-handle = <&pcsphy14>;
        };
 
        mdio@f1000 {
@@ -59,5 +60,9 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xf1000 0x1000>;
+
+               pcsphy14: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 7fa9260..68c5ef7 100644 (file)
@@ -52,6 +52,7 @@ fman@500000 {
                compatible = "fsl,fman-memac";
                reg = <0xf2000 0x1000>;
                fsl,fman-ports = <&fman1_rx_0x11 &fman1_tx_0x31>;
+               pcsphy-handle = <&pcsphy15>;
        };
 
        mdio@f3000 {
@@ -59,5 +60,9 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xf3000 0x1000>;
+
+               pcsphy15: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 3d23666..605363c 100644 (file)
@@ -51,6 +51,7 @@ fman@500000 {
                reg = <0xe0000 0x1000>;
                fsl,fman-ports = <&fman1_rx_0x08 &fman1_tx_0x28>;
                ptp-timer = <&ptp_timer1>;
+               pcsphy-handle = <&pcsphy8>;
        };
 
        mdio@e1000 {
@@ -58,5 +59,9 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe1000 0x1000>;
+
+               pcsphy8: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 97dc2ee..1955dfa 100644 (file)
@@ -51,6 +51,7 @@ fman@500000 {
                reg = <0xe2000 0x1000>;
                fsl,fman-ports = <&fman1_rx_0x09 &fman1_tx_0x29>;
                ptp-timer = <&ptp_timer1>;
+               pcsphy-handle = <&pcsphy9>;
        };
 
        mdio@e3000 {
@@ -58,5 +59,9 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe3000 0x1000>;
+
+               pcsphy9: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index f084dd2..2c14764 100644 (file)
@@ -51,6 +51,7 @@ fman@500000 {
                reg = <0xe4000 0x1000>;
                fsl,fman-ports = <&fman1_rx_0x0a &fman1_tx_0x2a>;
                ptp-timer = <&ptp_timer1>;
+               pcsphy-handle = <&pcsphy10>;
        };
 
        mdio@e5000 {
@@ -58,5 +59,9 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe5000 0x1000>;
+
+               pcsphy10: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index bb627b3..b8b541f 100644 (file)
@@ -51,6 +51,7 @@ fman@500000 {
                reg = <0xe6000 0x1000>;
                fsl,fman-ports = <&fman1_rx_0x0b &fman1_tx_0x2b>;
                ptp-timer = <&ptp_timer1>;
+               pcsphy-handle = <&pcsphy11>;
        };
 
        mdio@e7000 {
@@ -58,5 +59,9 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe7000 0x1000>;
+
+               pcsphy11: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index 821ed12..4b2cfdd 100644 (file)
@@ -51,6 +51,7 @@ fman@500000 {
                reg = <0xe8000 0x1000>;
                fsl,fman-ports = <&fman1_rx_0x0c &fman1_tx_0x2c>;
                ptp-timer = <&ptp_timer1>;
+               pcsphy-handle = <&pcsphy12>;
        };
 
        mdio@e9000 {
@@ -58,5 +59,9 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xe9000 0x1000>;
+
+               pcsphy12: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };
index e245f1a..0a52ddf 100644 (file)
@@ -51,6 +51,7 @@ fman@500000 {
                reg = <0xea000 0x1000>;
                fsl,fman-ports = <&fman1_rx_0x0d &fman1_tx_0x2d>;
                ptp-timer = <&ptp_timer1>;
+               pcsphy-handle = <&pcsphy13>;
        };
 
        mdio@eb000 {
@@ -58,5 +59,9 @@ fman@500000 {
                #size-cells = <0>;
                compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
                reg = <0xeb000 0x1000>;
+
+               pcsphy13: ethernet-phy@0 {
+                       reg = <0x0>;
+               };
        };
 };