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=on";
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>,
98 clock-names = "du.0", "du.1", "du.2", "dclkin.0";
103 remote-endpoint = <&adv7511_in>;
112 lvds_connector0: endpoint {
121 lvds_connector1: endpoint {
128 clock-frequency = <20000000>;
133 pinctrl-0 = <&scif_clk_pins>;
134 pinctrl-names = "default";
137 groups = "du_rgb888", "du_sync_1", "du_clk_out_0";
141 scifa0_pins: scifa0 {
142 groups = "scifa0_data_b";
146 scif_clk_pins: scif_clk {
148 function = "scif_clk";
152 groups = "eth_link", "eth_mdio", "eth_rmii";
157 groups = "intc_irq1";
162 groups = "sdhi0_data4", "sdhi0_ctrl";
164 power-source = <3300>;
168 groups = "qspi_ctrl", "qspi_data4";
182 pmic_irq_pins: pmicirq {
183 groups = "intc_irq2";
194 pinctrl-0 = <ðer_pins &phy1_pins>;
195 pinctrl-names = "default";
197 phy-handle = <&phy1>;
198 renesas,ether-link-active-low;
201 phy1: ethernet-phy@1 {
203 interrupt-parent = <&irqc0>;
204 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
205 micrel,led-mode = <1>;
206 reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
215 pinctrl-0 = <&qspi_pins>;
216 pinctrl-names = "default";
221 compatible = "spansion,s25fl512s", "jedec,spi-nor";
223 spi-max-frequency = <30000000>;
224 spi-tx-bus-width = <4>;
225 spi-rx-bus-width = <4>;
231 compatible = "fixed-partitions";
232 #address-cells = <1>;
237 reg = <0x00000000 0x00080000>;
242 reg = <0x00080000 0x00040000>;
247 reg = <0x000c0000 0x00040000>;
252 reg = <0x00100000 0x03f00000>;
259 pinctrl-0 = <&scifa0_pins>;
260 pinctrl-names = "default";
266 clock-frequency = <14745600>;
270 pinctrl-0 = <&sdhi0_pins>;
271 pinctrl-names = "default";
273 vmmc-supply = <&vcc_sdhi0>;
274 cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
279 cpu0-supply = <&vdd_dvfs>;
284 pinctrl-0 = <&iic2_pins>;
285 pinctrl-names = "default";
287 clock-frequency = <100000>;
290 compatible = "adi,adv7511w";
292 interrupt-parent = <&gpio1>;
293 interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
294 clocks = <&osc4_clk>;
297 adi,input-depth = <8>;
298 adi,input-colorspace = "rgb";
299 adi,input-clock = "1x";
302 #address-cells = <1>;
307 adv7511_in: endpoint {
308 remote-endpoint = <&du_out_rgb>;
314 adv7511_out: endpoint {
315 remote-endpoint = <&hdmi_con_out>;
323 pinctrl-names = "default";
324 pinctrl-0 = <&iic3_pins &pmic_irq_pins>;
328 compatible = "dlg,da9063";
330 interrupt-parent = <&irqc0>;
331 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
332 interrupt-controller;
335 compatible = "dlg,da9063-onkey";
339 compatible = "dlg,da9063-rtc";
343 compatible = "dlg,da9063-watchdog";
347 vdd_dvfs: regulator@68 {
348 compatible = "dlg,da9210";
350 interrupt-parent = <&irqc0>;
351 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
353 regulator-min-microvolt = <1000000>;
354 regulator-max-microvolt = <1000000>;
360 compatible = "dlg,da9210";
362 interrupt-parent = <&irqc0>;
363 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
365 regulator-min-microvolt = <1000000>;
366 regulator-max-microvolt = <1000000>;
374 pinctrl-0 = <&usb0_pins>;
375 pinctrl-names = "default";