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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/ti/k3-am62-verdin-yavia.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ 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  * Common dtsi for Verdin AM62 SoM on Yavia carrier board
  6  *
  7  * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
  8  * https://www.toradex.com/products/carrier-board/yavia
  9  */
 10 
 11 #include <dt-bindings/leds/common.h>
 12 
 13 / {
 14         leds {
 15                 compatible = "gpio-leds";
 16                 pinctrl-names = "default";
 17                 pinctrl-0 = <&pinctrl_qspi1_clk_gpio>,
 18                             <&pinctrl_qspi1_cs_gpio>,
 19                             <&pinctrl_qspi1_io0_gpio>,
 20                             <&pinctrl_qspi1_io1_gpio>,
 21                             <&pinctrl_qspi1_io2_gpio>,
 22                             <&pinctrl_qspi1_io3_gpio>;
 23 
 24                 /* SODIMM 52 - LD1_RED */
 25                 led-0 {
 26                         color = <LED_COLOR_ID_RED>;
 27                         function = LED_FUNCTION_DEBUG;
 28                         function-enumerator = <1>;
 29                         gpios = <&main_gpio0 0 GPIO_ACTIVE_HIGH>;
 30                 };
 31                 /* SODIMM 54 - LD1_GREEN */
 32                 led-1 {
 33                         color = <LED_COLOR_ID_GREEN>;
 34                         function = LED_FUNCTION_DEBUG;
 35                         function-enumerator = <1>;
 36                         gpios = <&main_gpio0 11 GPIO_ACTIVE_HIGH>;
 37                 };
 38                 /* SODIMM 56 - LD1_BLUE */
 39                 led-2 {
 40                         color = <LED_COLOR_ID_BLUE>;
 41                         function = LED_FUNCTION_DEBUG;
 42                         function-enumerator = <1>;
 43                         gpios = <&main_gpio0 3 GPIO_ACTIVE_HIGH>;
 44                 };
 45                 /* SODIMM 58 - LD2_RED */
 46                 led-3 {
 47                         color = <LED_COLOR_ID_RED>;
 48                         function = LED_FUNCTION_DEBUG;
 49                         function-enumerator = <2>;
 50                         gpios = <&main_gpio0 4 GPIO_ACTIVE_HIGH>;
 51                 };
 52                 /* SODIMM 60 - LD2_GREEN */
 53                 led-4 {
 54                         color = <LED_COLOR_ID_GREEN>;
 55                         function = LED_FUNCTION_DEBUG;
 56                         function-enumerator = <2>;
 57                         gpios = <&main_gpio0 5 GPIO_ACTIVE_HIGH>;
 58                 };
 59                 /* SODIMM 62 - LD2_BLUE */
 60                 led-5 {
 61                         color = <LED_COLOR_ID_BLUE>;
 62                         function = LED_FUNCTION_DEBUG;
 63                         function-enumerator = <2>;
 64                         gpios = <&main_gpio0 6 GPIO_ACTIVE_HIGH>;
 65                 };
 66         };
 67 };
 68 
 69 /* Verdin ETHs */
 70 &cpsw3g {
 71         status = "okay";
 72 };
 73 
 74 /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */
 75 &cpsw3g_mdio {
 76         status = "okay";
 77 };
 78 
 79 /* Verdin ETH_1 (On-module PHY) */
 80 &cpsw_port1 {
 81         status = "okay";
 82 };
 83 
 84 /* Verdin PWM_1, PWM_2 */
 85 &epwm0 {
 86         status = "okay";
 87 };
 88 
 89 /* Verdin PWM_3_DSI */
 90 &epwm1 {
 91         status = "okay";
 92 };
 93 
 94 &main_gpio0 {
 95         pinctrl-names = "default";
 96         pinctrl-0 = <&pinctrl_ctrl_sleep_moci>,
 97                     <&pinctrl_gpio_5>,
 98                     <&pinctrl_gpio_6>,
 99                     <&pinctrl_gpio_7>,
100                     <&pinctrl_gpio_8>,
101                     <&pinctrl_qspi1_cs2_gpio>;
102 };
103 
104 &main_gpio1 {
105         pinctrl-names = "default";
106         pinctrl-0 = <&pinctrl_qspi1_dqs_gpio>;
107 };
108 
109 /* Verdin I2C_1 */
110 &main_i2c1 {
111         status = "okay";
112 
113         /* Temperature sensor */
114         sensor@4f {
115                 compatible = "ti,tmp75c";
116                 reg = <0x4f>;
117         };
118 
119         /* EEPROM */
120         eeprom@57 {
121                 compatible = "st,24c02";
122                 reg = <0x57>;
123                 pagesize = <16>;
124         };
125 };
126 
127 /* Verdin I2C_2_DSI */
128 &main_i2c2 {
129         status = "okay";
130 };
131 
132 /* Verdin I2C_4_CSI */
133 &main_i2c3 {
134         status = "okay";
135 };
136 
137 /* Verdin CAN_1 */
138 &main_mcan0 {
139         status = "okay";
140 };
141 
142 /* Verdin SPI_1 */
143 &main_spi1 {
144         status = "okay";
145 };
146 
147 /* Verdin UART_3 */
148 &main_uart0 {
149         status = "okay";
150 };
151 
152 /* Verdin UART_1 */
153 &main_uart1 {
154         status = "okay";
155 };
156 
157 &mcu_gpio0 {
158         pinctrl-names = "default";
159         pinctrl-0 = <&pinctrl_gpio_1>,
160                     <&pinctrl_gpio_2>,
161                     <&pinctrl_gpio_3>,
162                     <&pinctrl_gpio_4>,
163                     <&pinctrl_pcie_1_reset>;
164 };
165 
166 /* Verdin I2C_3_HDMI */
167 &mcu_i2c0 {
168         status = "okay";
169 };
170 
171 /* Verdin CAN_2 */
172 &mcu_mcan0 {
173         status = "okay";
174 };
175 
176 /* Verdin UART_4 */
177 &mcu_uart0 {
178         status = "okay";
179 };
180 
181 /* Verdin SD_1 */
182 &sdhci1 {
183         status = "okay";
184 };
185 
186 /* Verdin USB_1 */
187 &usbss0 {
188         status = "okay";
189 };
190 
191 &usb0 {
192         status = "okay";
193 };
194 
195 /* Verdin USB_2 */
196 &usbss1 {
197         status = "okay";
198 };
199 
200 &usb1 {
201         status = "okay";
202 };
203 
204 /* Verdin CTRL_WAKE1_MICO# */
205 &verdin_gpio_keys {
206         status = "okay";
207 };
208 
209 /* Verdin PCIE_1_RESET# */
210 &verdin_pcie_1_reset_hog {
211         status = "okay";
212 };
213 
214 /* Verdin UART_2 */
215 &wkup_uart0 {
216         status = "okay";
217 };

~ [ 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