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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/freescale/imx8mn-dimonoff-gateway-evk.dts

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 MIT)
  2 /*
  3  * Copyright 2022 DimOnOff
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include <dt-bindings/usb/pd.h>
  9 #include "imx8mn-var-som-symphony.dts"
 10 
 11 / {
 12         model = "DimOnOff Gateway EVK board";
 13         compatible = "dimonoff,gateway-evk", "variscite,var-som-mx8mn",
 14                      "fsl,imx8mn";
 15 
 16         /*
 17          * U30 FPF2193 regulator.
 18          * Source = BASE_PER_3V3 = SOM_3V3 (COM pin 49).
 19          */
 20         reg_disp_3v3: regulator-disp-3v3 {
 21                 compatible = "regulator-fixed";
 22                 regulator-name = "Display 3V3";
 23                 regulator-min-microvolt = <3300000>;
 24                 regulator-max-microvolt = <3300000>;
 25                 regulator-always-on;
 26                 regulator-boot-on;
 27         };
 28 
 29         gpio-keys {
 30                 compatible = "gpio-keys";
 31                 pinctrl-names = "default";
 32                 pinctrl-0 = <&pinctrl_gpio_keys>;
 33 
 34                 key-enter {
 35                         label = "enter";
 36                         gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
 37                         linux,code = <KEY_ENTER>;
 38                         wakeup-source;
 39                 };
 40         };
 41 
 42         /* Bourns PEC12R rotary encoder, 24 steps. */
 43         rotary: rotary-encoder {
 44                 compatible = "rotary-encoder";
 45                 pinctrl-names = "default";
 46                 pinctrl-0 = <&pinctrl_rotary>;
 47                 gpios = <&gpio5 12 GPIO_ACTIVE_LOW>, /* A */
 48                         <&gpio5 13 GPIO_ACTIVE_LOW>; /* B */
 49                 linux,axis = <0>; /* REL_X */
 50                 rotary-encoder,encoding = "gray";
 51                 rotary-encoder,relative-axis;
 52         };
 53 };
 54 
 55 /* Disable Asynchronous Sample Rate Converter (audio) */
 56 &easrc {
 57         status = "disabled";
 58 };
 59 
 60 &ecspi1 {
 61         /* Resistive touch controller */
 62         /delete-node/ touchscreen@0;
 63 };
 64 
 65 &gpu {
 66         status = "disabled";
 67 };
 68 
 69 &i2c2 {
 70         adc@48 {
 71                 compatible = "ti,ads7924";
 72                 reg = <0x48>;
 73                 pinctrl-names = "default";
 74                 pinctrl-0 = <&pinctrl_adc>;
 75                 vref-supply = <&reg_disp_3v3>;
 76                 reset-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>;
 77                 #address-cells = <1>;
 78                 #size-cells = <0>;
 79 
 80                 channel@0 {
 81                         reg = <0>;
 82                         label = "Pot0";
 83                 };
 84                 channel@1 {
 85                         reg = <1>;
 86                         label = "Pot1";
 87                 };
 88                 channel@2 {
 89                         reg = <2>;
 90                         label = "Pot2";
 91                 };
 92                 channel@3 {
 93                         reg = <3>;
 94                         label = "Pot3";
 95                 };
 96         };
 97 
 98         rtc@51 {
 99                 compatible = "nxp,pcf2129";
100                 reg = <0x51>;
101                 reset-source; /* For watchdog. */
102         };
103 
104         rtc@53 {
105                 compatible = "nxp,pcf2131";
106                 reg = <0x53>;
107                 pinctrl-names = "default";
108                 pinctrl-0 = <&pinctrl_rtc>;
109                 reset-source; /* For watchdog. */
110                 interrupt-parent = <&gpio5>;
111                 interrupts = <10 IRQ_TYPE_EDGE_FALLING>; /* J17.6 on EVK */
112         };
113 };
114 
115 &i2c3 {
116         touchscreen@38 {
117                 status = "disabled";
118         };
119 
120         codec@1a {
121                 status = "disabled";
122         };
123 
124         /* DS1337 RTC module */
125         rtc@68 {
126                 status = "disabled";
127         };
128 };
129 
130 &sai5 {
131         status = "disabled";
132 };
133 
134 &iomuxc {
135         pinctrl_gpio_keys: gpiokeysgrp {
136                 fsl,pins = <
137                         MX8MN_IOMUXC_GPIO1_IO08_GPIO1_IO8       0xc6
138                 >;
139         };
140 
141         pinctrl_rotary: rotarygrp {
142                 fsl,pins = <
143                         MX8MN_IOMUXC_ECSPI2_MISO_GPIO5_IO12     0x00000156
144                         MX8MN_IOMUXC_ECSPI2_SS0_GPIO5_IO13      0x00000156
145                 >;
146         };
147 
148         pinctrl_adc: adcgrp {
149                 fsl,pins = <
150                         MX8MN_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5    0x00000156
151                 >;
152         };
153 
154         pinctrl_rtc: rtcgrp {
155                 fsl,pins = <
156                         MX8MN_IOMUXC_ECSPI2_SCLK_GPIO5_IO10     0x00000156
157                         MX8MN_IOMUXC_ECSPI2_MOSI_GPIO5_IO11     0x00000156
158                 >;
159         };
160 };

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