1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the iWave-RZ/G1M/G1N Qseven 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
39 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
40 stdout-path = "serial0:115200n8";
43 audio_clock: audio_clock {
44 compatible = "fixed-clock";
46 clock-frequency = <26000000>;
50 compatible = "regulator-fixed";
51 regulator-name = "1P5V";
52 regulator-min-microvolt = <1500000>;
53 regulator-max-microvolt = <1500000>;
57 rsnd_sgtl5000: sound {
58 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 vcc_sdhi1: regulator-vcc-sdhi1 {
74 compatible = "regulator-fixed";
76 regulator-name = "SDHI1 Vcc";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
80 gpio = <&gpio1 16 GPIO_ACTIVE_LOW>;
83 vccq_sdhi1: regulator-vccq-sdhi1 {
84 compatible = "regulator-gpio";
86 regulator-name = "SDHI1 VccQ";
87 regulator-min-microvolt = <1800000>;
88 regulator-max-microvolt = <3300000>;
90 gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
98 pinctrl-0 = <&avb_pins>;
99 pinctrl-names = "default";
101 phy-handle = <&phy3>;
103 renesas,no-ether-link;
106 phy3: ethernet-phy@3 {
108 micrel,led-mode = <1>;
113 pinctrl-0 = <&can0_pins>;
114 pinctrl-names = "default";
121 pinctrl-0 = <&usb0_pins>;
122 pinctrl-names = "default";
126 pinctrl-0 = <&i2c2_pins>;
127 pinctrl-names = "default";
130 clock-frequency = <400000>;
133 compatible = "ti,bq32000";
138 compatible = "fsl,sgtl5000";
139 #sound-dai-cells = <0>;
141 clocks = <&audio_clock>;
142 VDDA-supply = <®_3p3v>;
143 VDDIO-supply = <®_3p3v>;
144 VDDD-supply = <®_1p5v>;
149 pinctrl-0 = <&usb0_pins>;
150 pinctrl-names = "default";
155 pinctrl-0 = <&usb1_pins>;
156 pinctrl-names = "default";
160 clock-frequency = <100000000>;
169 groups = "can0_data_d";
174 groups = "avb_mdio", "avb_gmii";
184 groups = "scif0_data_d";
188 scifb1_pins: scifb1 {
189 groups = "scifb1_data_d", "scifb1_ctrl";
194 groups = "sdhi1_data4", "sdhi1_ctrl";
196 power-source = <3300>;
199 sdhi1_pins_uhs: sd1_uhs {
200 groups = "sdhi1_data4", "sdhi1_ctrl";
202 power-source = <1800>;
206 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
222 pinctrl-0 = <&sound_pins>;
223 pinctrl-names = "default";
227 #sound-dai-cells = <0>;
231 playback = <&ssi1 &src3 &dvc1>;
232 capture = <&ssi0 &src2 &dvc0>;
238 pinctrl-0 = <&scif0_pins>;
239 pinctrl-names = "default";
245 pinctrl-0 = <&scifb1_pins>;
246 pinctrl-names = "default";
253 pinctrl-0 = <&sdhi1_pins>;
254 pinctrl-1 = <&sdhi1_pins_uhs>;
255 pinctrl-names = "default", "state_uhs";
257 vmmc-supply = <&vcc_sdhi1>;
258 vqmmc-supply = <&vccq_sdhi1>;
259 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
260 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;