Skip to content
Snippets Groups Projects
Commit 5682c066 authored by Tobias Kahlki's avatar Tobias Kahlki
Browse files

dts:mc3: Added status and error LEDs

BCS 746-000956
parent 37f22694
No related branches found
No related tags found
1 merge request!122dts:mc3: Added status and error LEDs
Pipeline #60024 passed with stage
in 7 seconds
/*
* Copyright 2022 SECO Nothern Europe GmbH
* Copyright 2022-2023 SECO Nothern Europe GmbH
*/
#include "imx8mp.dtsi"
......@@ -89,6 +89,25 @@
gpios-states = <1>;
states = <1800000 1>, <3300000 0>;
};
leds: leds {
compatible = "gpio-leds";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_leds>;
status {
label = "status";
gpios = <&gpio1 13 0>;
default-state = "off";
};
error {
label = "error";
gpios = <&gpio1 14 0>;
default-state = "on";
};
};
};
&A53_0 {
......@@ -412,6 +431,13 @@
MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6
>;
};
pinctrl_leds: ledsgrp {
fsl,pins = <
MX8MP_IOMUXC_GPIO1_IO13__GPIO1_IO13 0x6 /* OK */
MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x6 /* ERROR */
>;
};
};
&uart2 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment