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";
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>;
42 simple-audio-card,widgets = "Microphone", "Microphone Jack";
43 simple-audio-card,routing =
46 "Mic Bias", "Microphone Jack";
48 cpu_dai: simple-audio-card,cpu {
51 codec_dai: simple-audio-card,codec {
53 sound-dai = <&wm8978>;
57 usb0_vbus_otg: regulator-usb0-vbus-otg {
58 compatible = "regulator-fixed";
60 regulator-name = "USB0_VBUS_OTG";
61 regulator-min-microvolt = <5000000>;
62 regulator-max-microvolt = <5000000>;
65 vccq_sdhi1: regulator-vccq-sdhi1 {
66 compatible = "regulator-gpio";
67 regulator-name = "SDHI1 VccQ";
68 regulator-min-microvolt = <1800000>;
69 regulator-max-microvolt = <3300000>;
71 states = <3300000 1>, <1800000 0>;
75 compatible = "fixed-clock";
77 clock-frequency = <24000000>;
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";