aboutsummaryrefslogtreecommitdiff
path: root/src/arm/imx53-smd.dts
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-08-13 05:53:54 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-08-13 05:53:54 +0000
commitc4fc09e238494b428e1e0abfd881425a86d8bfe7 (patch)
treef214adda0feb0a7e86c69f9225d8845129b46288 /src/arm/imx53-smd.dts
parentc19dc8ed9745602cc89c0f0c31220c71d7ac2063 (diff)
downloadsrc-c4fc09e238494b428e1e0abfd881425a86d8bfe7.tar.gz
src-c4fc09e238494b428e1e0abfd881425a86d8bfe7.zip
Notes
Diffstat (limited to 'src/arm/imx53-smd.dts')
-rw-r--r--src/arm/imx53-smd.dts20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/arm/imx53-smd.dts b/src/arm/imx53-smd.dts
index fd030128666c..462071c9ddd7 100644
--- a/src/arm/imx53-smd.dts
+++ b/src/arm/imx53-smd.dts
@@ -1,16 +1,10 @@
-/*
- * Copyright 2011 Freescale Semiconductor, Inc.
- * Copyright 2011 Linaro Ltd.
- *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
- */
+// SPDX-License-Identifier: GPL-2.0+
+//
+// Copyright 2011 Freescale Semiconductor, Inc.
+// Copyright 2011 Linaro Ltd.
/dts-v1/;
+#include <dt-bindings/input/input.h>
#include "imx53.dtsi"
/ {
@@ -27,13 +21,13 @@
volume-up {
label = "Volume Up";
gpios = <&gpio2 14 0>;
- linux,code = <115>; /* KEY_VOLUMEUP */
+ linux,code = <KEY_VOLUMEUP>;
};
volume-down {
label = "Volume Down";
gpios = <&gpio2 15 0>;
- linux,code = <114>; /* KEY_VOLUMEDOWN */
+ linux,code = <KEY_VOLUMEDOWN>;
};
};
};