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>;
85 pinctrl-0 = <&avb_pins>;
86 pinctrl-names = "default";
90 renesas,no-ether-link;
93 phy3: ethernet-phy@3 {
95 * On some older versions of the platform (before R4.0) the phy address
96 * may be 1 or 3. The address is fixed to 3 for R4.0 onwards.
99 micrel,led-mode = <1>;
104 pinctrl-0 = <&can0_pins>;
105 pinctrl-names = "default";
111 pinctrl-0 = <&hscif1_pins>;
112 pinctrl-names = "default";
120 pinctrl-0 = <&usb0_pins>;
121 pinctrl-names = "default";
125 pinctrl-0 = <&i2c5_pins>;
126 pinctrl-names = "default";
129 clock-frequency = <400000>;
132 compatible = "fsl,sgtl5000";
133 #sound-dai-cells = <0>;
135 clocks = <&audio_clock>;
136 VDDA-supply = <®_3p3v>;
137 VDDIO-supply = <®_3p3v>;
143 pinctrl-0 = <&usb1_pins>;
144 pinctrl-names = "default";
149 groups = "avb_mdio", "avb_gmii";
154 groups = "can0_data";
158 hscif1_pins: hscif1 {
159 groups = "hscif1_data", "hscif1_ctrl";
169 groups = "scif4_data_b";
174 groups = "sdhi0_data4", "sdhi0_ctrl";
176 power-source = <3300>;
180 groups = "ssi34_ctrl", "ssi3_data", "ssi4_data";
196 pinctrl-0 = <&sound_pins>;
197 pinctrl-names = "default";
202 #sound-dai-cells = <0>;
206 playback = <&ssi3 &src3 &dvc0>;
207 capture = <&ssi4 &src4 &dvc1>;
213 pinctrl-0 = <&scif4_pins>;
214 pinctrl-names = "default";
220 pinctrl-0 = <&sdhi0_pins>;
221 pinctrl-names = "default";
223 vmmc-supply = <®_3p3v>;
224 vqmmc-supply = <&vccq_sdhi0>;
225 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;