提交 bf0a1fd6 编写于 作者: R Robert Marko 提交者: Zheng Zengkai

arm64: dts: marvell: cn9130: enable CP0 GPIO controllers

stable inclusion
from stable-v5.10.94
commit 1f5428e43806ea0eb12dfa573815715da6347cdb
bugzilla: https://gitee.com/openeuler/kernel/issues/I531X9

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1f5428e43806ea0eb12dfa573815715da6347cdb

--------------------------------

[ Upstream commit 0734f831 ]

CN9130 has a built-in CP115 which has 2 GPIO controllers, but unlike in
Armada 7k and 8k both are left disabled by the SoC DTSI.

This first of all makes no sense as they are always present due to being
SoC built-in and its an issue as boards like CN9130-CRB use the CPO GPIO2
pins for regulators and SD card support without enabling them first.

So, enable both of them like Armada 7k and 8k do.

Fixes: 6b8970bd ("arm64: dts: marvell: Add support for Marvell CN9130 SoC support")
Signed-off-by: NRobert Marko <robert.marko@sartura.hr>
Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 8f77ae34
...@@ -42,3 +42,11 @@ ...@@ -42,3 +42,11 @@
#undef CP11X_PCIE0_BASE #undef CP11X_PCIE0_BASE
#undef CP11X_PCIE1_BASE #undef CP11X_PCIE1_BASE
#undef CP11X_PCIE2_BASE #undef CP11X_PCIE2_BASE
&cp0_gpio1 {
status = "okay";
};
&cp0_gpio2 {
status = "okay";
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册