arm: kirkwood: ns2: move pinmux configs to the right devices
[linux.git] / arch / arm / boot / dts / kirkwood-ns2-common.dtsi
index 6affd924fe11c48df75653970cb92cbac7954591..2afac04058167dc896283d452426e145bbcb4f5c 100644 (file)
@@ -8,10 +8,6 @@
 
        ocp@f1000000 {
                pinctrl: pinctrl@10000 {
-                       pinctrl-0 = < &pmx_spi &pmx_twsi0 &pmx_uart0
-                                       &pmx_ns2_sata0 &pmx_ns2_sata1>;
-                       pinctrl-names = "default";
-
                        pmx_ns2_sata0: pmx-ns2-sata0 {
                                marvell,pins = "mpp21";
                                marvell,function = "sata0";
                };
 
                serial@12000 {
+                       pinctrl-0 = <&pmx_uart0>;
+                       pinctrl-names = "default";
                        status = "okay";
                };
 
                spi@10600 {
+                       pinctrl-0 = <&pmx_spi>;
+                       pinctrl-names = "default";
                        status = "okay";
 
                        flash@0 {
@@ -45,6 +45,8 @@
                };
 
                i2c@11000 {
+                       pinctrl-0 = <&pmx_twsi0>;
+                       pinctrl-names = "default";
                        status = "okay";
 
                        eeprom@50 {