ARM: CSR: extend the compatibility of gpio controller to pinmux in dts
authorBarry Song <Baohua.Song@csr.com>
Mon, 5 Sep 2011 05:15:17 +0000 (22:15 -0700)
committerBarry Song <21cnbao@gmail.com>
Sun, 11 Sep 2011 01:14:15 +0000 (09:14 +0800)
gpio controller handles the switch of gpio and pinmux. And drivers/pinctrl/pinmux-sirf.c
will contain both gpio and pinmux.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/boot/dts/prima2-cb.dts

index a0a423d..af86931 100644 (file)
                        gpio: gpio-controller@b0120000 {
                                #gpio-cells = <2>;
                                #interrupt-cells = <2>;
-                               compatible = "sirf,prima2-gpio";
+                               compatible = "sirf,prima2-gpio-pinmux";
                                reg = <0xb0120000 0x10000>;
                                gpio-controller;
                                interrupt-controller;