arm: sunxi: Add clock to pinctrl node
authorEmilio López <emilio@elopez.com.ar>
Wed, 27 Mar 2013 21:20:41 +0000 (18:20 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 4 Apr 2013 21:45:30 +0000 (23:45 +0200)
The port controller needs the apb0_pio clock enabled to be able to
work. This commit declares that on the device tree.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10.dtsi
arch/arm/boot/dts/sun5i-a13.dtsi

index 6b3a6b2..f640520 100644 (file)
@@ -21,6 +21,7 @@
                pio: pinctrl@01c20800 {
                        compatible = "allwinner,sun4i-a10-pinctrl";
                        reg = <0x01c20800 0x400>;
+                       clocks = <&apb0_gates 5>;
                        gpio-controller;
                        #address-cells = <1>;
                        #size-cells = <0>;
index 945bfac..10ee8ee 100644 (file)
@@ -22,6 +22,7 @@
                pio: pinctrl@01c20800 {
                        compatible = "allwinner,sun5i-a13-pinctrl";
                        reg = <0x01c20800 0x400>;
+                       clocks = <&apb0_gates 5>;
                        gpio-controller;
                        #address-cells = <1>;
                        #size-cells = <0>;