1 // SPDX-License-Identifier: GPL-2.0-or-later O 2 /* 3 * Copyright 2023 Toradex 4 * 5 * Common dtsi for Verdin IMX8MM SoM on Mallow 6 * 7 * https://www.toradex.com/computer-on-modules 8 * https://www.toradex.com/products/carrier-bo 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_ 22 function = LED_FUNCTIO 23 function-enumerator = 24 gpios = <&gpio3 0 GPIO 25 }; 26 27 /* SODIMM 54 - USER_LED_1_GREE 28 led-1 { 29 color = <LED_COLOR_ID_ 30 function = LED_FUNCTIO 31 function-enumerator = 32 gpios = <&gpio3 1 GPIO 33 }; 34 35 /* SODIMM 56 - USER_LED_2_RED 36 led-2 { 37 color = <LED_COLOR_ID_ 38 function = LED_FUNCTIO 39 function-enumerator = 40 gpios = <&gpio3 6 GPIO 41 }; 42 43 /* SODIMM 58 - USER_LED_2_GREE 44 led-3 { 45 color = <LED_COLOR_ID_ 46 function = LED_FUNCTIO 47 function-enumerator = 48 gpios = <&gpio3 7 GPIO 49 }; 50 }; 51 }; 52 53 /* Verdin SPI_1 */ 54 &ecspi2 { 55 pinctrl-0 = <&pinctrl_ecspi2>, <&pinct 56 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW> 57 status = "okay"; 58 59 tpm@1 { 60 compatible = "infineon,slb9670 61 reg = <1>; 62 pinctrl-names = "default"; 63 pinctrl-0 = <&pinctrl_tpm_irq> 64 interrupt-parent = <&gpio3>; 65 interrupts = <14 IRQ_TYPE_LEVE 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 159 <MX8MM_IOMUXC_NAND_CE0 160 <MX8MM_IOMUXC_NAND_DAT 161 <MX8MM_IOMUXC_NAND_DAT 162 }; 163 164 pinctrl_tpm_cs: tpmcsgrp { 165 fsl,pins = 166 <MX8MM_IOMUXC_NAND_CE1 167 }; 168 169 pinctrl_tpm_irq: tpmirqgrp { 170 fsl,pins = 171 <MX8MM_IOMUXC_NAND_DQS 172 }; 173 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.