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 powerdown-gpios = <&gpio7 25 GPIO_ACTIVE_LOW>;
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>;
87 remote-endpoint = <&lvds_receiver_out>;
93 compatible = "regulator-fixed";
94 regulator-name = "1P5V";
95 regulator-min-microvolt = <1500000>;
96 regulator-max-microvolt = <1500000>;
100 rsnd_sgtl5000: sound {
101 compatible = "simple-audio-card";
103 simple-audio-card,format = "i2s";
104 simple-audio-card,bitclock-master = <&sndcodec>;
105 simple-audio-card,frame-master = <&sndcodec>;
107 sndcpu: simple-audio-card,cpu {
108 sound-dai = <&rcar_sound>;
111 sndcodec: simple-audio-card,codec {
112 sound-dai = <&sgtl5000>;
116 vcc_sdhi1: regulator-vcc-sdhi1 {
117 compatible = "regulator-fixed";
119 regulator-name = "SDHI1 Vcc";
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
123 gpio = <&gpio1 16 GPIO_ACTIVE_LOW>;
126 vccq_sdhi1: regulator-vccq-sdhi1 {
127 compatible = "regulator-gpio";
129 regulator-name = "SDHI1 VccQ";
130 regulator-min-microvolt = <1800000>;
131 regulator-max-microvolt = <3300000>;
133 gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
135 states = <3300000 1>, <1800000 0>;
140 pinctrl-0 = <&avb_pins>;
141 pinctrl-names = "default";
143 phy-handle = <&phy3>;
145 renesas,no-ether-link;
148 phy3: ethernet-phy@3 {
150 micrel,led-mode = <1>;
155 pinctrl-0 = <&can0_pins>;
156 pinctrl-names = "default";
172 gpios = <12 GPIO_ACTIVE_LOW>;
179 pinctrl-0 = <&usb0_pins>;
180 pinctrl-names = "default";
184 pinctrl-0 = <&i2c2_pins>;
185 pinctrl-names = "default";
188 clock-frequency = <400000>;
191 compatible = "ti,bq32000";
196 compatible = "fsl,sgtl5000";
197 #sound-dai-cells = <0>;
199 clocks = <&audio_clock>;
200 VDDA-supply = <®_3p3v>;
201 VDDIO-supply = <®_3p3v>;
202 VDDD-supply = <®_1p5v>;
205 touch: touchpanel@38 {
206 compatible = "edt,edt-ft5406";
208 interrupt-parent = <&gpio2>;
209 interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
218 lvds0_out: endpoint {
219 remote-endpoint = <&lvds_receiver_in>;
226 pinctrl-0 = <&usb0_pins>;
227 pinctrl-names = "default";
232 pinctrl-0 = <&usb1_pins>;
233 pinctrl-names = "default";
237 clock-frequency = <100000000>;
242 groups = "can0_data_d";
247 groups = "avb_mdio", "avb_gmii";
262 groups = "scif0_data_d";
266 scifb1_pins: scifb1 {
267 groups = "scifb1_data_d", "scifb1_ctrl";
272 groups = "sdhi1_data4", "sdhi1_ctrl";
274 power-source = <3300>;
277 sdhi1_pins_uhs: sd1_uhs {
278 groups = "sdhi1_data4", "sdhi1_ctrl";
280 power-source = <1800>;
284 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
300 pinctrl-0 = <&pwm3_pins>;
301 pinctrl-names = "default";
306 pinctrl-0 = <&sound_pins>;
307 pinctrl-names = "default";
311 #sound-dai-cells = <0>;
315 playback = <&ssi1 &src3 &dvc1>;
316 capture = <&ssi0 &src2 &dvc0>;
327 pinctrl-0 = <&scif0_pins>;
328 pinctrl-names = "default";
334 pinctrl-0 = <&scifb1_pins>;
335 pinctrl-names = "default";
342 pinctrl-0 = <&sdhi1_pins>;
343 pinctrl-1 = <&sdhi1_pins_uhs>;
344 pinctrl-names = "default", "state_uhs";
346 vmmc-supply = <&vcc_sdhi1>;
347 vqmmc-supply = <&vccq_sdhi1>;
348 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
349 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;