summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-02-18 13:14:59 +0800
committerShawn Guo <shawnguo@kernel.org>2020-02-24 09:49:57 +0800
commit50d336b12f345808b2e1f47a08443d3fff93c002 (patch)
treed029ff32dc874b0fb7c5f7c4bc8ebfe82d9e8451 /arch/arm64/boot/dts/freescale/imx8mp-evk.dts
parent2462aaf13c790312c97dd8af9953cd10968ca4c9 (diff)
downloadlwn-50d336b12f345808b2e1f47a08443d3fff93c002.tar.gz
lwn-50d336b12f345808b2e1f47a08443d3fff93c002.zip
arm64: dts: imx8mp-evk: Add GPIO LED support
i.MX8MP EVK board has a GPIO LED to indicate status, add support for it. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mp-evk.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mp-evk.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
index 6df3beb92dc8..a97a03c81517 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -15,6 +15,18 @@
stdout-path = &uart2;
};
+ gpio-leds {
+ compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_gpio_led>;
+
+ status {
+ label = "yellow:status";
+ gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ };
+
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0 0xc0000000>,
@@ -120,6 +132,12 @@
>;
};
+ pinctrl_gpio_led: gpioledgrp {
+ fsl,pins = <
+ MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x19
+ >;
+ };
+
pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc {
fsl,pins = <
MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x41