summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2019-09-03 09:27:57 -0400
committerShawn Guo <shawnguo@kernel.org>2019-10-06 15:43:33 +0800
commit4c2435a6572bf3c59dd86be31c223bf09a7e1e61 (patch)
treecf2e1207f67b15386764636a373db632ff88da18 /arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
arm64: dts: imx8mn-ddr4-evk: Enable GPIO LED
i.MX8MN DDR4 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/imx8mn-ddr4-evk.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
index 11c705d225d0..d78d657fa378 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-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";
+ };
+ };
+
reg_usdhc2_vmmc: regulator-usdhc2 {
compatible = "regulator-fixed";
pinctrl-names = "default";
@@ -54,6 +66,12 @@
>;
};
+ pinctrl_gpio_led: gpioledgrp {
+ fsl,pins = <
+ MX8MN_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19
+ >;
+ };
+
pinctrl_i2c1: i2c1grp {
fsl,pins = <
MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3