mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 11:33:28 +02:00
arm64: dts: allwinner: a523: Rename emac0 to gmac0
The datasheets refer to the first Ethernet controller as GMAC0, not EMAC0. Fix the compatible string, node label and pinmux function name to match what the datasheets use. A change to the device tree binding is sent separately. Fixes:56766ca6c4("arm64: dts: allwinner: a523: Add EMAC0 ethernet MAC") Fixes:acca163f3f("arm64: dts: allwinner: a527: add EMAC0 to Radxa A5E board") Fixes:c6800f1599("arm64: dts: allwinner: t527: add EMAC0 to Avaota-A1 board") Link: https://patch.msgid.link/20250628054438.2864220-3-wens@kernel.org Signed-off-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
parent
19272b37aa
commit
a46b4822be
|
|
@ -131,7 +131,7 @@ rgmii0_pins: rgmii0-pins {
|
|||
"PH5", "PH6", "PH7", "PH9", "PH10",
|
||||
"PH14", "PH15", "PH16", "PH17", "PH18";
|
||||
allwinner,pinmux = <5>;
|
||||
function = "emac0";
|
||||
function = "gmac0";
|
||||
drive-strength = <40>;
|
||||
bias-disable;
|
||||
};
|
||||
|
|
@ -540,8 +540,8 @@ ohci1: usb@4200400 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
emac0: ethernet@4500000 {
|
||||
compatible = "allwinner,sun55i-a523-emac0",
|
||||
gmac0: ethernet@4500000 {
|
||||
compatible = "allwinner,sun55i-a523-gmac0",
|
||||
"allwinner,sun50i-a64-emac";
|
||||
reg = <0x04500000 0x10000>;
|
||||
clocks = <&ccu CLK_BUS_EMAC0>;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ / {
|
|||
compatible = "radxa,cubie-a5e", "allwinner,sun55i-a527";
|
||||
|
||||
aliases {
|
||||
ethernet0 = &emac0;
|
||||
ethernet0 = &gmac0;
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ &ehci1 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&emac0 {
|
||||
&gmac0 {
|
||||
phy-mode = "rgmii-id";
|
||||
phy-handle = <&ext_rgmii_phy>;
|
||||
phy-supply = <®_cldo3>;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ / {
|
|||
compatible = "yuzukihd,avaota-a1", "allwinner,sun55i-t527";
|
||||
|
||||
aliases {
|
||||
ethernet0 = &emac0;
|
||||
ethernet0 = &gmac0;
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ &ehci1 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&emac0 {
|
||||
&gmac0 {
|
||||
phy-mode = "rgmii-id";
|
||||
phy-handle = <&ext_rgmii_phy>;
|
||||
phy-supply = <®_dcdc4>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user