1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Stout board
5 * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
9 #include "r8a7790.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
15 compatible = "renesas,stout", "renesas,r8a7790";
22 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
23 stdout-path = "serial0:115200n8";
27 device_type = "memory";
28 reg = <0 0x40000000 0 0x40000000>;
32 compatible = "gpio-leds";
34 gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio4 23 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio5 17 GPIO_ACTIVE_LOW>;
43 gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
47 fixedregulator3v3: regulator-3v3 {
48 compatible = "regulator-fixed";
49 regulator-name = "fixed-3.3V";
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
56 vcc_sdhi0: regulator-vcc-sdhi0 {
57 compatible = "regulator-fixed";
59 regulator-name = "SDHI0 Vcc";
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
63 gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>;
68 compatible = "hdmi-connector";
72 hdmi_con_out: endpoint {
73 remote-endpoint = <&adv7511_out>;
78 osc1_clk: osc1-clock {
79 compatible = "fixed-clock";
81 clock-frequency = <148500000>;
84 osc4_clk: osc4-clock {
85 compatible = "fixed-clock";
87 clock-frequency = <12000000>;
92 pinctrl-0 = <&du_pins>;
93 pinctrl-names = "default";
96 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 722>,
97 <&cpg CPG_MOD 726>, <&cpg CPG_MOD 725>,
99 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1", "dclkin.0";
104 remote-endpoint = <&adv7511_in>;
108 lvds_connector0: endpoint {
112 lvds_connector1: endpoint {
119 clock-frequency = <20000000>;
124 pinctrl-0 = <&scif_clk_pins>;
125 pinctrl-names = "default";
128 groups = "du_rgb888", "du_sync_1", "du_clk_out_0";
132 scifa0_pins: scifa0 {
133 groups = "scifa0_data_b";
137 scif_clk_pins: scif_clk {
139 function = "scif_clk";
143 groups = "eth_link", "eth_mdio", "eth_rmii";
148 groups = "intc_irq1";
153 groups = "sdhi0_data4", "sdhi0_ctrl";
155 power-source = <3300>;
159 groups = "qspi_ctrl", "qspi_data4";
180 pinctrl-0 = <ðer_pins &phy1_pins>;
181 pinctrl-names = "default";
183 phy-handle = <&phy1>;
184 renesas,ether-link-active-low;
187 phy1: ethernet-phy@1 {
189 interrupt-parent = <&irqc0>;
190 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
191 micrel,led-mode = <1>;
200 pinctrl-0 = <&qspi_pins>;
201 pinctrl-names = "default";
206 compatible = "spansion,s25fl512s", "jedec,spi-nor";
208 spi-max-frequency = <30000000>;
209 spi-tx-bus-width = <4>;
210 spi-rx-bus-width = <4>;
216 compatible = "fixed-partitions";
217 #address-cells = <1>;
222 reg = <0x00000000 0x00080000>;
227 reg = <0x00080000 0x00040000>;
232 reg = <0x000c0000 0x00040000>;
237 reg = <0x00100000 0x03f00000>;
244 pinctrl-0 = <&scifa0_pins>;
245 pinctrl-names = "default";
251 clock-frequency = <14745600>;
255 pinctrl-0 = <&sdhi0_pins>;
256 pinctrl-names = "default";
258 vmmc-supply = <&vcc_sdhi0>;
259 cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
264 cpu0-supply = <&vdd_dvfs>;
269 pinctrl-0 = <&iic2_pins>;
270 pinctrl-names = "default";
272 clock-frequency = <100000>;
275 compatible = "adi,adv7511w";
277 interrupt-parent = <&gpio1>;
278 interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
279 clocks = <&osc4_clk>;
282 adi,input-depth = <8>;
283 adi,input-colorspace = "rgb";
284 adi,input-clock = "1x";
285 adi,input-style = <1>;
286 adi,input-justification = "evenly";
289 #address-cells = <1>;
294 adv7511_in: endpoint {
295 remote-endpoint = <&du_out_rgb>;
301 adv7511_out: endpoint {
302 remote-endpoint = <&hdmi_con_out>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&iic3_pins>;
315 compatible = "dlg,da9063";
317 interrupt-parent = <&irqc0>;
318 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
319 interrupt-controller;
322 compatible = "dlg,da9063-rtc";
326 compatible = "dlg,da9063-watchdog";
330 vdd_dvfs: regulator@68 {
331 compatible = "dlg,da9210";
333 interrupt-parent = <&irqc0>;
334 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
336 regulator-min-microvolt = <1000000>;
337 regulator-max-microvolt = <1000000>;
343 compatible = "dlg,da9210";
345 interrupt-parent = <&irqc0>;
346 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
348 regulator-min-microvolt = <1000000>;
349 regulator-max-microvolt = <1000000>;
357 pinctrl-0 = <&usb0_pins>;
358 pinctrl-names = "default";