Commit 48fed73a authored by Dongpo Li's avatar Dongpo Li Committed by David S. Miller

ARM: dts: hix5hd2: don't change the existing compatible string

The SoC hix5hd2 compatible string has the suffix "-gmac" and
we should not change it.
We should only add the generic compatible string "hisi-gmac-v1".

Fixes: 0855950b ("ARM: dts: hix5hd2: add gmac generic compatible and clock names")
Signed-off-by: default avatarDongpo Li <lidongpo@hisilicon.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f7ca8e3b
...@@ -438,7 +438,7 @@ sd: mmc@1820000 { ...@@ -438,7 +438,7 @@ sd: mmc@1820000 {
}; };
gmac0: ethernet@1840000 { gmac0: ethernet@1840000 {
compatible = "hisilicon,hix5hd2-gemac", "hisilicon,hisi-gemac-v1"; compatible = "hisilicon,hix5hd2-gmac", "hisilicon,hisi-gmac-v1";
reg = <0x1840000 0x1000>,<0x184300c 0x4>; reg = <0x1840000 0x1000>,<0x184300c 0x4>;
interrupts = <0 71 4>; interrupts = <0 71 4>;
clocks = <&clock HIX5HD2_MAC0_CLK>; clocks = <&clock HIX5HD2_MAC0_CLK>;
...@@ -447,7 +447,7 @@ gmac0: ethernet@1840000 { ...@@ -447,7 +447,7 @@ gmac0: ethernet@1840000 {
}; };
gmac1: ethernet@1841000 { gmac1: ethernet@1841000 {
compatible = "hisilicon,hix5hd2-gemac", "hisilicon,hisi-gemac-v1"; compatible = "hisilicon,hix5hd2-gmac", "hisilicon,hisi-gmac-v1";
reg = <0x1841000 0x1000>,<0x1843010 0x4>; reg = <0x1841000 0x1000>,<0x1843010 0x4>;
interrupts = <0 72 4>; interrupts = <0 72 4>;
clocks = <&clock HIX5HD2_MAC1_CLK>; clocks = <&clock HIX5HD2_MAC1_CLK>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment