]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: meson: fix the memory region of the GPIO interrupt controller
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 29 Oct 2017 23:17:15 +0000 (00:17 +0100)
committerKevin Hilman <khilman@baylibre.com>
Thu, 30 Nov 2017 23:29:43 +0000 (15:29 -0800)
commitfce08956682d2aa5a2059468aca4e78051097fd4
treeba0ed4b6a45e055102a2af33847822e4ee166ae2
parent10b4b118869aee890e0354070520068df2c62b32
ARM: dts: meson: fix the memory region of the GPIO interrupt controller

commit 1364826f23cc ("ARM: dts: meson: organize devices in their corresponding busses")
organized all peripherals in busses so that the base register offset of
the bus doesn't have to be included in all child-nodes anymore.
The GPIO interrupt controller however specifies the register offset
without subtracting the "cbus" base address. This leads to a problem
where of_iomap inside the irq-meson-gpio driver fails because it
actually tries to map 0x182209880 (cbus base = 0xc1100000 + 0xc1109880
for the GPIO interrupt controller). Fix this by using 0x9880 as register
offset.

Fixes: 965e815d7c8c ("ARM: dts: meson8b: enable gpio interrupt controller")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson.dtsi