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

arm64: dts: marvell: cn9130: add GPIO and SPI aliases

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

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

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

[ Upstream commit effd4260 ]

CN9130 has one CP115 built in, which like the CP110 has 2 GPIO and 2 SPI
controllers built-in.

However, unlike the Armada 7k and 8k the SoC DTSI doesn't add the required
aliases as both the Orion SPI driver and MVEBU GPIO drivers require the
aliases to be present.

So add the required aliases for GPIO and SPI controllers.

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>
上级 63740c73
...@@ -11,6 +11,13 @@ ...@@ -11,6 +11,13 @@
model = "Marvell Armada CN9130 SoC"; model = "Marvell Armada CN9130 SoC";
compatible = "marvell,cn9130", "marvell,armada-ap807-quad", compatible = "marvell,cn9130", "marvell,armada-ap807-quad",
"marvell,armada-ap807"; "marvell,armada-ap807";
aliases {
gpio1 = &cp0_gpio1;
gpio2 = &cp0_gpio2;
spi1 = &cp0_spi0;
spi2 = &cp0_spi1;
};
}; };
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册