ARM: dts: rockchip: vr-android: add spi1 sleep pinctrl
authorZorro Liu <lyx@rock-chips.com>
Thu, 25 Aug 2016 09:59:23 +0000 (17:59 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 26 Aug 2016 08:40:35 +0000 (16:40 +0800)
Change-Id: Ie3a4d8ea56dc2343a749ccc035002f0b25a356a3
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts

index 4227143cbfc0b8a305bb922674d0e02fefd34636..cc3e251490d78e50bce59fe8245472bada9c9f83 100644 (file)
 &spi1 {
        status = "okay";
        max-freq = <50000000>;
+       pinctrl-names = "default", "sleep";
+       pinctrl-1 = <&spi1_gpio>;
        mpu6500@0 {
                status = "okay";
                compatible = "inv-spi,mpu6500";
                };
        };
 
+       spi1 {
+               spi1_gpio: spi1-gpio {
+                       rockchip,pins =
+                               <1 7 RK_FUNC_GPIO &pcfg_output_low>,
+                               <1 8 RK_FUNC_GPIO &pcfg_output_low>,
+                               <1 9 RK_FUNC_GPIO &pcfg_output_low>,
+                               <1 10 RK_FUNC_GPIO &pcfg_output_low>;
+               };
+       };
+
        fusb30x {
                fusb0_int: fusb0-int {
                        rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>;