diff options
author | 2018-01-02 15:55:56 +0100 | |
---|---|---|
committer | 2018-01-05 17:02:40 +0100 | |
commit | e2a393c699816de2e44cb5988895c1aeb84944cf (patch) | |
tree | 7937f583ca67058af8e0fd55a89fcdf7e4f955d8 /arch/arm64/boot/dts/marvell/armada-80x0.dtsi | |
parent | arm64: dts: marvell: use mvebu-icu.h where possible (diff) | |
download | linux-dev-e2a393c699816de2e44cb5988895c1aeb84944cf.tar.xz linux-dev-e2a393c699816de2e44cb5988895c1aeb84944cf.zip |
arm64: dts: marvell: use aliases for SPI busses on Armada 7K/8K
We are currently using the cell-index DT property to assign SPI bus
numbers. This property is specific to the spi-orion driver, and
requires each SPI controller to have a unique ID defined in the Device
Tree.
As we are about to merge armada-cp110-master.dtsi and
armada-cp110-slave.dtsi into a single file, those cell-index
properties that differ between the master CP110 and the slave CP110
are a difference that would have to be handled.
In order to avoid this, we switch to using the "aliases" DT node to
assign a unique number to each SPI controller. This is more generic,
and directly handled by the SPI core.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm64/boot/dts/marvell/armada-80x0.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-80x0.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi index b280ddd3c397..de9c34333cd4 100644 --- a/arch/arm64/boot/dts/marvell/armada-80x0.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-80x0.dtsi @@ -51,6 +51,10 @@ aliases { gpio1 = &cps_gpio1; gpio2 = &cpm_gpio2; + spi1 = &cpm_spi0; + spi2 = &cpm_spi1; + spi3 = &cps_spi0; + spi4 = &cps_spi1; }; }; |