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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/renesas/rz-smarc-common.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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 /*
  3  * Device Tree Source for the RZ/{G2L,G2LC,V2L} SMARC EVK common parts
  4  *
  5  * Copyright (C) 2022 Renesas Electronics Corp.
  6  */
  7 
  8 #include <dt-bindings/gpio/gpio.h>
  9 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
 10 
 11 /*
 12  * SSI-WM8978
 13  *
 14  * This command is required when Playback/Capture
 15  *
 16  *      amixer cset name='Left Input Mixer L2 Switch' on
 17  *      amixer cset name='Right Input Mixer R2 Switch' on
 18  *      amixer cset name='Headphone Playback Volume' 100
 19  *      amixer cset name='PCM Volume' 100%
 20  *      amixer cset name='Input PGA Volume' 25
 21  *
 22  */
 23 
 24 / {
 25         aliases {
 26                 serial0 = &scif0;
 27                 i2c0 = &i2c0;
 28                 i2c1 = &i2c1;
 29         };
 30 
 31         chosen {
 32                 stdout-path = "serial0:115200n8";
 33         };
 34 
 35         snd_rzg2l: sound {
 36                 compatible = "simple-audio-card";
 37                 simple-audio-card,format = "i2s";
 38                 simple-audio-card,bitclock-master = <&cpu_dai>;
 39                 simple-audio-card,frame-master = <&cpu_dai>;
 40                 simple-audio-card,mclk-fs = <256>;
 41 
 42                 simple-audio-card,widgets = "Microphone", "Microphone Jack";
 43                 simple-audio-card,routing =
 44                             "L2", "Mic Bias",
 45                             "R2", "Mic Bias",
 46                             "Mic Bias", "Microphone Jack";
 47 
 48                 cpu_dai: simple-audio-card,cpu {
 49                 };
 50 
 51                 codec_dai: simple-audio-card,codec {
 52                         clocks = <&versa3 2>;
 53                         sound-dai = <&wm8978>;
 54                 };
 55         };
 56 
 57         vccq_sdhi1: regulator-vccq-sdhi1 {
 58                 compatible = "regulator-gpio";
 59                 regulator-name = "SDHI1 VccQ";
 60                 regulator-min-microvolt = <1800000>;
 61                 regulator-max-microvolt = <3300000>;
 62                 gpios-states = <1>;
 63                 states = <3300000 1>, <1800000 0>;
 64         };
 65 
 66         x1: x1-clock {
 67                 compatible = "fixed-clock";
 68                 #clock-cells = <0>;
 69                 clock-frequency = <24000000>;
 70         };
 71 };
 72 
 73 &audio_clk1 {
 74         clock-frequency = <11289600>;
 75 };
 76 
 77 &audio_clk2 {
 78         clock-frequency = <12288000>;
 79 };
 80 
 81 &canfd {
 82         pinctrl-0 = <&can0_pins &can1_pins>;
 83         pinctrl-names = "default";
 84         status = "okay";
 85 
 86         channel0 {
 87                 status = "okay";
 88         };
 89 
 90         channel1 {
 91                 status = "okay";
 92         };
 93 };
 94 
 95 &ehci0 {
 96         dr_mode = "otg";
 97         status = "okay";
 98 };
 99 
100 &ehci1 {
101         status = "okay";
102 };
103 
104 &hsusb {
105         dr_mode = "otg";
106         status = "okay";
107 };
108 
109 &i2c0 {
110         pinctrl-0 = <&i2c0_pins>;
111         pinctrl-names = "default";
112 
113         status = "okay";
114 };
115 
116 &i2c1 {
117         pinctrl-0 = <&i2c1_pins>;
118         pinctrl-names = "default";
119 
120         status = "okay";
121 };
122 
123 &ohci0 {
124         dr_mode = "otg";
125         status = "okay";
126 };
127 
128 &ohci1 {
129         status = "okay";
130 };
131 
132 &phyrst {
133         status = "okay";
134 };
135 
136 &scif0 {
137         pinctrl-0 = <&scif0_pins>;
138         pinctrl-names = "default";
139         status = "okay";
140 };
141 
142 &sdhi1 {
143         pinctrl-0 = <&sdhi1_pins>;
144         pinctrl-1 = <&sdhi1_pins_uhs>;
145         pinctrl-names = "default", "state_uhs";
146 
147         vmmc-supply = <&reg_3p3v>;
148         vqmmc-supply = <&vccq_sdhi1>;
149         bus-width = <4>;
150         sd-uhs-sdr50;
151         sd-uhs-sdr104;
152         status = "okay";
153 };
154 
155 &spi1 {
156         pinctrl-0 = <&spi1_pins>;
157         pinctrl-names = "default";
158 
159         status = "okay";
160 };
161 
162 &usb2_phy0 {
163         pinctrl-0 = <&usb0_pins>;
164         pinctrl-names = "default";
165 
166         vbus-supply = <&usb0_vbus_otg>;
167         status = "okay";
168 };
169 
170 &usb2_phy1 {
171         pinctrl-0 = <&usb1_pins>;
172         pinctrl-names = "default";
173 
174         status = "okay";
175 };

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