@@ -171,6 +171,26 @@
compatible = "marvell,mv78230-pinctrl";
reg = <0x18000 0x38>;
+ ge0_rgmii_pins: ge0-rgmii-pins {
+ marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3",
+ "mpp4", "mpp5", "mpp6", "mpp7",
+ "mpp8", "mpp9", "mpp10", "mpp11";
+ marvell,function = "ge0";
+ };
+
+ ge1_rgmii_pins: ge1-rgmii-pins {
+ marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15",
+ "mpp16", "mpp17", "mpp18", "mpp19",
+ "mpp20", "mpp21", "mpp22", "mpp23";
+ marvell,function = "ge1";
+ };
+
+ spi0_pins: spi0-pins {
+ marvell,pins = "mpp36", "mpp37",
+ "mpp38", "mpp39";
+ marvell,function = "spi";
+ };
+
sdio_pins: sdio-pins {
marvell,pins = "mpp30", "mpp31", "mpp32",
"mpp33", "mpp34", "mpp35";
pinctrl entries for the two GbE interfaces using RGMII signaling w/ the PHY via MPP0-11/MPP12-23 and the spi0 interface using MPP36-39 are common configurations. Instead of replicating them in each .dts file, put those in armada-xp-mv78230.dtsi file so that they can be referenced. Suggested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Arnaud Ebalard <arno@natisbad.org> --- arch/arm/boot/dts/armada-xp-mv78230.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)