1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board
5 * Copyright (C) 2017 Renesas Electronics Corp.
11 * This command is required when Playback/Capture
13 * amixer set "DVC Out" 100%
14 * amixer set "DVC In" 100%
18 * amixer set "DVC Out Mute" on
19 * amixer set "DVC In Mute" on
21 * You can use Volume Ramp
23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25 * amixer set "DVC Out Ramp" on
27 * amixer set "DVC Out" 80% // Volume Down
28 * amixer set "DVC Out" 100% // Volume Up
32 #include "r8a7745-iwg22m.dtsi"
35 model = "iWave Systems RainboW-G22D-SODIMM board based on RZ/G1E";
36 compatible = "iwave,g22d", "iwave,g22m", "renesas,r8a7745";
45 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
46 stdout-path = "serial3:115200n8";
49 audio_clock: audio_clock {
50 compatible = "fixed-clock";
52 clock-frequency = <26000000>;
55 rsnd_sgtl5000: sound {
56 compatible = "simple-audio-card";
57 simple-audio-card,format = "i2s";
58 simple-audio-card,bitclock-master = <&sndcodec>;
59 simple-audio-card,frame-master = <&sndcodec>;
61 sndcpu: simple-audio-card,cpu {
62 sound-dai = <&rcar_sound>;
65 sndcodec: simple-audio-card,codec {
66 sound-dai = <&sgtl5000>;
70 vccq_sdhi0: regulator-vccq-sdhi0 {
71 compatible = "regulator-gpio";
73 regulator-name = "SDHI0 VccQ";
74 regulator-min-microvolt = <1800000>;
75 regulator-max-microvolt = <3300000>;
77 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
79 states = <3300000 1>, <1800000 0>;
84 pinctrl-0 = <&avb_pins>;
85 pinctrl-names = "default";
89 renesas,no-ether-link;
92 phy3: ethernet-phy@3 {
94 * On some older versions of the platform (before R4.0) the phy address
95 * may be 1 or 3. The address is fixed to 3 for R4.0 onwards.
98 micrel,led-mode = <1>;
103 pinctrl-0 = <&can0_pins>;
104 pinctrl-names = "default";
110 pinctrl-0 = <&hscif1_pins>;
111 pinctrl-names = "default";
119 pinctrl-0 = <&usb0_pins>;
120 pinctrl-names = "default";
124 pinctrl-0 = <&i2c5_pins>;
125 pinctrl-names = "default";
128 clock-frequency = <400000>;
131 compatible = "fsl,sgtl5000";
132 #sound-dai-cells = <0>;
134 clocks = <&audio_clock>;
135 VDDA-supply = <®_3p3v>;
136 VDDIO-supply = <®_3p3v>;
142 pinctrl-0 = <&usb1_pins>;
143 pinctrl-names = "default";
148 groups = "avb_mdio", "avb_gmii";
153 groups = "can0_data";
157 hscif1_pins: hscif1 {
158 groups = "hscif1_data", "hscif1_ctrl";
168 groups = "scif4_data_b";
173 groups = "sdhi0_data4", "sdhi0_ctrl";
175 power-source = <3300>;
179 groups = "ssi34_ctrl", "ssi3_data", "ssi4_data";
195 pinctrl-0 = <&sound_pins>;
196 pinctrl-names = "default";
201 #sound-dai-cells = <0>;
205 playback = <&ssi3 &src3 &dvc0>;
206 capture = <&ssi4 &src4 &dvc1>;
212 pinctrl-0 = <&scif4_pins>;
213 pinctrl-names = "default";
219 pinctrl-0 = <&sdhi0_pins>;
220 pinctrl-names = "default";
222 vmmc-supply = <®_3p3v>;
223 vqmmc-supply = <&vccq_sdhi0>;
224 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;