Change-Id: Ie3a4d8ea56dc2343a749ccc035002f0b25a356a3
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
&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>;