2 * Device Tree Source for the Porter board
4 * Copyright (C) 2015 Cogent Embedded, Inc.
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.
17 * This command is required before playback/capture:
19 * amixer set "LINEOUT Mixer DACL" on
23 #include "r8a7791.dtsi"
24 #include <dt-bindings/gpio/gpio.h>
28 compatible = "renesas,porter", "renesas,r8a7791";
35 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
36 stdout-path = "serial0:115200n8";
40 device_type = "memory";
41 reg = <0 0x40000000 0 0x40000000>;
45 device_type = "memory";
46 reg = <2 0x00000000 0 0x40000000>;
49 vcc_sdhi0: regulator-vcc-sdhi0 {
50 compatible = "regulator-fixed";
52 regulator-name = "SDHI0 Vcc";
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
58 vccq_sdhi0: regulator-vccq-sdhi0 {
59 compatible = "regulator-gpio";
61 regulator-name = "SDHI0 VccQ";
62 regulator-min-microvolt = <1800000>;
63 regulator-max-microvolt = <3300000>;
65 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
71 vcc_sdhi2: regulator-vcc-sdhi2 {
72 compatible = "regulator-fixed";
74 regulator-name = "SDHI2 Vcc";
75 regulator-min-microvolt = <3300000>;
76 regulator-max-microvolt = <3300000>;
80 vccq_sdhi2: regulator-vccq-sdhi2 {
81 compatible = "regulator-gpio";
83 regulator-name = "SDHI2 VccQ";
84 regulator-min-microvolt = <1800000>;
85 regulator-max-microvolt = <3300000>;
87 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
94 compatible = "hdmi-connector";
99 remote-endpoint = <&adv7511_out>;
105 compatible = "fixed-clock";
107 clock-frequency = <148500000>;
111 compatible = "fixed-clock";
113 clock-frequency = <74250000>;
116 x14_clk: audio_clock {
117 compatible = "fixed-clock";
119 clock-frequency = <11289600>;
123 compatible = "simple-audio-card";
125 simple-audio-card,format = "left_j";
126 simple-audio-card,bitclock-master = <&soundcodec>;
127 simple-audio-card,frame-master = <&soundcodec>;
129 simple-audio-card,cpu {
130 sound-dai = <&rcar_sound>;
133 soundcodec: simple-audio-card,codec {
134 sound-dai = <&ak4642>;
141 clock-frequency = <20000000>;
146 groups = "scif0_data_d";
151 groups = "eth_link", "eth_mdio", "eth_rmii";
156 groups = "intc_irq0";
161 groups = "sdhi0_data4", "sdhi0_ctrl";
166 groups = "sdhi2_data4", "sdhi2_ctrl";
171 groups = "qspi_ctrl", "qspi_data4";
191 groups = "vin0_data8", "vin0_clk";
196 groups = "can0_data";
201 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
206 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
210 audio_clk_pins: audio_clk {
211 groups = "audio_clk_a";
212 function = "audio_clk";
217 pinctrl-0 = <&scif0_pins>;
218 pinctrl-names = "default";
224 pinctrl-0 = <ðer_pins &phy1_pins>;
225 pinctrl-names = "default";
227 phy-handle = <&phy1>;
228 renesas,ether-link-active-low;
231 phy1: ethernet-phy@1 {
233 interrupt-parent = <&irqc0>;
234 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
235 micrel,led-mode = <1>;
240 pinctrl-0 = <&sdhi0_pins>;
241 pinctrl-names = "default";
243 vmmc-supply = <&vcc_sdhi0>;
244 vqmmc-supply = <&vccq_sdhi0>;
245 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
246 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
251 pinctrl-0 = <&sdhi2_pins>;
252 pinctrl-names = "default";
254 vmmc-supply = <&vcc_sdhi2>;
255 vqmmc-supply = <&vccq_sdhi2>;
256 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
261 pinctrl-0 = <&qspi_pins>;
262 pinctrl-names = "default";
267 compatible = "spansion,s25fl512s", "jedec,spi-nor";
269 spi-max-frequency = <30000000>;
270 spi-tx-bus-width = <4>;
271 spi-rx-bus-width = <4>;
275 compatible = "fixed-partitions";
276 #address-cells = <1>;
280 label = "loader_prg";
281 reg = <0x00000000 0x00040000>;
286 reg = <0x00040000 0x00400000>;
291 reg = <0x00440000 0x03bc0000>;
298 pinctrl-0 = <&i2c2_pins>;
299 pinctrl-names = "default";
302 clock-frequency = <400000>;
305 compatible = "asahi-kasei,ak4642";
306 #sound-dai-cells = <0>;
311 compatible = "adi,adv7180";
318 remote-endpoint = <&vin0ep>;
324 compatible = "adi,adv7511w";
326 interrupt-parent = <&gpio3>;
327 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
329 adi,input-depth = <8>;
330 adi,input-colorspace = "rgb";
331 adi,input-clock = "1x";
332 adi,input-style = <1>;
333 adi,input-justification = "evenly";
336 #address-cells = <1>;
341 adv7511_in: endpoint {
342 remote-endpoint = <&du_out_rgb>;
348 adv7511_out: endpoint {
349 remote-endpoint = <&hdmi_con>;
360 /* composite video input */
363 pinctrl-0 = <&vin0_pins>;
364 pinctrl-names = "default";
367 #address-cells = <1>;
371 remote-endpoint = <&adv7180>;
378 pinctrl-0 = <&usb0_pins>;
379 pinctrl-names = "default";
385 pinctrl-0 = <&usb1_pins>;
386 pinctrl-names = "default";
392 pinctrl-0 = <&usb0_pins>;
393 pinctrl-names = "default";
403 clock-frequency = <100000000>;
412 pinctrl-0 = <&can0_pins>;
413 pinctrl-names = "default";
419 pinctrl-0 = <&du_pins>;
420 pinctrl-names = "default";
423 clocks = <&mstp7_clks R8A7791_CLK_DU0>,
424 <&mstp7_clks R8A7791_CLK_DU1>,
425 <&mstp7_clks R8A7791_CLK_LVDS0>,
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>;