ARM: dts: kirkwood: set default pinctrl for SPI0
[cascardo/linux.git] / arch / arm / boot / dts / kirkwood.dtsi
index f92c8c4..0c8d8fa 100644 (file)
                                marvell,function = "nand";
                        };
 
+                       /*
+                        * Default SPI0 pinctrl setting with CSn on mpp0,
+                        * overwrite marvell,pins on board level if required.
+                        */
                        pmx_spi: pmx-spi {
                                marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
                                marvell,function = "spi";
                        interrupts = <23>;
                        reg = <0x10600 0x28>;
                        clocks = <&gate_clk 7>;
+                       pinctrl-0 = <&pmx_spi>;
+                       pinctrl-names = "default";
                        status = "disabled";
                };