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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/freescale/imx8-apalis-eval-v1.2.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.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 2024 Toradex
  4  */
  5 
  6 #include "imx8-apalis-eval.dtsi"
  7 
  8 / {
  9         reg_3v3_mmc: regulator-3v3-mmc {
 10                 compatible = "regulator-fixed";
 11                 pinctrl-names = "default";
 12                 pinctrl-0 = <&pinctrl_enable_3v3_mmc>;
 13                 enable-active-high;
 14                 gpio = <&lsio_gpio5 19 GPIO_ACTIVE_HIGH>;
 15                 off-on-delay-us = <100000>;
 16                 regulator-max-microvolt = <3300000>;
 17                 regulator-min-microvolt = <3300000>;
 18                 regulator-name = "3.3V_MMC";
 19                 startup-delay-us = <10000>;
 20         };
 21 
 22         reg_3v3_sd: regulator-3v3-sd {
 23                 compatible = "regulator-fixed";
 24                 pinctrl-names = "default";
 25                 pinctrl-0 = <&pinctrl_enable_3v3_sd>;
 26                 enable-active-high;
 27                 gpio = <&lsio_gpio5 20 GPIO_ACTIVE_HIGH>;
 28                 off-on-delay-us = <100000>;
 29                 regulator-max-microvolt = <3300000>;
 30                 regulator-min-microvolt = <3300000>;
 31                 regulator-name = "3.3V_SD";
 32                 startup-delay-us = <10000>;
 33         };
 34 
 35         reg_can1: regulator-can1 {
 36                 compatible = "regulator-fixed";
 37                 pinctrl-names = "default";
 38                 pinctrl-0 = <&pinctrl_enable_can1_power>;
 39                 enable-active-high;
 40                 gpio = <&lsio_gpio5 22 GPIO_ACTIVE_HIGH>;
 41                 regulator-name = "5V_SW_CAN1";
 42                 startup-delay-us = <10000>;
 43         };
 44 
 45         reg_can2: regulator-can2 {
 46                 compatible = "regulator-fixed";
 47                 pinctrl-names = "default";
 48                 pinctrl-0 = <&pinctrl_enable_can2_power>;
 49                 enable-active-high;
 50                 gpio = <&lsio_gpio5 21 GPIO_ACTIVE_HIGH>;
 51                 regulator-name = "5V_SW_CAN2";
 52                 startup-delay-us = <10000>;
 53         };
 54 };
 55 
 56 /* Apalis CAN1 */
 57 &flexcan1 {
 58         xceiver-supply = <&reg_can1>;
 59         status = "okay";
 60 };
 61 
 62 /* Apalis CAN2 */
 63 &flexcan2 {
 64         xceiver-supply = <&reg_can2>;
 65         status = "okay";
 66 };
 67 
 68 /* Apalis I2C1 */
 69 &i2c2 {
 70         status = "okay";
 71 
 72         /* Power/Current Measurement Sensor */
 73         hwmon@40 {
 74                 compatible = "ti,ina219";
 75                 reg = <0x40>;
 76                 shunt-resistor = <5000>;
 77         };
 78 
 79         temperature-sensor@4f {
 80                 compatible = "ti,tmp75c";
 81                 reg = <0x4f>;
 82         };
 83 
 84         eeprom@57 {
 85                 compatible = "st,24c02", "atmel,24c02";
 86                 reg = <0x57>;
 87         };
 88 };
 89 
 90 /* Apalis MMC1 */
 91 &usdhc2 {
 92         pinctrl-0 = <&pinctrl_usdhc2_4bit>, <&pinctrl_mmc1_cd>;
 93         pinctrl-1 = <&pinctrl_usdhc2_4bit_100mhz>, <&pinctrl_mmc1_cd>;
 94         pinctrl-2 = <&pinctrl_usdhc2_4bit_200mhz>, <&pinctrl_mmc1_cd>;
 95         pinctrl-3 = <&pinctrl_usdhc2_4bit_sleep>, <&pinctrl_mmc1_cd_sleep>;
 96         bus-width = <4>;
 97         vmmc-supply = <&reg_3v3_mmc>;
 98         status = "okay";
 99 };
100 
101 /* Apalis SD1 */
102 &usdhc3 {
103         vmmc-supply = <&reg_3v3_sd>;
104         status = "okay";
105 };
106 
107 &iomuxc {
108 
109         pinctrl_enable_3v3_mmc: enable3v3mmcgrp {
110                 fsl,pins = <IMX8QM_USDHC1_DATA4_LSIO_GPIO5_IO19 0x00000021>; /* MXM3_148 */
111         };
112 
113         pinctrl_enable_3v3_sd: enable3v3sdgrp {
114                 fsl,pins = <IMX8QM_USDHC1_DATA5_LSIO_GPIO5_IO20 0x00000021>; /* MXM3_152 */
115         };
116 
117         pinctrl_enable_can1_power: enablecan1powergrp {
118                 fsl,pins = <IMX8QM_USDHC1_DATA7_LSIO_GPIO5_IO22 0x00000021>; /* MXM3_158 */
119         };
120 
121         pinctrl_enable_can2_power: enablecan2powergrp {
122                 fsl,pins = <IMX8QM_USDHC1_DATA6_LSIO_GPIO5_IO21 0x00000021>; /* MXM3_156 */
123         };
124 };

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