Skip to content

Commit

Permalink
powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree
Browse files Browse the repository at this point in the history
This patch adds pcsphy node to FManV3 device tree.

Signed-off-by: Igal Liberman <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
  • Loading branch information
Igal Liberman authored and Scott Wood committed Mar 12, 2016
1 parent 84e0f1c commit 84d3e24
Show file tree
Hide file tree
Showing 18 changed files with 90 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,17 @@ fman@400000 {
reg = <0xe0000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>;
ptp-timer = <&ptp_timer0>;
pcsphy-handle = <&pcsphy0>;
};

mdio@e1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe1000 0x1000>;

pcsphy0: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,17 @@ fman@400000 {
compatible = "fsl,fman-memac";
reg = <0xf0000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x10 &fman0_tx_0x30>;
pcsphy-handle = <&pcsphy6>;
};

mdio@f1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xf1000 0x1000>;

pcsphy6: ethernet-phy@0 {
reg = <0x0>;
};
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,17 @@ fman@400000 {
reg = <0xe2000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>;
ptp-timer = <&ptp_timer0>;
pcsphy-handle = <&pcsphy1>;
};

mdio@e3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe3000 0x1000>;

pcsphy1: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,17 @@ fman@400000 {
compatible = "fsl,fman-memac";
reg = <0xf2000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x11 &fman0_tx_0x31>;
pcsphy-handle = <&pcsphy7>;
};

mdio@f3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xf3000 0x1000>;

pcsphy7: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@400000 {
reg = <0xe0000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x08 &fman0_tx_0x28>;
ptp-timer = <&ptp_timer0>;
pcsphy-handle = <&pcsphy0>;
};

mdio@e1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe1000 0x1000>;

pcsphy0: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@400000 {
reg = <0xe2000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x09 &fman0_tx_0x29>;
ptp-timer = <&ptp_timer0>;
pcsphy-handle = <&pcsphy1>;
};

mdio@e3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe3000 0x1000>;

pcsphy1: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@400000 {
reg = <0xe4000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x0a &fman0_tx_0x2a>;
ptp-timer = <&ptp_timer0>;
pcsphy-handle = <&pcsphy2>;
};

mdio@e5000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe5000 0x1000>;

pcsphy2: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@400000 {
reg = <0xe6000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x0b &fman0_tx_0x2b>;
ptp-timer = <&ptp_timer0>;
pcsphy-handle = <&pcsphy3>;
};

mdio@e7000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe7000 0x1000>;

pcsphy3: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@400000 {
reg = <0xe8000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x0c &fman0_tx_0x2c>;
ptp-timer = <&ptp_timer0>;
pcsphy-handle = <&pcsphy4>;
};

mdio@e9000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe9000 0x1000>;

pcsphy4: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-0-1g-5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@400000 {
reg = <0xea000 0x1000>;
fsl,fman-ports = <&fman0_rx_0x0d &fman0_tx_0x2d>;
ptp-timer = <&ptp_timer0>;
pcsphy-handle = <&pcsphy5>;
};

mdio@eb000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xeb000 0x1000>;

pcsphy5: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-1-10g-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,17 @@ fman@500000 {
compatible = "fsl,fman-memac";
reg = <0xf0000 0x1000>;
fsl,fman-ports = <&fman1_rx_0x10 &fman1_tx_0x30>;
pcsphy-handle = <&pcsphy14>;
};

mdio@f1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xf1000 0x1000>;

pcsphy14: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-1-10g-1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,17 @@ fman@500000 {
compatible = "fsl,fman-memac";
reg = <0xf2000 0x1000>;
fsl,fman-ports = <&fman1_rx_0x11 &fman1_tx_0x31>;
pcsphy-handle = <&pcsphy15>;
};

mdio@f3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xf3000 0x1000>;

pcsphy15: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-0.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@500000 {
reg = <0xe0000 0x1000>;
fsl,fman-ports = <&fman1_rx_0x08 &fman1_tx_0x28>;
ptp-timer = <&ptp_timer1>;
pcsphy-handle = <&pcsphy8>;
};

mdio@e1000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe1000 0x1000>;

pcsphy8: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@500000 {
reg = <0xe2000 0x1000>;
fsl,fman-ports = <&fman1_rx_0x09 &fman1_tx_0x29>;
ptp-timer = <&ptp_timer1>;
pcsphy-handle = <&pcsphy9>;
};

mdio@e3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe3000 0x1000>;

pcsphy9: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@500000 {
reg = <0xe4000 0x1000>;
fsl,fman-ports = <&fman1_rx_0x0a &fman1_tx_0x2a>;
ptp-timer = <&ptp_timer1>;
pcsphy-handle = <&pcsphy10>;
};

mdio@e5000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe5000 0x1000>;

pcsphy10: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@500000 {
reg = <0xe6000 0x1000>;
fsl,fman-ports = <&fman1_rx_0x0b &fman1_tx_0x2b>;
ptp-timer = <&ptp_timer1>;
pcsphy-handle = <&pcsphy11>;
};

mdio@e7000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe7000 0x1000>;

pcsphy11: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@500000 {
reg = <0xe8000 0x1000>;
fsl,fman-ports = <&fman1_rx_0x0c &fman1_tx_0x2c>;
ptp-timer = <&ptp_timer1>;
pcsphy-handle = <&pcsphy12>;
};

mdio@e9000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xe9000 0x1000>;

pcsphy12: ethernet-phy@0 {
reg = <0x0>;
};
};
};
5 changes: 5 additions & 0 deletions arch/powerpc/boot/dts/fsl/qoriq-fman3-1-1g-5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,17 @@ fman@500000 {
reg = <0xea000 0x1000>;
fsl,fman-ports = <&fman1_rx_0x0d &fman1_tx_0x2d>;
ptp-timer = <&ptp_timer1>;
pcsphy-handle = <&pcsphy13>;
};

mdio@eb000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
reg = <0xeb000 0x1000>;

pcsphy13: ethernet-phy@0 {
reg = <0x0>;
};
};
};

0 comments on commit 84d3e24

Please sign in to comment.