diff options
author | Chen-Yu Tsai | 2016-09-02 16:29:05 +0800 |
---|---|---|
committer | Hans de Goede | 2016-09-03 10:33:54 +0200 |
commit | 68871efe1daede5771b0b97de889e81eb969faa8 (patch) | |
tree | df207b117c4e20ed7f2080a21128ad87c9cb9a3f /arch | |
parent | ca5c37026be4ce984537569d7159f488a836afc8 (diff) |
sunxi: Fix H3 EMAC syscon register address
The sun8i-emac driver follows an old version of the proposed DT
bindings, where the EMAC clock and EPHY control register range is
listed directly, rather than through a syscon phandle.
Add back the syscon register range to avoid an invalid data access.
We should fix the driver once the Linux kernel bindings have been
finalized.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/sun8i-h3.dtsi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/dts/sun8i-h3.dtsi b/arch/arm/dts/sun8i-h3.dtsi index 6babaf37177..afa60793a23 100644 --- a/arch/arm/dts/sun8i-h3.dtsi +++ b/arch/arm/dts/sun8i-h3.dtsi @@ -466,9 +466,8 @@ emac: ethernet@1c30000 { compatible = "allwinner,sun8i-h3-emac"; - syscon = <&syscon>; - reg = <0x01c30000 0x104>; - reg-names = "emac"; + reg = <0x01c30000 0x104>, <0x01c00030 0x4>; + reg-names = "emac", "syscon"; interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; resets = <&ccu RST_BUS_EMAC>, <&ccu RST_BUS_EPHY>; reset-names = "ahb", "ephy"; |