MIPS: Ingenic: Add MAC syscon nodes for Ingenic SoCs.

Add MAC syscon nodes for X1000 SoC and X1830 SoC from Ingenic.

Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
周琰杰 (Zhou Yanjie) 2021-06-26 14:18:39 +08:00 committed by Thomas Bogendoerfer
parent 2bc434b12d
commit ab3040e137
2 changed files with 14 additions and 0 deletions

View File

@ -80,6 +80,11 @@
status = "disabled";
};
mac_phy_ctrl: mac-phy-ctrl@e8 {
compatible = "syscon";
reg = <0xe8 0x4>;
};
};
ost: timer@12000000 {
@ -347,6 +352,8 @@
clocks = <&cgu X1000_CLK_MAC>;
clock-names = "stmmaceth";
mode-reg = <&mac_phy_ctrl>;
status = "disabled";
mdio: mdio {

View File

@ -73,6 +73,11 @@
status = "disabled";
};
mac_phy_ctrl: mac-phy-ctrl@e8 {
compatible = "syscon";
reg = <0xe8 0x4>;
};
};
ost: timer@12000000 {
@ -336,6 +341,8 @@
clocks = <&cgu X1830_CLK_MAC>;
clock-names = "stmmaceth";
mode-reg = <&mac_phy_ctrl>;
status = "disabled";
mdio: mdio {