arm64: dts: rockchip: Add pinctrl entry for 32k clock on rk3399
authorDouglas Anderson <dianders@chromium.org>
Thu, 1 Sep 2016 23:53:22 +0000 (16:53 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 2 Sep 2016 10:52:31 +0000 (12:52 +0200)
On some rk3399 boards GPIO0_A0 is hooked up to a 32 kHz clock.  This can
be used as the source for various clocks in the system.

Add a pinmux so boards can get this pin properly configured.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 32aebc879e866f7ba3808ecea068977ef5720749..5aeef57b6ead914647a8c2199e13eb5fc64854c8 100644 (file)
                        drive-strength = <13>;
                };
 
+               clock {
+                       clk_32k: clk-32k {
+                               rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>;
+                       };
+               };
+
                i2c0 {
                        i2c0_xfer: i2c0-xfer {
                                rockchip,pins =