diff mbox series

[6/8] ARM: dts: imx53: Add GPIO beeper on M53Menlo

Message ID 20190503155235.6414-6-marex@denx.de (mailing list archive)
State New, archived
Headers show
Series [1/8] ARM: dts: imx53: Update UART configuration on M53Menlo | expand

Commit Message

Marek Vasut May 3, 2019, 3:52 p.m. UTC
Add GPIO beeper, to let the board produce beeps.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
To: linux-arm-kernel@lists.infradead.org
---
 arch/arm/boot/dts/imx53-m53menlo.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx53-m53menlo.dts b/arch/arm/boot/dts/imx53-m53menlo.dts
index 74ac72c85743..567ea20e1ffe 100644
--- a/arch/arm/boot/dts/imx53-m53menlo.dts
+++ b/arch/arm/boot/dts/imx53-m53menlo.dts
@@ -64,6 +64,12 @@ 
 		};
 	};
 
+	beeper {
+		compatible = "gpio-beeper";
+		pinctrl-0 = <&pinctrl_beeper>;
+		gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;
+	};
+
 	reg_usbh1_vbus: regulator-usbh1-vbus {
 		compatible = "regulator-fixed";
 		regulator-name = "vbus";
@@ -180,6 +186,12 @@ 
 			>;
 		};
 
+		pinctrl_beeper: beepergrp {
+			fsl,pins = <
+				MX53_PAD_CSI0_DAT17__GPIO6_3		0x1c4
+			>;
+		};
+
 		pinctrl_can1: can1grp {
 			fsl,pins = <
 				MX53_PAD_GPIO_7__CAN1_TXCAN		0x1c4