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>;
49 lcd_backlight: backlight {
50 compatible = "pwm-backlight";
52 pwms = <&pwm3 0 5000000 0>;
53 brightness-levels = <0 4 8 16 32 64 128 255>;
54 default-brightness-level = <7>;
55 enable-gpios = <&gpio5 14 GPIO_ACTIVE_HIGH>;
59 compatible = "ti,ds90cf384a", "lvds-decoder";
60 power-supply = <&vcc_3v3_tft1>;
68 lvds_receiver_in: endpoint {
69 remote-endpoint = <&lvds0_out>;
74 lvds_receiver_out: endpoint {
75 remote-endpoint = <&panel_in>;
82 compatible = "edt,etm0700g0dh6";
83 backlight = <&lcd_backlight>;
84 power-supply = <&vcc_3v3_tft1>;
88 remote-endpoint = <&lvds_receiver_out>;
94 compatible = "regulator-fixed";
95 regulator-name = "1P5V";
96 regulator-min-microvolt = <1500000>;
97 regulator-max-microvolt = <1500000>;
101 rsnd_sgtl5000: sound {
102 compatible = "simple-audio-card";
104 simple-audio-card,format = "i2s";
105 simple-audio-card,bitclock-master = <&sndcodec>;
106 simple-audio-card,frame-master = <&sndcodec>;
108 sndcpu: simple-audio-card,cpu {
109 sound-dai = <&rcar_sound>;
112 sndcodec: simple-audio-card,codec {
113 sound-dai = <&sgtl5000>;
117 vcc_3v3_tft1: regulator-panel {
118 compatible = "regulator-fixed";
120 regulator-name = "vcc-3v3-tft1";
121 regulator-min-microvolt = <3300000>;
122 regulator-max-microvolt = <3300000>;
124 startup-delay-us = <500>;
125 gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>;
128 vcc_sdhi1: regulator-vcc-sdhi1 {
129 compatible = "regulator-fixed";
131 regulator-name = "SDHI1 Vcc";
132 regulator-min-microvolt = <3300000>;
133 regulator-max-microvolt = <3300000>;
135 gpio = <&gpio1 16 GPIO_ACTIVE_LOW>;
138 vccq_sdhi1: regulator-vccq-sdhi1 {
139 compatible = "regulator-gpio";
141 regulator-name = "SDHI1 VccQ";
142 regulator-min-microvolt = <1800000>;
143 regulator-max-microvolt = <3300000>;
145 gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
147 states = <3300000 1>, <1800000 0>;
152 pinctrl-0 = <&avb_pins>;
153 pinctrl-names = "default";
155 phy-handle = <&phy3>;
157 renesas,no-ether-link;
160 phy3: ethernet-phy@3 {
162 micrel,led-mode = <1>;
167 pinctrl-0 = <&can0_pins>;
168 pinctrl-names = "default";
184 gpios = <12 GPIO_ACTIVE_LOW>;
191 pinctrl-0 = <&usb0_pins>;
192 pinctrl-names = "default";
196 pinctrl-0 = <&i2c2_pins>;
197 pinctrl-names = "default";
200 clock-frequency = <400000>;
203 compatible = "ti,bq32000";
208 compatible = "fsl,sgtl5000";
209 #sound-dai-cells = <0>;
211 clocks = <&audio_clock>;
212 VDDA-supply = <®_3p3v>;
213 VDDIO-supply = <®_3p3v>;
214 VDDD-supply = <®_1p5v>;
217 touch: touchpanel@38 {
218 compatible = "edt,edt-ft5406";
220 interrupt-parent = <&gpio2>;
221 interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
222 vcc-supply = <&vcc_3v3_tft1>;
231 lvds0_out: endpoint {
232 remote-endpoint = <&lvds_receiver_in>;
239 pinctrl-0 = <&usb0_pins>;
240 pinctrl-names = "default";
245 pinctrl-0 = <&usb1_pins>;
246 pinctrl-names = "default";
250 clock-frequency = <100000000>;
255 groups = "can0_data_d";
260 groups = "avb_mdio", "avb_gmii";
275 groups = "scif0_data_d";
279 scifb1_pins: scifb1 {
280 groups = "scifb1_data_d", "scifb1_ctrl";
285 groups = "sdhi1_data4", "sdhi1_ctrl";
287 power-source = <3300>;
290 sdhi1_pins_uhs: sd1_uhs {
291 groups = "sdhi1_data4", "sdhi1_ctrl";
293 power-source = <1800>;
297 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
313 pinctrl-0 = <&pwm3_pins>;
314 pinctrl-names = "default";
319 pinctrl-0 = <&sound_pins>;
320 pinctrl-names = "default";
324 #sound-dai-cells = <0>;
328 playback = <&ssi1 &src3 &dvc1>;
329 capture = <&ssi0 &src2 &dvc0>;
340 pinctrl-0 = <&scif0_pins>;
341 pinctrl-names = "default";
347 pinctrl-0 = <&scifb1_pins>;
348 pinctrl-names = "default";
355 pinctrl-0 = <&sdhi1_pins>;
356 pinctrl-1 = <&sdhi1_pins_uhs>;
357 pinctrl-names = "default", "state_uhs";
359 vmmc-supply = <&vcc_sdhi1>;
360 vqmmc-supply = <&vccq_sdhi1>;
361 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
362 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;