sunxi: H3: add device tree changes for H3 Ethernet
[openwrt/staging/lynxis.git] / target / linux / sunxi / patches-4.9 / 0074-ARM-dts-sunxi-h3-h5-Correct-emac-register-size.patch
1 From 072b6e3692532b6281bf781ded1c7a986ac17471 Mon Sep 17 00:00:00 2001
2 From: Corentin Labbe <clabbe.montjoie@gmail.com>
3 Date: Thu, 6 Jul 2017 10:53:34 +0200
4 Subject: ARM: dts: sunxi: h3/h5: Correct emac register size
5
6 The datasheet said that emac register size is 0x10000 not 0x104
7
8 Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
9 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
10 [wens@csie.org: Fixed commit subject prefix]
11 Signed-off-by: Chen-Yu Tsai <wens@csie.org>
12 ---
13 arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/arch/arm/boot/dts/sun8i-h3.dtsi
17 +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
18 @@ -442,7 +442,7 @@
19 emac: ethernet@1c30000 {
20 compatible = "allwinner,sun8i-h3-emac";
21 syscon = <&syscon>;
22 - reg = <0x01c30000 0x104>;
23 + reg = <0x01c30000 0x10000>;
24 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
25 interrupt-names = "macirq";
26 resets = <&ccu RST_BUS_EMAC>;