1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the RZ/{G2L,G2LC,V2L} SMARC EVK common parts
5 * Copyright (C) 2022 Renesas Electronics Corp.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
14 * This command is required when Playback/Capture
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
32 stdout-path = "serial0:115200n8";
35 audio_mclock: audio_mclock {
36 compatible = "fixed-clock";
38 clock-frequency = <11289600>;
42 compatible = "simple-audio-card";
43 simple-audio-card,format = "i2s";
44 simple-audio-card,bitclock-master = <&cpu_dai>;
45 simple-audio-card,frame-master = <&cpu_dai>;
46 simple-audio-card,mclk-fs = <256>;
48 simple-audio-card,widgets = "Microphone", "Microphone Jack";
49 simple-audio-card,routing =
52 "Mic Bias", "Microphone Jack";
54 cpu_dai: simple-audio-card,cpu {
57 codec_dai: simple-audio-card,codec {
58 clocks = <&audio_mclock>;
59 sound-dai = <&wm8978>;
63 usb0_vbus_otg: regulator-usb0-vbus-otg {
64 compatible = "regulator-fixed";
66 regulator-name = "USB0_VBUS_OTG";
67 regulator-min-microvolt = <5000000>;
68 regulator-max-microvolt = <5000000>;
71 vccq_sdhi1: regulator-vccq-sdhi1 {
72 compatible = "regulator-gpio";
73 regulator-name = "SDHI1 VccQ";
74 regulator-min-microvolt = <1800000>;
75 regulator-max-microvolt = <3300000>;
77 states = <3300000 1>, <1800000 0>;
82 clock-frequency = <11289600>;
86 clock-frequency = <12288000>;
90 pinctrl-0 = <&can0_pins &can1_pins>;
91 pinctrl-names = "default";
118 pinctrl-0 = <&i2c0_pins>;
119 pinctrl-names = "default";
125 pinctrl-0 = <&i2c1_pins>;
126 pinctrl-names = "default";
145 pinctrl-0 = <&scif0_pins>;
146 pinctrl-names = "default";
151 pinctrl-0 = <&sdhi1_pins>;
152 pinctrl-1 = <&sdhi1_pins_uhs>;
153 pinctrl-names = "default", "state_uhs";
155 vmmc-supply = <®_3p3v>;
156 vqmmc-supply = <&vccq_sdhi1>;
164 pinctrl-0 = <&spi1_pins>;
165 pinctrl-names = "default";
171 pinctrl-0 = <&usb0_pins>;
172 pinctrl-names = "default";
174 vbus-supply = <&usb0_vbus_otg>;
179 pinctrl-0 = <&usb1_pins>;
180 pinctrl-names = "default";