ARM: dts: enable pinctrl for Broadcom NSP
authorYendapally Reddy Dhananjaya Reddy <yrdreddy@broadcom.com>
Fri, 20 Nov 2015 17:58:29 +0000 (12:58 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 7 Dec 2015 03:45:19 +0000 (19:45 -0800)
This enables the pinctrl support for Broadcom NSP SoC

Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yrdreddy@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-nsp.dtsi
arch/arm/boot/dts/bcm958625k.dts

index d9bfc5618c25037e05081d79836a64b891cefead..4214818df3a0bc4e1efe13059980a3488a3fb92c 100644 (file)
                                             "usbclk", "iprocfast", "sata1",
                                             "sata2";
                };
+
+               pinctrl: pinctrl@3f1c0 {
+                       compatible = "brcm,nsp-pinmux";
+                       reg = <0x3f1c0 0x04>,
+                             <0x30028 0x04>,
+                             <0x3f408 0x04>;
+               };
        };
 };
index b966955260fad14dffa9ea099efd193d96a5c4fb..e298450b49b2bd6ee801b0367b5408724b4cb113 100644 (file)
                };
        };
 };
+
+&pinctrl {
+       pinctrl-names = "default";
+       pinctrl-0 = <&nand_sel>;
+       nand_sel: nand_sel {
+               function = "nand";
+               groups = "nand_grp";
+       };
+};