]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: meson: use the real ethernet clock on Meson8 and Meson8b
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Thu, 15 Jun 2017 21:33:52 +0000 (23:33 +0200)
committerKevin Hilman <khilman@baylibre.com>
Fri, 16 Jun 2017 19:07:11 +0000 (12:07 -0700)
Until now clk81 was used as gate clock for the ethernet controller on
Meson8 whereas Meson8b did not configure a gate clock at all. Use
CLKID_ETH for both SoCs, which is the real gate clock for the ethernet
controller.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson8.dtsi
arch/arm/boot/dts/meson8b.dtsi

index dfe83364eceb4ca254d5c056f9ee2a6842ac4467..cada35828931e49a4e37d750bfbe837064488262 100644 (file)
 };
 
 &ethmac {
-       clocks = <&clkc CLKID_CLK81>;
+       clocks = <&clkc CLKID_ETH>;
        clock-names = "stmmaceth";
 };
 
index 173b12a999e63cacdc3f81a8d1f5d0807a4956b3..72e4f425f190d03902713831eb8ba5b1a6373c77 100644 (file)
        };
 };
 
+&ethmac {
+       clocks = <&clkc CLKID_ETH>;
+       clock-names = "stmmaceth";
+};
+
 &hwrng {
        compatible = "amlogic,meson8b-rng", "amlogic,meson-rng";
        clocks = <&clkc CLKID_RNG0>;