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";
223 pinctrl-0 = <ðer_pins &phy1_pins>;
224 pinctrl-names = "default";
226 phy-handle = <&phy1>;
227 renesas,ether-link-active-low;
230 phy1: ethernet-phy@1 {
232 interrupt-parent = <&irqc0>;
233 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
234 micrel,led-mode = <1>;
239 pinctrl-0 = <&sdhi0_pins>;
240 pinctrl-names = "default";
242 vmmc-supply = <&vcc_sdhi0>;
243 vqmmc-supply = <&vccq_sdhi0>;
244 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
245 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
250 pinctrl-0 = <&sdhi2_pins>;
251 pinctrl-names = "default";
253 vmmc-supply = <&vcc_sdhi2>;
254 vqmmc-supply = <&vccq_sdhi2>;
255 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
260 pinctrl-0 = <&qspi_pins>;
261 pinctrl-names = "default";
266 compatible = "spansion,s25fl512s", "jedec,spi-nor";
268 spi-max-frequency = <30000000>;
269 spi-tx-bus-width = <4>;
270 spi-rx-bus-width = <4>;
274 compatible = "fixed-partitions";
275 #address-cells = <1>;
279 label = "loader_prg";
280 reg = <0x00000000 0x00040000>;
285 reg = <0x00040000 0x00400000>;
290 reg = <0x00440000 0x03bc0000>;
297 pinctrl-0 = <&i2c2_pins>;
298 pinctrl-names = "default";
301 clock-frequency = <400000>;
304 compatible = "asahi-kasei,ak4642";
305 #sound-dai-cells = <0>;
310 compatible = "adi,adv7180";
317 remote-endpoint = <&vin0ep>;
323 compatible = "adi,adv7511w";
325 interrupt-parent = <&gpio3>;
326 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
328 adi,input-depth = <8>;
329 adi,input-colorspace = "rgb";
330 adi,input-clock = "1x";
331 adi,input-style = <1>;
332 adi,input-justification = "evenly";
335 #address-cells = <1>;
340 adv7511_in: endpoint {
341 remote-endpoint = <&du_out_rgb>;
347 adv7511_out: endpoint {
348 remote-endpoint = <&hdmi_con>;
359 /* composite video input */
362 pinctrl-0 = <&vin0_pins>;
363 pinctrl-names = "default";
366 #address-cells = <1>;
370 remote-endpoint = <&adv7180>;
377 pinctrl-0 = <&usb0_pins>;
378 pinctrl-names = "default";
384 pinctrl-0 = <&usb1_pins>;
385 pinctrl-names = "default";
391 pinctrl-0 = <&usb0_pins>;
392 pinctrl-names = "default";
402 clock-frequency = <100000000>;
410 pinctrl-0 = <&can0_pins>;
411 pinctrl-names = "default";
417 pinctrl-0 = <&du_pins>;
418 pinctrl-names = "default";
421 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 726>,
422 <&x3_clk>, <&x16_clk>;
423 clock-names = "du.0", "du.1", "lvds.0",
424 "dclkin.0", "dclkin.1";
429 remote-endpoint = <&adv7511_in>;
436 pinctrl-0 = <&ssi_pins &audio_clk_pins>;
437 pinctrl-names = "default";
441 #sound-dai-cells = <0>;