ARM: dts: imx6dl-yapp43: Enable pwm-beeper on boards with speaker

Lynx, Pegasus and Pegasus+ boards have a speaker connected to the PWM3.
Enable a pwm-beeper on these boards so the system can produce simple
sounds.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Michal Vokáč
2025-11-06 09:54:28 +01:00
committed by Shawn Guo
parent e58a429680
commit c8bf7740aa
4 changed files with 43 additions and 0 deletions

View File

@@ -21,6 +21,10 @@
status = "okay";
};
&beeper {
status = "okay";
};
&lcd_display {
status = "okay";
};
@@ -37,6 +41,10 @@
status = "okay";
};
&pwm3 {
status = "okay";
};
&reg_usb_h1_vbus {
status = "okay";
};

View File

@@ -26,6 +26,12 @@
status = "disabled";
};
beeper: beeper {
compatible = "pwm-beeper";
pwms = <&pwm3 0 500000 0>;
status = "disabled";
};
gpio_keys: gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
@@ -466,6 +472,13 @@
>;
};
pinctrl_sound: soundgrp {
fsl,pins = <
MX6QDL_PAD_SD1_DAT0__GPIO1_IO16 0x1b0b0
MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x8
>;
};
pinctrl_touch: touchgrp {
fsl,pins = <
MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b098
@@ -551,6 +564,12 @@
status = "disabled";
};
&pwm3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sound>;
status = "disabled";
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1>;

View File

@@ -17,6 +17,10 @@
};
};
&beeper {
status = "okay";
};
&gpio_oled {
status = "okay";
};
@@ -37,6 +41,10 @@
status = "okay";
};
&pwm3 {
status = "okay";
};
&reg_pu {
regulator-always-on;
};

View File

@@ -17,6 +17,10 @@
};
};
&beeper {
status = "okay";
};
&gpio_oled {
status = "okay";
};
@@ -37,6 +41,10 @@
status = "okay";
};
&pwm3 {
status = "okay";
};
&reg_pu {
regulator-always-on;
};