2017-07-10 18:46:55

by Corentin Labbe

[permalink] [raw]
Subject: [PATCH] ARM64: allwinner: sun50i-a64: Correct emac register size

The datasheet said that emac register size is 0x10000 not 0x100

Signed-off-by: Corentin Labbe <[email protected]>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index e9a41b1896df..be70f5cac447 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -464,7 +464,7 @@
emac: ethernet@1c30000 {
compatible = "allwinner,sun50i-a64-emac";
syscon = <&syscon>;
- reg = <0x01c30000 0x100>;
+ reg = <0x01c30000 0x10000>;
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq";
resets = <&ccu RST_BUS_EMAC>;
--
2.13.0


2017-07-11 19:35:06

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH] ARM64: allwinner: sun50i-a64: Correct emac register size

On Mon, Jul 10, 2017 at 08:44:40PM +0200, Corentin Labbe wrote:
> The datasheet said that emac register size is 0x10000 not 0x100
>
> Signed-off-by: Corentin Labbe <[email protected]>

Applied, thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


Attachments:
(No filename) (317.00 B)
signature.asc (801.00 B)
Download all attachments