2 * Device Tree Source for the iWave-RZ/G1M/G1N Qseven 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
42 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
43 stdout-path = "serial0:115200n8";
46 audio_clock: audio_clock {
47 compatible = "fixed-clock";
49 clock-frequency = <26000000>;
53 compatible = "regulator-fixed";
54 regulator-name = "1P5V";
55 regulator-min-microvolt = <1500000>;
56 regulator-max-microvolt = <1500000>;
60 rsnd_sgtl5000: sound {
61 compatible = "simple-audio-card";
63 simple-audio-card,format = "i2s";
64 simple-audio-card,bitclock-master = <&sndcodec>;
65 simple-audio-card,frame-master = <&sndcodec>;
67 sndcpu: simple-audio-card,cpu {
68 sound-dai = <&rcar_sound>;
71 sndcodec: simple-audio-card,codec {
72 sound-dai = <&sgtl5000>;
76 vcc_sdhi1: regulator-vcc-sdhi1 {
77 compatible = "regulator-fixed";
79 regulator-name = "SDHI1 Vcc";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
83 gpio = <&gpio1 16 GPIO_ACTIVE_LOW>;
86 vccq_sdhi1: regulator-vccq-sdhi1 {
87 compatible = "regulator-gpio";
89 regulator-name = "SDHI1 VccQ";
90 regulator-min-microvolt = <1800000>;
91 regulator-max-microvolt = <3300000>;
93 gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
101 pinctrl-0 = <&avb_pins>;
102 pinctrl-names = "default";
104 phy-handle = <&phy3>;
106 renesas,no-ether-link;
109 phy3: ethernet-phy@3 {
111 micrel,led-mode = <1>;
116 pinctrl-0 = <&can0_pins>;
117 pinctrl-names = "default";
124 pinctrl-0 = <&usb0_pins>;
125 pinctrl-names = "default";
129 pinctrl-0 = <&i2c2_pins>;
130 pinctrl-names = "default";
133 clock-frequency = <400000>;
136 compatible = "ti,bq32000";
141 compatible = "fsl,sgtl5000";
142 #sound-dai-cells = <0>;
144 clocks = <&audio_clock>;
145 VDDA-supply = <®_3p3v>;
146 VDDIO-supply = <®_3p3v>;
147 VDDD-supply = <®_1p5v>;
152 pinctrl-0 = <&usb0_pins>;
153 pinctrl-names = "default";
158 pinctrl-0 = <&usb1_pins>;
159 pinctrl-names = "default";
163 clock-frequency = <100000000>;
172 groups = "can0_data_d";
177 groups = "avb_mdio", "avb_gmii";
187 groups = "scif0_data_d";
191 scifb1_pins: scifb1 {
192 groups = "scifb1_data_d", "scifb1_ctrl";
197 groups = "sdhi1_data4", "sdhi1_ctrl";
199 power-source = <3300>;
202 sdhi1_pins_uhs: sd1_uhs {
203 groups = "sdhi1_data4", "sdhi1_ctrl";
205 power-source = <1800>;
209 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
225 pinctrl-0 = <&sound_pins>;
226 pinctrl-names = "default";
230 #sound-dai-cells = <0>;
234 playback = <&ssi1 &src3 &dvc1>;
235 capture = <&ssi0 &src2 &dvc0>;
241 pinctrl-0 = <&scif0_pins>;
242 pinctrl-names = "default";
248 pinctrl-0 = <&scifb1_pins>;
249 pinctrl-names = "default";
256 pinctrl-0 = <&sdhi1_pins>;
257 pinctrl-1 = <&sdhi1_pins_uhs>;
258 pinctrl-names = "default", "state_uhs";
260 vmmc-supply = <&vcc_sdhi1>;
261 vqmmc-supply = <&vccq_sdhi1>;
262 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
263 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;