Skip to content
Snippets Groups Projects
Commit 69874217 authored by Gianfranco Mariotti's avatar Gianfranco Mariotti
Browse files

[C61] add PWM buzzer support

parent 84d6e679
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,19 @@
reg = <0x0 0x40000000 0 0x80000000>;
};
buzzer {
compatible = "pwm-generic";
pwms = <&pwm2 0 500000000>;
pinctrl-0 = <&pinctrl_pwm2_out>;
max-duty = <255>;
dft-duty = <128>;
pwm-period-ns = <5000000>;
period-ns-min = <150>;
period-ns-max = <50000000>;
pwm-id = <1>;
enable = <0>;
};
pcie0_refclk: pcie0-refclk {
compatible = "fixed-clock";
#clock-cells = <0>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment