diff --git a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts index 5dc7c950e60d..ebdca0e2d2f3 100644 --- a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts +++ b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts @@ -687,7 +687,17 @@ }; /* VL53L3 ToF @ 0x29 */ - /* AW86938FCR vibrator @ 0x5a */ + + vibrator@5a { + compatible = "awinic,aw86938", "awinic,aw86927"; + reg = <0x5a>; + + interrupts-extended = <&tlmm 80 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tlmm 78 GPIO_ACTIVE_LOW>; + + pinctrl-0 = <&aw86938_int_default>, <&aw86938_reset_default>; + pinctrl-names = "default"; + }; }; &pm8550vs_c { @@ -829,6 +839,20 @@ bias-disable; }; + aw86938_reset_default: aw86938-reset-default-state { + pins = "gpio78"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + + aw86938_int_default: aw86938-int-default-state { + pins = "gpio80"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + pm8008_int_default: pm8008-int-default-state { pins = "gpio125"; function = "gpio";