ARM: dts: mvebu: Add SPI1 pinctrl defines for Armada XP

This patch defines and uses common Armada XP pinctrl settings in
armada-xp.dtsi for the SPI1 interface (MPP13,14,16,17).

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
This commit is contained in:
Stefan Roese 2016-07-13 11:55:17 +02:00 committed by Gregory CLEMENT
parent 29b4817d40
commit 1113603e39
1 changed files with 8 additions and 0 deletions

View File

@ -94,6 +94,8 @@ spi0: spi@10600 {
spi1: spi@10680 {
compatible = "marvell,armada-xp-spi",
"marvell,orion-spi";
pinctrl-0 = <&spi1_pins>;
pinctrl-names = "default";
};
@ -362,6 +364,12 @@ spi0_pins: spi0-pins {
marvell,function = "spi0";
};
spi1_pins: spi1-pins {
marvell,pins = "mpp13", "mpp14",
"mpp16", "mpp17";
marvell,function = "spi1";
};
uart2_pins: uart2-pins {
marvell,pins = "mpp42", "mpp43";
marvell,function = "uart2";