2 * Device Tree Source for the iWave-RZG1E SODIMM carrier board
4 * Copyright (C) 2017 Renesas Electronics Corp.
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
14 * This command is required when Playback/Capture
16 * amixer set "DVC Out" 100%
17 * amixer set "DVC In" 100%
21 * amixer set "DVC Out Mute" on
22 * amixer set "DVC In Mute" on
24 * You can use Volume Ramp
26 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
27 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
28 * amixer set "DVC Out Ramp" on
30 * amixer set "DVC Out" 80% // Volume Down
31 * amixer set "DVC Out" 100% // Volume Up
35 #include "r8a7745-iwg22m.dtsi"
38 model = "iWave Systems RainboW-G22D-SODIMM board based on RZ/G1E";
39 compatible = "iwave,g22d", "iwave,g22m", "renesas,r8a7745";
48 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
49 stdout-path = "serial3:115200n8";
52 audio_clock: audio_clock {
53 compatible = "fixed-clock";
55 clock-frequency = <26000000>;
58 rsnd_sgtl5000: sound {
59 compatible = "simple-audio-card";
60 simple-audio-card,format = "i2s";
61 simple-audio-card,bitclock-master = <&sndcodec>;
62 simple-audio-card,frame-master = <&sndcodec>;
64 sndcpu: simple-audio-card,cpu {
65 sound-dai = <&rcar_sound>;
68 sndcodec: simple-audio-card,codec {
69 sound-dai = <&sgtl5000>;
73 vccq_sdhi0: regulator-vccq-sdhi0 {
74 compatible = "regulator-gpio";
76 regulator-name = "SDHI0 VccQ";
77 regulator-min-microvolt = <1800000>;
78 regulator-max-microvolt = <3300000>;
80 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
88 pinctrl-0 = <&avb_pins>;
89 pinctrl-names = "default";
93 renesas,no-ether-link;
96 phy3: ethernet-phy@3 {
98 * On some older versions of the platform (before R4.0) the phy address
99 * may be 1 or 3. The address is fixed to 3 for R4.0 onwards.
102 micrel,led-mode = <1>;
107 pinctrl-0 = <&can0_pins>;
108 pinctrl-names = "default";
114 pinctrl-0 = <&hscif1_pins>;
115 pinctrl-names = "default";
123 pinctrl-0 = <&usb0_pins>;
124 pinctrl-names = "default";
128 pinctrl-0 = <&i2c5_pins>;
129 pinctrl-names = "default";
132 clock-frequency = <400000>;
135 compatible = "fsl,sgtl5000";
136 #sound-dai-cells = <0>;
138 clocks = <&audio_clock>;
139 VDDA-supply = <®_3p3v>;
140 VDDIO-supply = <®_3p3v>;
146 pinctrl-0 = <&usb1_pins>;
147 pinctrl-names = "default";
152 groups = "avb_mdio", "avb_gmii";
157 groups = "can0_data";
161 hscif1_pins: hscif1 {
162 groups = "hscif1_data", "hscif1_ctrl";
172 groups = "scif4_data_b";
177 groups = "sdhi0_data4", "sdhi0_ctrl";
179 power-source = <3300>;
183 groups = "ssi34_ctrl", "ssi3_data", "ssi4_data";
199 pinctrl-0 = <&sound_pins>;
200 pinctrl-names = "default";
205 #sound-dai-cells = <0>;
209 playback = <&ssi3 &src3 &dvc0>;
210 capture = <&ssi4 &src4 &dvc1>;
216 pinctrl-0 = <&scif4_pins>;
217 pinctrl-names = "default";
223 pinctrl-0 = <&sdhi0_pins>;
224 pinctrl-names = "default";
226 vmmc-supply = <®_3p3v>;
227 vqmmc-supply = <&vccq_sdhi0>;
228 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;