arm64: dts: marvell: samsung,coreprimevelte: Add vibrator

The board has a vibrator hooked up to PWM3. Add a node for it and its
associated pinctrl configuration.

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
This commit is contained in:
Duje Mihanović 2025-09-13 23:21:07 +02:00
parent 1e49943914
commit 412f548663
No known key found for this signature in database
GPG Key ID: AD319352458FAD03

View File

@ -122,6 +122,15 @@ backlight {
ctrl-gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;
max-brightness = <210>;
};
vibrator {
compatible = "pwm-vibrator";
pwm-names = "enable";
pwms = <&pwm3 100000>;
enable-gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&vibrator_pin>;
};
};
&smmu {
@ -428,6 +437,16 @@ sdh2_fast_pins_2: sdh2-fast-pins-2 {
pinctrl-single,bias-pulldown = <0x8000 0xa000 0x8000 0xa000>;
pinctrl-single,low-power-mode = <0x288 0x388>;
};
vibrator_pin: vibrator-pin {
pinctrl-single,pins = <0x12c 0>;
pinctrl-single,drive-strength = <0x1000 0x1800>;
pinctrl-single,bias-pullup = <0x8000 0xc000 0x8000 0xc000>;
pinctrl-single,bias-pulldown = <0xa000 0xa000 0 0xa000>;
pinctrl-single,input-schmitt = <0 0x30>;
pinctrl-single,input-schmitt-enable = <0x40 0 0x40 0x40>;
pinctrl-single,low-power-mode = <0 0x388>;
};
};
&uart0 {
@ -518,3 +537,7 @@ &sdh1 {
bus-width = <4>;
non-removable;
};
&pwm3 {
status = "okay";
};