2 * Device Tree Source for the Stout board
4 * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
6 * SPDX-License-Identifier: GPL-2.0
10 #include "r8a7790.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
16 compatible = "renesas,stout", "renesas,r8a7790";
23 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
24 stdout-path = "serial0:115200n8";
28 device_type = "memory";
29 reg = <0 0x40000000 0 0x40000000>;
33 compatible = "gpio-leds";
35 gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
38 gpios = <&gpio4 23 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio5 17 GPIO_ACTIVE_LOW>;
44 gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
48 fixedregulator3v3: regulator-3v3 {
49 compatible = "regulator-fixed";
50 regulator-name = "fixed-3.3V";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
57 vcc_sdhi0: regulator-vcc-sdhi0 {
58 compatible = "regulator-fixed";
60 regulator-name = "SDHI0 Vcc";
61 regulator-min-microvolt = <3300000>;
62 regulator-max-microvolt = <3300000>;
64 gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>;
69 compatible = "hdmi-connector";
73 hdmi_con_out: endpoint {
74 remote-endpoint = <&adv7511_out>;
79 osc1_clk: osc1-clock {
80 compatible = "fixed-clock";
82 clock-frequency = <148500000>;
85 osc4_clk: osc4-clock {
86 compatible = "fixed-clock";
88 clock-frequency = <12000000>;
93 pinctrl-0 = <&du_pins>;
94 pinctrl-names = "default";
97 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 722>,
98 <&cpg CPG_MOD 726>, <&cpg CPG_MOD 725>,
100 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1", "dclkin.0";
105 remote-endpoint = <&adv7511_in>;
109 lvds_connector0: endpoint {
113 lvds_connector1: endpoint {
120 clock-frequency = <20000000>;
125 pinctrl-0 = <&scif_clk_pins>;
126 pinctrl-names = "default";
129 groups = "du_rgb888", "du_sync_1", "du_clk_out_0";
133 scifa0_pins: scifa0 {
134 groups = "scifa0_data_b";
138 scif_clk_pins: scif_clk {
140 function = "scif_clk";
144 groups = "eth_link", "eth_mdio", "eth_rmii";
149 groups = "intc_irq1";
154 groups = "sdhi0_data4", "sdhi0_ctrl";
156 power-source = <3300>;
160 groups = "qspi_ctrl", "qspi_data4";
181 pinctrl-0 = <ðer_pins &phy1_pins>;
182 pinctrl-names = "default";
184 phy-handle = <&phy1>;
185 renesas,ether-link-active-low;
188 phy1: ethernet-phy@1 {
190 interrupt-parent = <&irqc0>;
191 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
192 micrel,led-mode = <1>;
201 pinctrl-0 = <&qspi_pins>;
202 pinctrl-names = "default";
207 compatible = "spansion,s25fl512s", "jedec,spi-nor";
209 spi-max-frequency = <30000000>;
210 spi-tx-bus-width = <4>;
211 spi-rx-bus-width = <4>;
217 compatible = "fixed-partitions";
218 #address-cells = <1>;
223 reg = <0x00000000 0x00080000>;
228 reg = <0x00080000 0x00040000>;
233 reg = <0x000c0000 0x00040000>;
238 reg = <0x00100000 0x03f00000>;
245 pinctrl-0 = <&scifa0_pins>;
246 pinctrl-names = "default";
252 clock-frequency = <14745600>;
256 pinctrl-0 = <&sdhi0_pins>;
257 pinctrl-names = "default";
259 vmmc-supply = <&vcc_sdhi0>;
260 cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
265 cpu0-supply = <&vdd_dvfs>;
270 pinctrl-0 = <&iic2_pins>;
271 pinctrl-names = "default";
273 clock-frequency = <100000>;
276 compatible = "adi,adv7511w";
278 interrupt-parent = <&gpio1>;
279 interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
280 clocks = <&osc4_clk>;
283 adi,input-depth = <8>;
284 adi,input-colorspace = "rgb";
285 adi,input-clock = "1x";
286 adi,input-style = <1>;
287 adi,input-justification = "evenly";
290 #address-cells = <1>;
295 adv7511_in: endpoint {
296 remote-endpoint = <&du_out_rgb>;
302 adv7511_out: endpoint {
303 remote-endpoint = <&hdmi_con_out>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&iic3_pins>;
316 compatible = "dlg,da9063";
318 interrupt-parent = <&irqc0>;
319 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
320 interrupt-controller;
323 compatible = "dlg,da9063-rtc";
327 compatible = "dlg,da9063-watchdog";
331 vdd_dvfs: regulator@68 {
332 compatible = "dlg,da9210";
334 interrupt-parent = <&irqc0>;
335 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
337 regulator-min-microvolt = <1000000>;
338 regulator-max-microvolt = <1000000>;
344 compatible = "dlg,da9210";
346 interrupt-parent = <&irqc0>;
347 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
349 regulator-min-microvolt = <1000000>;
350 regulator-max-microvolt = <1000000>;
358 pinctrl-0 = <&usb0_pins>;
359 pinctrl-names = "default";