OSDN Git Service

ARM: dts: DRA7: switch to compatible pinctrl
authorNishanth Menon <nm@ti.com>
Fri, 23 May 2014 04:47:46 +0000 (23:47 -0500)
committerNishanth Menon <nm@ti.com>
Tue, 9 Sep 2014 13:32:59 +0000 (08:32 -0500)
Now that ti,dra7-padconf is available, switch over to that compatible
property. Retain pinctrl-single for legacy support.

While at it, mark pinctrl as interrupt controller so that it can be used
with interrupts-extended property for wakeup events.

Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm/boot/dts/dra7.dtsi

index 97f603c..f8654a8 100644 (file)
                };
 
                dra7_pmx_core: pinmux@4a003400 {
-                       compatible = "pinctrl-single";
+                       compatible = "ti,dra7-padconf", "pinctrl-single";
                        reg = <0x4a003400 0x0464>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       #interrupt-cells = <1>;
+                       interrupt-controller;
                        pinctrl-single,register-width = <32>;
                        pinctrl-single,function-mask = <0x3fffffff>;
                };