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>;
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 {
161 compatible = "ethernet-phy-id0022.1622",
162 "ethernet-phy-ieee802.3-c22";
164 micrel,led-mode = <1>;
169 pinctrl-0 = <&can0_pins>;
170 pinctrl-names = "default";
184 touch-interrupt-hog {
186 gpios = <12 GPIO_ACTIVE_LOW>;
193 pinctrl-0 = <&usb0_pins>;
194 pinctrl-names = "default";
198 pinctrl-0 = <&i2c2_pins>;
199 pinctrl-names = "default";
202 clock-frequency = <400000>;
205 compatible = "ti,bq32000";
210 compatible = "fsl,sgtl5000";
211 #sound-dai-cells = <0>;
213 clocks = <&audio_clock>;
214 VDDA-supply = <®_3p3v>;
215 VDDIO-supply = <®_3p3v>;
216 VDDD-supply = <®_1p5v>;
219 touch: touchpanel@38 {
220 compatible = "edt,edt-ft5406";
222 interrupt-parent = <&gpio2>;
223 interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
224 vcc-supply = <&vcc_3v3_tft1>;
233 lvds0_out: endpoint {
234 remote-endpoint = <&lvds_receiver_in>;
241 pinctrl-0 = <&usb0_pins>;
242 pinctrl-names = "default";
247 pinctrl-0 = <&usb1_pins>;
248 pinctrl-names = "default";
252 clock-frequency = <100000000>;
257 groups = "can0_data_d";
262 groups = "avb_mdio", "avb_gmii";
277 groups = "scif0_data_d";
281 scifb1_pins: scifb1 {
282 groups = "scifb1_data_d", "scifb1_ctrl";
287 groups = "sdhi1_data4", "sdhi1_ctrl";
289 power-source = <3300>;
292 sdhi1_pins_uhs: sd1_uhs {
293 groups = "sdhi1_data4", "sdhi1_ctrl";
295 power-source = <1800>;
299 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
315 pinctrl-0 = <&pwm3_pins>;
316 pinctrl-names = "default";
321 pinctrl-0 = <&sound_pins>;
322 pinctrl-names = "default";
326 #sound-dai-cells = <0>;
330 playback = <&ssi1>, <&src3>, <&dvc1>;
331 capture = <&ssi0>, <&src2>, <&dvc0>;
342 pinctrl-0 = <&scif0_pins>;
343 pinctrl-names = "default";
349 pinctrl-0 = <&scifb1_pins>;
350 pinctrl-names = "default";
357 pinctrl-0 = <&sdhi1_pins>;
358 pinctrl-1 = <&sdhi1_pins_uhs>;
359 pinctrl-names = "default", "state_uhs";
361 vmmc-supply = <&vcc_sdhi1>;
362 vqmmc-supply = <&vccq_sdhi1>;
363 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
364 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;