Skip to content

Commit bd8cac5

Browse files
wensmripard
authored andcommitted
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: 765866e ("ARM: dts: sunxi: Use macros for references to CCU clocks") Signed-off-by: Chen-Yu Tsai <[email protected]> Tested-by: Corentin Labbe <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
1 parent bb6d3fb commit bd8cac5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/arm/boot/dts/sun8i-a83t.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,10 +1006,10 @@
10061006
reg = <0x01c30000 0x104>;
10071007
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
10081008
interrupt-names = "macirq";
1009-
resets = <&ccu CLK_BUS_EMAC>;
1010-
reset-names = "stmmaceth";
1011-
clocks = <&ccu RST_BUS_EMAC>;
1009+
clocks = <&ccu CLK_BUS_EMAC>;
10121010
clock-names = "stmmaceth";
1011+
resets = <&ccu RST_BUS_EMAC>;
1012+
reset-names = "stmmaceth";
10131013
status = "disabled";
10141014

10151015
mdio: mdio {

0 commit comments

Comments
 (0)