2 * Device Tree Source for the Salvator-X board
4 * Copyright (C) 2015 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
35 #include "r8a7795.dtsi"
38 model = "Renesas Salvator-X board based on r8a7795";
39 compatible = "renesas,salvator-x", "renesas,r8a7795";
48 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
49 stdout-path = "serial0:115200n8";
53 device_type = "memory";
54 /* first 128MB is reserved for secure area. */
55 reg = <0x0 0x48000000 0x0 0x38000000>;
59 compatible = "fixed-clock";
61 clock-frequency = <24576000>;
65 compatible = "simple-audio-card";
67 simple-audio-card,format = "left_j";
68 simple-audio-card,bitclock-master = <&sndcpu>;
69 simple-audio-card,frame-master = <&sndcpu>;
71 sndcpu: simple-audio-card,cpu {
72 sound-dai = <&rcar_sound>;
75 sndcodec: simple-audio-card,codec {
76 sound-dai = <&ak4613>;
82 clock-frequency = <16666666>;
87 renesas,groups = "scif1_data_a", "scif1_ctrl";
88 renesas,function = "scif1";
91 renesas,groups = "scif2_data_a";
92 renesas,function = "scif2";
96 renesas,groups = "i2c2_a";
97 renesas,function = "i2c2";
101 renesas,groups = "avb_mdc";
102 renesas,function = "avb";
106 renesas,groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a";
107 renesas,function = "ssi";
110 sound_clk_pins: sound_clk {
111 renesas,groups = "audio_clk_a_a", "audio_clk_b_a", "audio_clk_c_a",
112 "audio_clkout_a", "audio_clkout3_a";
113 renesas,function = "audio_clk";
118 pinctrl-0 = <&scif1_pins>;
119 pinctrl-names = "default";
125 pinctrl-0 = <&scif2_pins>;
126 pinctrl-names = "default";
132 pinctrl-0 = <&i2c2_pins>;
133 pinctrl-names = "default";
137 clock-frequency = <100000>;
140 compatible = "asahi-kasei,ak4613";
141 #sound-dai-cells = <0>;
143 clocks = <&rcar_sound 3>;
145 asahi-kasei,in1-single-end;
146 asahi-kasei,in2-single-end;
147 asahi-kasei,out1-single-end;
148 asahi-kasei,out2-single-end;
149 asahi-kasei,out3-single-end;
150 asahi-kasei,out4-single-end;
151 asahi-kasei,out5-single-end;
152 asahi-kasei,out6-single-end;
157 pinctrl-0 = <&sound_pins &sound_clk_pins>;
158 pinctrl-names = "default";
161 #sound-dai-cells = <0>;
163 /* audio_clkout0/1/2/3 */
165 clock-frequency = <11289600>;
171 playback = <&ssi0 &src0 &dvc0>;
172 capture = <&ssi1 &src1 &dvc1>;
182 clock-frequency = <22579200>;
186 pinctrl-0 = <&avb_pins>;
187 pinctrl-names = "default";
188 renesas,no-ether-link;
189 phy-handle = <&phy0>;
192 phy0: ethernet-phy@0 {
206 interrupt-parent = <&gpio2>;
207 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;