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

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

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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  * Common dtsi for Verdin IMX8MM SoM on Mallow carrier board
  6  *
  7  * https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx-8m-mini-nano
  8  * https://www.toradex.com/products/carrier-board/mallow-carrier-board
  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_leds>;
 18 
 19                 /* SODIMM 52 - USER_LED_1_RED */
 20                 led-0 {
 21                         color = <LED_COLOR_ID_RED>;
 22                         function = LED_FUNCTION_DEBUG;
 23                         function-enumerator = <1>;
 24                         gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
 25                 };
 26 
 27                 /* SODIMM 54 - USER_LED_1_GREEN */
 28                 led-1 {
 29                         color = <LED_COLOR_ID_GREEN>;
 30                         function = LED_FUNCTION_DEBUG;
 31                         function-enumerator = <1>;
 32                         gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
 33                 };
 34 
 35                 /* SODIMM 56 - USER_LED_2_RED */
 36                 led-2 {
 37                         color = <LED_COLOR_ID_RED>;
 38                         function = LED_FUNCTION_DEBUG;
 39                         function-enumerator = <2>;
 40                         gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>;
 41                 };
 42 
 43                 /* SODIMM 58 - USER_LED_2_GREEN */
 44                 led-3 {
 45                         color = <LED_COLOR_ID_GREEN>;
 46                         function = LED_FUNCTION_DEBUG;
 47                         function-enumerator = <2>;
 48                         gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>;
 49                 };
 50         };
 51 };
 52 
 53 /* Verdin SPI_1 */
 54 &ecspi2 {
 55         pinctrl-0 = <&pinctrl_ecspi2>, <&pinctrl_tpm_cs>;
 56         cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>, <&gpio3 2 GPIO_ACTIVE_LOW>;
 57         status = "okay";
 58 
 59         tpm@1 {
 60                 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
 61                 reg = <1>;
 62                 pinctrl-names = "default";
 63                 pinctrl-0 = <&pinctrl_tpm_irq>;
 64                 interrupt-parent = <&gpio3>;
 65                 interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
 66                 spi-max-frequency = <18500000>;
 67         };
 68 };
 69 
 70 /* EEPROM on Mallow */
 71 &eeprom_carrier_board {
 72         status = "okay";
 73 };
 74 
 75 /* Verdin ETH_1 */
 76 &fec1 {
 77         status = "okay";
 78 };
 79 
 80 /* Temperature sensor on Mallow */
 81 &hwmon_temp {
 82         compatible = "ti,tmp1075";
 83         status = "okay";
 84 };
 85 
 86 /* Verdin I2C_2_DSI */
 87 &i2c2 {
 88         status = "okay";
 89 };
 90 
 91 /* Verdin I2C_4_CSI */
 92 &i2c3 {
 93         status = "okay";
 94 };
 95 
 96 /* Verdin I2C_1 */
 97 &i2c4 {
 98         status = "okay";
 99 };
100 
101 /* Verdin PCIE_1 */
102 &pcie0 {
103         status = "okay";
104 };
105 
106 &pcie_phy {
107         status = "okay";
108 };
109 
110 /* Verdin PWM_3_DSI */
111 &pwm1 {
112         status = "okay";
113 };
114 
115 /* Verdin PWM_1 */
116 &pwm2 {
117         status = "okay";
118 };
119 
120 /* Verdin PWM_2 */
121 &pwm3 {
122         status = "okay";
123 };
124 
125 /* Verdin UART_3 */
126 &uart1 {
127         status = "okay";
128 };
129 
130 /* Verdin UART_1 */
131 &uart2 {
132         status = "okay";
133 };
134 
135 /* Verdin UART_2 */
136 &uart3 {
137         status = "okay";
138 };
139 
140 /* Verdin USB_1 */
141 &usbotg1 {
142         status = "okay";
143 };
144 
145 /* Verdin USB_2 */
146 &usbotg2 {
147         status = "okay";
148 };
149 
150 /* Verdin SD_1 */
151 &usdhc2 {
152         status = "okay";
153 };
154 
155 &iomuxc {
156         pinctrl_leds: ledsgrp {
157                 fsl,pins =
158                         <MX8MM_IOMUXC_NAND_ALE_GPIO3_IO0        0x106>, /* SODIMM 52 */
159                         <MX8MM_IOMUXC_NAND_CE0_B_GPIO3_IO1      0x106>, /* SODIMM 54 */
160                         <MX8MM_IOMUXC_NAND_DATA00_GPIO3_IO6     0x106>, /* SODIMM 56 */
161                         <MX8MM_IOMUXC_NAND_DATA01_GPIO3_IO7     0x106>; /* SODIMM 58 */
162         };
163 
164         pinctrl_tpm_cs: tpmcsgrp {
165                 fsl,pins =
166                         <MX8MM_IOMUXC_NAND_CE1_B_GPIO3_IO2      0x146>; /* SODIMM 64 */
167         };
168 
169         pinctrl_tpm_irq: tpmirqgrp {
170                 fsl,pins =
171                         <MX8MM_IOMUXC_NAND_DQS_GPIO3_IO14       0x141>; /* SODIMM 66 */
172         };
173 };

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