Skip to content

Commit

Permalink
arm: dts: k3-am625-sk-lpmdemo: Add CPSW-3G support
Browse files Browse the repository at this point in the history
CPSW-3G driver supports suspend/resume. Add it.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
  • Loading branch information
rogerq committed Nov 9, 2022
1 parent 2239575 commit 56adfc1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions arch/arm64/boot/dts/ti/k3-am625-sk-lpmdemo.dts
Original file line number Diff line number Diff line change
Expand Up @@ -266,3 +266,41 @@
disable-wp;
no-1-8-v;
};

&main_pktdma {
status = "okay";
};

&cpsw3g {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&main_mdio1_pins_default
&main_rgmii1_pins_default
&main_rgmii2_pins_default>;
};

&cpsw_port1 {
phy-mode = "rgmii-rxid";
phy-handle = <&cpsw3g_phy0>;
};

&cpsw_port2 {
phy-mode = "rgmii-rxid";
phy-handle = <&cpsw3g_phy1>;
};

&cpsw3g_mdio {
cpsw3g_phy0: ethernet-phy@0 {
reg = <0>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
ti,min-output-impedance;
};

cpsw3g_phy1: ethernet-phy@1 {
reg = <1>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
ti,min-output-impedance;
};
};

0 comments on commit 56adfc1

Please sign in to comment.