ARM: dts: meson8: fix the clock controller register size
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 21 Jul 2018 19:05:52 +0000 (21:05 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 4 Sep 2018 21:04:59 +0000 (14:04 -0700)
commitf7f9da89bc4f61e33f7b9f5c75c4efdc1f0455d8
treeb5427f078070d7beba1225823a5e8eb2158d1926
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
ARM: dts: meson8: fix the clock controller register size

The clock controller registers are not 0x460 wide because the reset
controller starts at CBUS 0x4404. This currently overlaps with the
clock controller (which is at CBUS 0x4000).

There is no public documentation available on the actual size of the
clock controller's register area (also called "HHI"). However, in
Amlogic's GPL kernel sources the last "HHI" register is
HHI_HDMI_PHY_CNTL2 at CBUS + 0x43a8. 0x400 was chosen because that size
doesn't seem unlikely.

Fixes: 2c323c43a3d619 ("ARM: dts: meson8: add and use the real clock controller")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson8.dtsi