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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.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 2022 Toradex
  4  */
  5 
  6 / {
  7         sound_card: sound-card {
  8                 compatible = "simple-audio-card";
  9                 simple-audio-card,bitclock-master = <&dailink_master>;
 10                 simple-audio-card,format = "i2s";
 11                 simple-audio-card,frame-master = <&dailink_master>;
 12                 simple-audio-card,mclk-fs = <256>;
 13                 simple-audio-card,name = "verdin-nau8822";
 14                 simple-audio-card,routing =
 15                         "Headphones", "LHP",
 16                         "Headphones", "RHP",
 17                         "Speaker", "LSPK",
 18                         "Speaker", "RSPK",
 19                         "Line Out", "AUXOUT1",
 20                         "Line Out", "AUXOUT2",
 21                         "LAUX", "Line In",
 22                         "RAUX", "Line In",
 23                         "LMICP", "Mic In",
 24                         "RMICP", "Mic In";
 25                 simple-audio-card,widgets =
 26                         "Headphones", "Headphones",
 27                         "Line Out", "Line Out",
 28                         "Speaker", "Speaker",
 29                         "Microphone", "Mic In",
 30                         "Line", "Line In";
 31 
 32                 dailink_master: simple-audio-card,codec {
 33                         clocks = <&clk IMX8MM_CLK_SAI2_ROOT>;
 34                         sound-dai = <&nau8822_1a>;
 35                 };
 36 
 37                 simple-audio-card,cpu {
 38                         sound-dai = <&sai2>;
 39                 };
 40         };
 41 };
 42 
 43 /* Verdin SPI_1 */
 44 &ecspi2 {
 45         status = "okay";
 46 };
 47 
 48 /* EEPROM on display adapter boards */
 49 &eeprom_display_adapter {
 50         status = "okay";
 51 };
 52 
 53 /* EEPROM on Verdin Development board */
 54 &eeprom_carrier_board {
 55         status = "okay";
 56 };
 57 
 58 &fec1 {
 59         status = "okay";
 60 };
 61 
 62 /* Verdin QSPI_1 */
 63 &flexspi {
 64         status = "okay";
 65 };
 66 
 67 /* Current measurement into module VCC */
 68 &hwmon {
 69         status = "okay";
 70 };
 71 
 72 &hwmon_temp {
 73         vs-supply = <&reg_1p8v>;
 74         status = "okay";
 75 };
 76 
 77 &i2c3 {
 78         status = "okay";
 79 };
 80 
 81 &gpio5 {
 82         pinctrl-names = "default";
 83         pinctrl-0 = <&pinctrl_ctrl_sleep_moci>;
 84 };
 85 
 86 &gpio_expander_21 {
 87         status = "okay";
 88 };
 89 
 90 /* Verdin I2C_1 */
 91 &i2c4 {
 92         status = "okay";
 93 
 94         /* Audio Codec */
 95         nau8822_1a: audio-codec@1a {
 96                 compatible = "nuvoton,nau8822";
 97                 reg = <0x1a>;
 98                 #sound-dai-cells = <0>;
 99         };
100 };
101 
102 /* Verdin PCIE_1 */
103 &pcie0 {
104         status = "okay";
105 };
106 
107 &pcie_phy {
108         status = "okay";
109 };
110 
111 /* Verdin PWM_3_DSI */
112 &pwm1 {
113         status = "okay";
114 };
115 
116 /* Verdin PWM_1 */
117 &pwm2 {
118         status = "okay";
119 };
120 
121 /* Verdin PWM_2 */
122 &pwm3 {
123         status = "okay";
124 };
125 
126 /* Verdin I2S_1 */
127 &sai2 {
128         status = "okay";
129 };
130 
131 /* Verdin UART_3 */
132 &uart1 {
133         status = "okay";
134 };
135 
136 /* Verdin UART_1, connector X50 through RS485 transceiver */
137 &uart2 {
138         linux,rs485-enabled-at-boot-time;
139         rs485-rts-active-low;
140         rs485-rx-during-tx;
141         status = "okay";
142 };
143 
144 /* Verdin UART_2 */
145 &uart3 {
146         status = "okay";
147 };
148 
149 /* Verdin USB_1 */
150 &usbotg1 {
151         disable-over-current;
152         status = "okay";
153 };
154 
155 /* Verdin USB_2 */
156 &usbotg2 {
157         disable-over-current;
158         status = "okay";
159 };
160 
161 /* Limit frequency on dev board due to long traces and bad signal integrity */
162 &usdhc2 {
163         max-frequency = <100000000>;
164         status = "okay";
165 };

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