Skip to content

Commit

Permalink
dts: arm: adi-cn0506-*: Update to the corresponding macb_config
Browse files Browse the repository at this point in the history
Update the macb_config to the corresponding
zynq_config (compatible-xlnx,zynq-gem)

Signed-off-by: Alin-Tudor Sferle <[email protected]>
  • Loading branch information
alin724 committed Dec 19, 2023
1 parent 427c94e commit 2287759
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/adi-cn0506-mii.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* PHY after matching MAC link caps with PHY link caps,
* even though, the design won't be able to actually support it
*/
compatible = "cdns,macb";
compatible = "xlnx,zynq-gem";

ethernet_gem0_phy1: ethernet-phy@1 {
reg = <1>;
Expand All @@ -23,7 +23,7 @@
* PHY after matching MAC link caps with PHY link caps,
* even though, the design won't be able to actually support it
*/
compatible = "cdns,macb";
compatible = "xlnx,zynq-gem";

ethernet_gem1_phy2: ethernet-phy@2 {
reg = <2>;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/adi-cn0506-rgmii.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
status = "okay";
phy-mode = "rgmii-id";
phy-handle = <&ethernet_gem0_phy1>;
compatible = "xlnx,zynq-gem";

ethernet_gem0_phy1: ethernet-phy@1 {
reg = <1>;
Expand All @@ -18,6 +19,7 @@
status = "okay";
phy-mode = "rgmii-id";
phy-handle = <&ethernet_gem1_phy2>;
compatible = "xlnx,zynq-gem";

ethernet_gem1_phy2: ethernet-phy@2 {
reg = <2>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/adi-cn0506-rmii.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* PHY after matching MAC link caps with PHY link caps,
* even though, the design won't be able to actually support it
*/
compatible = "cdns,macb";
compatible = "xlnx,zynq-gem";

clocks = <&clkc 30>, <&fmc_mii_clk1>, <&clkc 13>;
clock-names = "pclk", "hclk", "tx_clk";
Expand All @@ -31,7 +31,7 @@
* PHY after matching MAC link caps with PHY link caps,
* even though, the design won't be able to actually support it
*/
compatible = "cdns,macb";
compatible = "xlnx,zynq-gem";

clocks = <&clkc 31>, <&fmc_mii_clk2>, <&clkc 14>;
clock-names = "pclk", "hclk", "tx_clk";
Expand Down

0 comments on commit 2287759

Please sign in to comment.