arm64: dts: actions: limit address range for pinctrl node
authorAmit Singh Tomar <amittomer25@gmail.com>
Sun, 19 Jul 2020 17:42:02 +0000 (23:12 +0530)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 22 Sep 2020 07:11:27 +0000 (12:41 +0530)
commit4bb1eb3cd4bd6241d5e5f99bbfd801ea5a007b6c
treedbedd4942d9c8cf18d2265cda719c34b03603308
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
arm64: dts: actions: limit address range for pinctrl node

After commit 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for
Actions Semi S700") following error has been observed while booting
Linux on Cubieboard7-lite(based on S700 SoC).

[    0.257415] pinctrl-s700 e01b0000.pinctrl: can't request region for
resource [mem 0xe01b0000-0xe01b0fff]
[    0.266902] pinctrl-s700: probe of e01b0000.pinctrl failed with error -16

This is due to the fact that memory range for "sps" power domain controller
clashes with pinctrl.

One way to fix it, is to limit pinctrl address range which is safe
to do as current pinctrl driver uses address range only up to 0x100.

This commit limits the pinctrl address range to 0x100 so that it doesn't
conflict with sps range.

Fixes: 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for Actions
Semi S700")

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Suggested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
arch/arm64/boot/dts/actions/s700.dtsi