Unverified Commit bd8cac5f authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard
Browse files

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: 765866ed ("ARM: dts: sunxi: Use macros for references to CCU clocks")
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Tested-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent bb6d3fb3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1006,10 +1006,10 @@
			reg = <0x01c30000 0x104>;
			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "macirq";
			resets = <&ccu CLK_BUS_EMAC>;
			reset-names = "stmmaceth";
			clocks = <&ccu RST_BUS_EMAC>;
			clocks = <&ccu CLK_BUS_EMAC>;
			clock-names = "stmmaceth";
			resets = <&ccu RST_BUS_EMAC>;
			reset-names = "stmmaceth";
			status = "disabled";

			mdio: mdio {