1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the R-Car H1 (R8A77790) Marzen board
5 * Copyright (C) 2013 Renesas Solutions Corp.
6 * Copyright (C) 2013 Simon Horman
10 #include "r8a7779.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
16 compatible = "renesas,marzen", "renesas,r8a7779";
24 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
25 stdout-path = "serial0:115200n8";
29 device_type = "memory";
30 reg = <0x60000000 0x40000000>;
33 fixedregulator3v3: regulator-3v3 {
34 compatible = "regulator-fixed";
35 regulator-name = "fixed-3.3V";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
42 vccq_sdhi0: regulator-vccq-sdhi0 {
43 compatible = "regulator-gpio";
45 regulator-name = "SDHI0 VccQ";
46 regulator-min-microvolt = <1800000>;
47 regulator-max-microvolt = <3300000>;
49 gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
51 states = <3300000 1>, <1800000 0>;
55 compatible = "smsc,lan9220", "smsc,lan9115";
56 reg = <0x18000000 0x100>;
57 pinctrl-0 = <ðernet_pins>;
58 pinctrl-names = "default";
61 interrupt-parent = <&irqpin0>;
62 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
65 vddvario-supply = <&fixedregulator3v3>;
66 vdd33a-supply = <&fixedregulator3v3>;
70 compatible = "gpio-leds";
72 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
75 gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
78 gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>;
83 compatible = "adi,adv7123";
91 vga_enc_in: endpoint {
92 remote-endpoint = <&du_out_rgb0>;
97 vga_enc_out: endpoint {
98 remote-endpoint = <&vga_in>;
105 compatible = "vga-connector";
109 remote-endpoint = <&vga_enc_out>;
115 compatible = "thine,thc63lvdm83d";
118 #address-cells = <1>;
123 lvds_enc_in: endpoint {
124 remote-endpoint = <&du_out_rgb1>;
129 lvds_connector: endpoint {
136 compatible = "fixed-clock";
138 clock-frequency = <65000000>;
143 pinctrl-0 = <&du_pins>;
144 pinctrl-names = "default";
147 clocks = <&mstp1_clks R8A7779_CLK_DU>, <&x3_clk>;
148 clock-names = "du", "dclkin.0";
153 remote-endpoint = <&vga_enc_in>;
158 remote-endpoint = <&lvds_enc_in>;
169 clock-frequency = <31250000>;
177 pinctrl-0 = <&scif_clk_pins>;
178 pinctrl-names = "default";
182 groups = "du0_rgb888", "du0_sync_1", "du0_clk_out_0", "du0_clk_in";
186 groups = "du1_rgb666", "du1_sync_1", "du1_clk_out";
191 scif_clk_pins: scif_clk {
192 groups = "scif_clk_b";
193 function = "scif_clk";
196 ethernet_pins: ethernet {
198 groups = "intc_irq1_b";
202 groups = "lbsc_ex_cs0";
208 groups = "scif2_data_c";
213 groups = "scif4_data";
218 groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
233 pinctrl-0 = <&scif2_pins>;
234 pinctrl-names = "default";
240 pinctrl-0 = <&scif4_pins>;
241 pinctrl-names = "default";
247 clock-frequency = <14745600>;
251 pinctrl-0 = <&sdhi0_pins>;
252 pinctrl-names = "default";
254 vmmc-supply = <&fixedregulator3v3>;
255 vqmmc-supply = <&vccq_sdhi0>;
261 pinctrl-0 = <&hspi0_pins>;
262 pinctrl-names = "default";