~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/freescale/imx8mm-verdin-yavia.dtsi

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2 /*
  3  * Copyright 2023 Toradex
  4  */
  5 
  6 #include <dt-bindings/leds/common.h>
  7 
  8 / {
  9         leds {
 10                 compatible = "gpio-leds";
 11 
 12                 pinctrl-names = "default";
 13                 pinctrl-0 = <&pinctrl_leds_yavia>;
 14 
 15                 /* SODIMM 52 - LD1_RED */
 16                 led-0 {
 17                         color = <LED_COLOR_ID_RED>;
 18                         function = LED_FUNCTION_DEBUG;
 19                         function-enumerator = <1>;
 20                         gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
 21                 };
 22                 /* SODIMM 54 - LD1_GREEN */
 23                 led-1 {
 24                         color = <LED_COLOR_ID_GREEN>;
 25                         function = LED_FUNCTION_DEBUG;
 26                         function-enumerator = <1>;
 27                         gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
 28                 };
 29                 /* SODIMM 56 - LD1_BLUE */
 30                 led-2 {
 31                         color = <LED_COLOR_ID_BLUE>;
 32                         function = LED_FUNCTION_DEBUG;
 33                         function-enumerator = <1>;
 34                         gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>;
 35                 };
 36                 /* SODIMM 58 - LD2_RED */
 37                 led-3 {
 38                         color = <LED_COLOR_ID_RED>;
 39                         function = LED_FUNCTION_DEBUG;
 40                         function-enumerator = <2>;
 41                         gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
 42                 };
 43                 /* SODIMM 60 - LD2_GREEN */
 44                 led-4 {
 45                         color = <LED_COLOR_ID_GREEN>;
 46                         function = LED_FUNCTION_DEBUG;
 47                         function-enumerator = <2>;
 48                         gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
 49                 };
 50                 /* SODIMM 62 - LD2_BLUE */
 51                 led-5 {
 52                         color = <LED_COLOR_ID_BLUE>;
 53                         function = LED_FUNCTION_DEBUG;
 54                         function-enumerator = <2>;
 55                         gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
 56                 };
 57         };
 58 };
 59 
 60 /* Verdin SPI_1 */
 61 &ecspi2 {
 62         status = "okay";
 63 };
 64 
 65 /* EEPROM on display adapter boards */
 66 &eeprom_display_adapter {
 67         status = "okay";
 68 };
 69 
 70 /* EEPROM on Verdin yavia board */
 71 &eeprom_carrier_board {
 72         status = "okay";
 73 };
 74 
 75 &fec1 {
 76         status = "okay";
 77 };
 78 
 79 &gpio3 {
 80         pinctrl-names = "default";
 81         pinctrl-0 = <&pinctrl_gpios_ext_yavia>;
 82 };
 83 
 84 &gpio5 {
 85         pinctrl-names = "default";
 86         pinctrl-0 = <&pinctrl_ctrl_sleep_moci>;
 87 };
 88 
 89 &hwmon_temp {
 90         status = "okay";
 91 };
 92 
 93 &i2c3 {
 94         status = "okay";
 95 };
 96 
 97 /* Verdin I2C_1 */
 98 &i2c4 {
 99         status = "okay";
100 };
101 
102 /* Verdin PCIE_1 */
103 &pcie0 {
104         status = "okay";
105 };
106 
107 &pcie_phy {
108         status = "okay";
109 };
110 
111 /* Verdin PWM_3_DSI */
112 &pwm1 {
113         status = "okay";
114 };
115 
116 /* Verdin PWM_1 */
117 &pwm2 {
118         status = "okay";
119 };
120 
121 /* Verdin PWM_2 */
122 &pwm3 {
123         status = "okay";
124 };
125 
126 /* Verdin UART_3 */
127 &uart1 {
128         status = "okay";
129 };
130 
131 /* Verdin UART_1 */
132 &uart2 {
133         status = "okay";
134 };
135 
136 /* Verdin UART_2 */
137 &uart3 {
138         status = "okay";
139 };
140 
141 /* Verdin USB_1 */
142 &usbotg1 {
143         status = "okay";
144 };
145 
146 /* Verdin USB_2 */
147 &usbotg2 {
148         status = "okay";
149 };
150 
151 /* Verdin SD_1 */
152 &usdhc2 {
153         status = "okay";
154 };
155 
156 &iomuxc {
157         pinctrl_leds_yavia: ledsyaviagrp {
158                 fsl,pins = <
159                         MX8MM_IOMUXC_NAND_ALE_GPIO3_IO0         0x106   /* SODIMM 52 */
160                         MX8MM_IOMUXC_NAND_CE0_B_GPIO3_IO1       0x106   /* SODIMM 54 */
161                         MX8MM_IOMUXC_NAND_DATA00_GPIO3_IO6      0x106   /* SODIMM 56 */
162                         MX8MM_IOMUXC_NAND_DATA01_GPIO3_IO7      0x106   /* SODIMM 58 */
163                         MX8MM_IOMUXC_NAND_DATA02_GPIO3_IO8      0x106   /* SODIMM 60 */
164                         MX8MM_IOMUXC_NAND_DATA03_GPIO3_IO9      0x106   /* SODIMM 62 */
165                 >;
166         };
167 
168         pinctrl_gpios_ext_yavia: gpiosextyaviagrp {
169                 fsl,pins = <
170                         MX8MM_IOMUXC_NAND_CE1_B_GPIO3_IO2       0x106   /* SODIMM 64 */
171                         MX8MM_IOMUXC_NAND_DQS_GPIO3_IO14        0x106   /* SODIMM 66 */
172                 >;
173         };
174 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php