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 {
202 compatible = "ethernet-phy-id0022.1537",
203 "ethernet-phy-ieee802.3-c22";
205 interrupt-parent = <&irqc0>;
206 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
207 micrel,led-mode = <1>;
208 reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
217 pinctrl-0 = <&qspi_pins>;
218 pinctrl-names = "default";
223 compatible = "spansion,s25fl512s", "jedec,spi-nor";
225 spi-max-frequency = <30000000>;
226 spi-tx-bus-width = <4>;
227 spi-rx-bus-width = <4>;
233 compatible = "fixed-partitions";
234 #address-cells = <1>;
239 reg = <0x00000000 0x00080000>;
244 reg = <0x00080000 0x00040000>;
249 reg = <0x000c0000 0x00040000>;
254 reg = <0x00100000 0x03f00000>;
261 pinctrl-0 = <&scifa0_pins>;
262 pinctrl-names = "default";
268 clock-frequency = <14745600>;
272 pinctrl-0 = <&sdhi0_pins>;
273 pinctrl-names = "default";
275 vmmc-supply = <&vcc_sdhi0>;
276 cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
281 cpu0-supply = <&vdd_dvfs>;
286 pinctrl-0 = <&iic2_pins>;
287 pinctrl-names = "default";
289 clock-frequency = <100000>;
292 compatible = "adi,adv7511w";
294 interrupt-parent = <&gpio1>;
295 interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
296 clocks = <&osc4_clk>;
299 adi,input-depth = <8>;
300 adi,input-colorspace = "rgb";
301 adi,input-clock = "1x";
304 #address-cells = <1>;
309 adv7511_in: endpoint {
310 remote-endpoint = <&du_out_rgb>;
316 adv7511_out: endpoint {
317 remote-endpoint = <&hdmi_con_out>;
325 pinctrl-names = "default";
326 pinctrl-0 = <&iic3_pins>, <&pmic_irq_pins>;
330 compatible = "dlg,da9063";
332 interrupt-parent = <&irqc0>;
333 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
334 interrupt-controller;
337 compatible = "dlg,da9063-onkey";
341 compatible = "dlg,da9063-rtc";
345 compatible = "dlg,da9063-watchdog";
349 vdd_dvfs: regulator@68 {
350 compatible = "dlg,da9210";
352 interrupt-parent = <&irqc0>;
353 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
355 regulator-min-microvolt = <1000000>;
356 regulator-max-microvolt = <1000000>;
362 compatible = "dlg,da9210";
364 interrupt-parent = <&irqc0>;
365 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
367 regulator-min-microvolt = <1000000>;
368 regulator-max-microvolt = <1000000>;
376 pinctrl-0 = <&usb0_pins>;
377 pinctrl-names = "default";