diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi index 90e3971e23d80d..5485166f53a397 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi @@ -73,8 +73,18 @@ sound { compatible = "audio-graph-card"; + pinctrl-names = "default"; + pinctrl-0 = <&hp_det_gpio>; label = "rockchip,rk3399"; dais = <&i2s1_p0>; + widgets = + "Microphone", "Mic Jack", + "Headphone", "Headphones"; + routing = + "MIC1", "Mic Jack", + "Headphones", "HPOL", + "Headphones", "HPOR"; + hp-det-gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>; }; vcc12v_dcin: vcc12v-dcin { @@ -617,6 +627,12 @@ }; }; + es8316 { + hp_det_gpio: hp-det-gpio { + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + fusb302x { fusb0_int: fusb0-int { rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;