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 fixedregulator1v8: regulator-1v8 {
48 compatible = "regulator-fixed";
49 regulator-name = "fixed-1.8V";
50 regulator-min-microvolt = <1800000>;
51 regulator-max-microvolt = <1800000>;
56 fixedregulator3v3: regulator-3v3 {
57 compatible = "regulator-fixed";
58 regulator-name = "fixed-3.3V";
59 regulator-min-microvolt = <3300000>;
60 regulator-max-microvolt = <3300000>;
65 vcc_sdhi0: regulator-vcc-sdhi0 {
66 compatible = "regulator-fixed";
68 regulator-name = "SDHI0 Vcc";
69 regulator-min-microvolt = <3300000>;
70 regulator-max-microvolt = <3300000>;
72 gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>;
77 compatible = "hdmi-connector";
81 hdmi_con_out: endpoint {
82 remote-endpoint = <&adv7511_out>;
87 osc1_clk: osc1-clock {
88 compatible = "fixed-clock";
90 clock-frequency = <148500000>;
93 osc4_clk: osc4-clock {
94 compatible = "fixed-clock";
96 clock-frequency = <12000000>;
101 pinctrl-0 = <&du_pins>;
102 pinctrl-names = "default";
105 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 722>,
107 clock-names = "du.0", "du.1", "du.2", "dclkin.0";
112 remote-endpoint = <&adv7511_in>;
121 lvds_connector0: endpoint {
130 lvds_connector1: endpoint {
137 clock-frequency = <20000000>;
142 pinctrl-0 = <&scif_clk_pins>;
143 pinctrl-names = "default";
146 groups = "du_rgb888", "du_sync_1", "du_clk_out_0";
150 scifa0_pins: scifa0 {
151 groups = "scifa0_data_b";
155 scif_clk_pins: scif_clk {
157 function = "scif_clk";
161 groups = "eth_link", "eth_mdio", "eth_rmii";
166 groups = "intc_irq1";
171 groups = "sdhi0_data4", "sdhi0_ctrl";
173 power-source = <3300>;
177 groups = "qspi_ctrl", "qspi_data4";
191 pmic_irq_pins: pmicirq {
192 groups = "intc_irq2";
203 pinctrl-0 = <ðer_pins>, <&phy1_pins>;
204 pinctrl-names = "default";
206 phy-handle = <&phy1>;
207 renesas,ether-link-active-low;
210 phy1: ethernet-phy@1 {
211 compatible = "ethernet-phy-id0022.1537",
212 "ethernet-phy-ieee802.3-c22";
214 interrupt-parent = <&irqc0>;
215 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
216 micrel,led-mode = <1>;
217 reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
226 pinctrl-0 = <&qspi_pins>;
227 pinctrl-names = "default";
232 compatible = "spansion,s25fl512s", "jedec,spi-nor";
234 spi-max-frequency = <30000000>;
235 spi-tx-bus-width = <4>;
236 spi-rx-bus-width = <4>;
242 compatible = "fixed-partitions";
243 #address-cells = <1>;
248 reg = <0x00000000 0x00080000>;
253 reg = <0x00080000 0x00040000>;
258 reg = <0x000c0000 0x00040000>;
263 reg = <0x00100000 0x03f00000>;
270 pinctrl-0 = <&scifa0_pins>;
271 pinctrl-names = "default";
277 clock-frequency = <14745600>;
281 pinctrl-0 = <&sdhi0_pins>;
282 pinctrl-names = "default";
284 vmmc-supply = <&vcc_sdhi0>;
285 cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
290 cpu0-supply = <&vdd_dvfs>;
295 pinctrl-0 = <&iic2_pins>;
296 pinctrl-names = "default";
298 clock-frequency = <100000>;
301 compatible = "adi,adv7511w";
303 interrupt-parent = <&gpio1>;
304 interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
305 clocks = <&osc4_clk>;
308 avdd-supply = <&fixedregulator1v8>;
309 dvdd-supply = <&fixedregulator1v8>;
310 pvdd-supply = <&fixedregulator1v8>;
311 dvdd-3v-supply = <&fixedregulator3v3>;
312 bgvdd-supply = <&fixedregulator1v8>;
314 adi,input-depth = <8>;
315 adi,input-colorspace = "rgb";
316 adi,input-clock = "1x";
319 #address-cells = <1>;
324 adv7511_in: endpoint {
325 remote-endpoint = <&du_out_rgb>;
331 adv7511_out: endpoint {
332 remote-endpoint = <&hdmi_con_out>;
340 pinctrl-names = "default";
341 pinctrl-0 = <&iic3_pins>, <&pmic_irq_pins>;
345 compatible = "dlg,da9063";
347 interrupt-parent = <&irqc0>;
348 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
349 interrupt-controller;
350 #interrupt-cells = <2>;
353 compatible = "dlg,da9063-onkey";
357 compatible = "dlg,da9063-rtc";
361 compatible = "dlg,da9063-watchdog";
365 vdd_dvfs: regulator@68 {
366 compatible = "dlg,da9210";
368 interrupt-parent = <&irqc0>;
369 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
371 regulator-min-microvolt = <1000000>;
372 regulator-max-microvolt = <1000000>;
378 compatible = "dlg,da9210";
380 interrupt-parent = <&irqc0>;
381 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
383 regulator-min-microvolt = <1000000>;
384 regulator-max-microvolt = <1000000>;
392 pinctrl-0 = <&usb0_pins>;
393 pinctrl-names = "default";