ARM: dts: hix5hd2: don't change the existing compatible string
authorDongpo Li <lidongpo@hisilicon.com>
Tue, 20 Dec 2016 02:09:29 +0000 (10:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2016 19:12:29 +0000 (14:12 -0500)
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: 0855950ba580 ("ARM: dts: hix5hd2: add gmac generic compatible and clock names")
Signed-off-by: Dongpo Li <lidongpo@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/hisi-x5hd2.dtsi

index c02e092fad8b17bf8c8e80c29b218db7ba86ea46..6c712a97e1fef042b00c8fe55d406e78285b973e 100644 (file)
                };
 
                gmac0: ethernet@1840000 {
-                       compatible = "hisilicon,hix5hd2-gemac", "hisilicon,hisi-gemac-v1";
+                       compatible = "hisilicon,hix5hd2-gmac", "hisilicon,hisi-gmac-v1";
                        reg = <0x1840000 0x1000>,<0x184300c 0x4>;
                        interrupts = <0 71 4>;
                        clocks = <&clock HIX5HD2_MAC0_CLK>;
                };
 
                gmac1: ethernet@1841000 {
-                       compatible = "hisilicon,hix5hd2-gemac", "hisilicon,hisi-gemac-v1";
+                       compatible = "hisilicon,hix5hd2-gmac", "hisilicon,hisi-gmac-v1";
                        reg = <0x1841000 0x1000>,<0x1843010 0x4>;
                        interrupts = <0 72 4>;
                        clocks = <&clock HIX5HD2_MAC1_CLK>;