Skip to content

Commit

Permalink
MIPS: Ingenic: Add MAC syscon nodes for Ingenic SoCs.
Browse files Browse the repository at this point in the history
Add MAC syscon nodes for X1000 SoC and X1830 SoC from Ingenic.

Signed-off-by: 周琰杰 (Zhou Yanjie) <[email protected]>
Acked-by: Paul Cercueil <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
  • Loading branch information
XBurst authored and tsbogend committed Jun 30, 2021
1 parent 2bc434b commit ab3040e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/ingenic/x1000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@

status = "disabled";
};

mac_phy_ctrl: mac-phy-ctrl@e8 {
compatible = "syscon";
reg = <0xe8 0x4>;
};
};

ost: timer@12000000 {
Expand Down Expand Up @@ -347,6 +352,8 @@
clocks = <&cgu X1000_CLK_MAC>;
clock-names = "stmmaceth";

mode-reg = <&mac_phy_ctrl>;

status = "disabled";

mdio: mdio {
Expand Down
7 changes: 7 additions & 0 deletions arch/mips/boot/dts/ingenic/x1830.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@

status = "disabled";
};

mac_phy_ctrl: mac-phy-ctrl@e8 {
compatible = "syscon";
reg = <0xe8 0x4>;
};
};

ost: timer@12000000 {
Expand Down Expand Up @@ -336,6 +341,8 @@
clocks = <&cgu X1830_CLK_MAC>;
clock-names = "stmmaceth";

mode-reg = <&mac_phy_ctrl>;

status = "disabled";

mdio: mdio {
Expand Down

0 comments on commit ab3040e

Please sign in to comment.