]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: sun8i: a83t: Fix incorrect clk and reset macros for EMAC device
authorChen-Yu Tsai <wens@csie.org>
Tue, 14 Jan 2020 09:42:52 +0000 (17:42 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 10 Feb 2020 07:58:02 +0000 (08:58 +0100)
commitc966e6468f80af14b144219c1dfc9697ddb60dcf
treeccd4a6052876af41b421da22efcbef34d791e9ff
parent9f9285b96014e47599924b03ab0c07fa1549e04b
ARM: dts: sun8i: a83t: Fix incorrect clk and reset macros for EMAC device

When the raw numbers used for clk and reset indices in the EMAC device
node were converted to the new macros, the order of the clk and reset
properties was overlooked, and thus the incorrect macros were used.
This results in the EMAC being non-responsive, as well as an oops due
to incorrect usage of the reset control.

Correct the macro types, and also reorder the clk and reset properties
to match all the other device nodes.

Fixes: 2c9196ed1c68 ("ARM: dts: sunxi: Use macros for references to CCU clocks")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm/boot/dts/sun8i-a83t.dtsi