diff --git a/kernel/arch/arm64/boot/dts/rockchip/rp-box-rk3568.dts b/kernel/arch/arm64/boot/dts/rockchip/rp-box-rk3568.dts index 33a1ad539..dcae351e8 100755 --- a/kernel/arch/arm64/boot/dts/rockchip/rp-box-rk3568.dts +++ b/kernel/arch/arm64/boot/dts/rockchip/rp-box-rk3568.dts @@ -129,8 +129,20 @@ rp_gpio{ status = "okay"; compatible = "rp_gpio"; - - /** + + pinctrl-names = "default"; + pinctrl-0 = <&gpio1dd>; + + gpio1_d5 { + gpio_num = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>; + gpio_function = <0>; + }; + gpio1_d6 { + gpio_num = <&gpio1 RK_PD6 GPIO_ACTIVE_HIGH>; + gpio_function = <4>; + }; + + /** * gpioxxx { // the node name will display on /proc/rp_gpio, you can define any character string * gpio_num = <>; // gpio you want ot control * gpio_function = <>; // function of current gpio£º 0 output, 1 input, 3 blink @@ -347,8 +359,29 @@ <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + gpio1text { + gpio1dd: gpio1dd { + rockchip,pins = + /* gpio pull none */ + <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>, + <1 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + }; +&sdmmc0 + + status = "disabled"; +}; + +&sdmmc0 { + + status = "disabled"; +}; + + + &rk809_sound { /delete-property/ simple-audio-card,hp-det-gpio; /delete-property/ simple-audio-card,widgets;