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

From: Marek Vasut <[email-masked]>
Date: Thu, 16 May 2019 00:45:59 +0200

Add GPIO beeper, to let the board produce beeps.

Signed-off-by: Marek Vasut <[email-masked]>
Cc: Shawn Guo <[email-masked]>
Cc: Fabio Estevam <[email-masked]>
Cc: NXP Linux Team <[email-masked]>
To: [email-masked]
---
V2: No change
---
 arch/arm/boot/dts/imx53-m53menlo.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/imx53-m53menlo.dts b/arch/arm/boot/dts/imx53-m53menlo.dts
index 1a8cdef49261..39a76a5bbd19 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";
@@ -181,6 +187,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
-- 
2.20.1

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel