xref: /linux/arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-picoitx.dtsi (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2021 DH electronics GmbH
4 */
5
6#include <dt-bindings/leds/common.h>
7
8/ {
9	chosen {
10		stdout-path = "serial0:115200n8";
11	};
12
13	led {
14		compatible = "gpio-leds";
15
16		led-0 {
17			color = <LED_COLOR_ID_YELLOW>;
18			default-state = "off";
19			function = LED_FUNCTION_INDICATOR;
20			gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* GPIO I */
21			pinctrl-0 = <&pinctrl_dhcom_i>;
22			pinctrl-names = "default";
23		};
24	};
25};
26
27&gpio1 {
28	gpio-line-names =
29		"", "", "DHCOM-A", "", "DHCOM-B", "PicoITX-In2", "", "",
30		"", "", "", "", "", "", "", "",
31		"DHCOM-R", "DHCOM-S", "DHCOM-Q", "DHCOM-T", "DHCOM-U", "", "", "",
32		"", "", "", "", "", "", "", "";
33};
34
35&gpio4 {
36	gpio-line-names =
37		"", "", "", "", "", "PicoITX-In1", "DHCOM-INT", "DHCOM-H",
38		"DHCOM-I", "PicoITX-HW2", "", "", "", "", "", "",
39		"", "", "", "", "PicoITX-Out1", "", "", "",
40		"", "", "", "", "", "", "", "";
41};
42
43&gpio6 {
44	gpio-line-names =
45		"", "", "", "PicoITX-Out2", "", "", "SOM-HW1", "",
46		"", "", "", "", "", "", "PicoITX-HW0", "PicoITX-HW1",
47		"", "", "", "", "", "", "", "",
48		"", "", "", "", "", "", "", "";
49};
50
51&iomuxc {
52	pinctrl-0 = <
53			/*
54			 * The following DHCOM GPIOs are used on this board.
55			 * Therefore, they have been removed from the list below.
56			 * I: yellow led
57			 */
58			&pinctrl_hog_base
59			&pinctrl_dhcom_a &pinctrl_dhcom_b &pinctrl_dhcom_c
60			&pinctrl_dhcom_d &pinctrl_dhcom_e &pinctrl_dhcom_f
61			&pinctrl_dhcom_g &pinctrl_dhcom_h
62			&pinctrl_dhcom_j &pinctrl_dhcom_k &pinctrl_dhcom_l
63			&pinctrl_dhcom_m &pinctrl_dhcom_n &pinctrl_dhcom_o
64			&pinctrl_dhcom_p &pinctrl_dhcom_q &pinctrl_dhcom_r
65			&pinctrl_dhcom_s &pinctrl_dhcom_t &pinctrl_dhcom_u
66			&pinctrl_dhcom_v &pinctrl_dhcom_w &pinctrl_dhcom_int
67		>;
68	pinctrl-names = "default";
69};
70