2 * Device Tree Source for the Porter board
4 * Copyright (C) 2015 Cogent Embedded, Inc.
6 * SPDX-License-Identifier: GPL-2.0
15 * This command is required before playback/capture:
17 * amixer set "LINEOUT Mixer DACL" on
21 #include "r8a7791.dtsi"
22 #include <dt-bindings/gpio/gpio.h>
26 compatible = "renesas,porter", "renesas,r8a7791";
33 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
34 stdout-path = "serial0:115200n8";
38 device_type = "memory";
39 reg = <0 0x40000000 0 0x40000000>;
43 device_type = "memory";
44 reg = <2 0x00000000 0 0x40000000>;
47 vcc_sdhi0: regulator-vcc-sdhi0 {
48 compatible = "regulator-fixed";
50 regulator-name = "SDHI0 Vcc";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
56 vccq_sdhi0: regulator-vccq-sdhi0 {
57 compatible = "regulator-gpio";
59 regulator-name = "SDHI0 VccQ";
60 regulator-min-microvolt = <1800000>;
61 regulator-max-microvolt = <3300000>;
63 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
69 vcc_sdhi2: regulator-vcc-sdhi2 {
70 compatible = "regulator-fixed";
72 regulator-name = "SDHI2 Vcc";
73 regulator-min-microvolt = <3300000>;
74 regulator-max-microvolt = <3300000>;
78 vccq_sdhi2: regulator-vccq-sdhi2 {
79 compatible = "regulator-gpio";
81 regulator-name = "SDHI2 VccQ";
82 regulator-min-microvolt = <1800000>;
83 regulator-max-microvolt = <3300000>;
85 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
92 compatible = "hdmi-connector";
97 remote-endpoint = <&adv7511_out>;
103 compatible = "fixed-clock";
105 clock-frequency = <148500000>;
109 compatible = "fixed-clock";
111 clock-frequency = <74250000>;
114 x14_clk: audio_clock {
115 compatible = "fixed-clock";
117 clock-frequency = <11289600>;
121 compatible = "simple-audio-card";
123 simple-audio-card,format = "left_j";
124 simple-audio-card,bitclock-master = <&soundcodec>;
125 simple-audio-card,frame-master = <&soundcodec>;
127 simple-audio-card,cpu {
128 sound-dai = <&rcar_sound>;
131 soundcodec: simple-audio-card,codec {
132 sound-dai = <&ak4642>;
139 clock-frequency = <20000000>;
144 groups = "scif0_data_d";
149 groups = "eth_link", "eth_mdio", "eth_rmii";
154 groups = "intc_irq0";
159 groups = "sdhi0_data4", "sdhi0_ctrl";
164 groups = "sdhi2_data4", "sdhi2_ctrl";
169 groups = "qspi_ctrl", "qspi_data4";
189 groups = "vin0_data8", "vin0_clk";
194 groups = "can0_data";
199 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
204 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
208 audio_clk_pins: audio_clk {
209 groups = "audio_clk_a";
210 function = "audio_clk";
215 pinctrl-0 = <&scif0_pins>;
216 pinctrl-names = "default";
222 pinctrl-0 = <ðer_pins &phy1_pins>;
223 pinctrl-names = "default";
225 phy-handle = <&phy1>;
226 renesas,ether-link-active-low;
229 phy1: ethernet-phy@1 {
231 interrupt-parent = <&irqc0>;
232 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
233 micrel,led-mode = <1>;
238 pinctrl-0 = <&sdhi0_pins>;
239 pinctrl-names = "default";
241 vmmc-supply = <&vcc_sdhi0>;
242 vqmmc-supply = <&vccq_sdhi0>;
243 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
244 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
249 pinctrl-0 = <&sdhi2_pins>;
250 pinctrl-names = "default";
252 vmmc-supply = <&vcc_sdhi2>;
253 vqmmc-supply = <&vccq_sdhi2>;
254 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
259 pinctrl-0 = <&qspi_pins>;
260 pinctrl-names = "default";
265 compatible = "spansion,s25fl512s", "jedec,spi-nor";
267 spi-max-frequency = <30000000>;
268 spi-tx-bus-width = <4>;
269 spi-rx-bus-width = <4>;
273 compatible = "fixed-partitions";
274 #address-cells = <1>;
278 label = "loader_prg";
279 reg = <0x00000000 0x00040000>;
284 reg = <0x00040000 0x00400000>;
289 reg = <0x00440000 0x03bc0000>;
296 pinctrl-0 = <&i2c2_pins>;
297 pinctrl-names = "default";
300 clock-frequency = <400000>;
303 compatible = "asahi-kasei,ak4642";
304 #sound-dai-cells = <0>;
309 compatible = "adi,adv7180";
316 remote-endpoint = <&vin0ep>;
322 compatible = "adi,adv7511w";
324 interrupt-parent = <&gpio3>;
325 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
327 adi,input-depth = <8>;
328 adi,input-colorspace = "rgb";
329 adi,input-clock = "1x";
330 adi,input-style = <1>;
331 adi,input-justification = "evenly";
334 #address-cells = <1>;
339 adv7511_in: endpoint {
340 remote-endpoint = <&du_out_rgb>;
346 adv7511_out: endpoint {
347 remote-endpoint = <&hdmi_con>;
356 clock-frequency = <400000>;
363 /* composite video input */
366 pinctrl-0 = <&vin0_pins>;
367 pinctrl-names = "default";
370 #address-cells = <1>;
374 remote-endpoint = <&adv7180>;
381 pinctrl-0 = <&usb0_pins>;
382 pinctrl-names = "default";
388 pinctrl-0 = <&usb1_pins>;
389 pinctrl-names = "default";
395 pinctrl-0 = <&usb0_pins>;
396 pinctrl-names = "default";
406 clock-frequency = <100000000>;
414 pinctrl-0 = <&can0_pins>;
415 pinctrl-names = "default";
421 pinctrl-0 = <&du_pins>;
422 pinctrl-names = "default";
425 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 726>,
426 <&x3_clk>, <&x16_clk>;
427 clock-names = "du.0", "du.1", "lvds.0",
428 "dclkin.0", "dclkin.1";
433 remote-endpoint = <&adv7511_in>;
440 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
441 pinctrl-names = "default";
445 #sound-dai-cells = <0>;