mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 22:28:12 +07:00
arm64: dts: uniphier: add syscon-phy-mode property to each ethernet node
Add syscon-phy-mode property specifying a phandle of system controller to each ethernet node. In addition, LD11 SoC has a built-in ethernet PHY. When we set "internal" to phy-mode property, this built-in PHY is available. This patch changes phy-mode property for LD11 to "internal", as default. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
a34a464d6e
commit
b076ff8bdd
@ -553,8 +553,9 @@ eth: ethernet@65000000 {
|
||||
clocks = <&sys_clk 6>;
|
||||
reset-names = "ether";
|
||||
resets = <&sys_rst 6>;
|
||||
phy-mode = "rmii";
|
||||
phy-mode = "internal";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 0>;
|
||||
|
||||
mdio: mdio {
|
||||
#address-cells = <1>;
|
||||
|
@ -610,6 +610,7 @@ eth: ethernet@65000000 {
|
||||
resets = <&sys_rst 6>;
|
||||
phy-mode = "rgmii";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 0>;
|
||||
|
||||
mdio: mdio {
|
||||
#address-cells = <1>;
|
||||
|
@ -341,7 +341,7 @@ emmc: sdhc@5a000000 {
|
||||
cdns,phy-dll-delay-sdclk-hsmmc = <21>;
|
||||
};
|
||||
|
||||
soc-glue@5f800000 {
|
||||
soc_glue: soc-glue@5f800000 {
|
||||
compatible = "socionext,uniphier-pxs3-soc-glue",
|
||||
"simple-mfd", "syscon";
|
||||
reg = <0x5f800000 0x2000>;
|
||||
@ -418,6 +418,7 @@ eth0: ethernet@65000000 {
|
||||
resets = <&sys_rst 6>;
|
||||
phy-mode = "rgmii";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 0>;
|
||||
|
||||
mdio0: mdio {
|
||||
#address-cells = <1>;
|
||||
@ -438,6 +439,7 @@ eth1: ethernet@65200000 {
|
||||
resets = <&sys_rst 7>;
|
||||
phy-mode = "rgmii";
|
||||
local-mac-address = [00 00 00 00 00 00];
|
||||
socionext,syscon-phy-mode = <&soc_glue 1>;
|
||||
|
||||
mdio1: mdio {
|
||||
#address-cells = <1>;
|
||||
|
Loading…
Reference in New Issue
Block a user