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