]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: marvell: add gpio support for Armada 7K/8K
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 12 Jun 2017 15:35:00 +0000 (17:35 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 20 Jun 2017 14:34:18 +0000 (16:34 +0200)
commitced25035052767d44fb78c6191a6bd9d07589cbc
treea13d25946987d6ad7b10cd3bcd7fb7ab2fd616ba
parentc64e19c29c6e23cce354cef794349cdc97afb792
arm64: dts: marvell: add gpio support for Armada 7K/8K

Enable gpio support for CP and AP on the Marvell Armada 7K/8K SoCs.

The Armada 8K has two CP110 blocks, each having two GPIO controllers.
However, in each CP110 block, one of the GPIO controller cannot be
used: in the master CP110, only the second GPIO controller can be used,
while on the slave CP110, only the first GPIO controller can be used.

On the other side, the Armada 7K has only one CP110, but both its GPIO
controllers can be used.

For this reason, the GPIO controllers are marked as "disabled" in the
armada-cp110-master.dtsi and armada-cp110-slave.dtsi files, and only
enabled in the per-SoC dtsi files.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-70x0.dtsi
arch/arm64/boot/dts/marvell/armada-80x0.dtsi
arch/arm64/boot/dts/marvell/armada-ap806.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi