1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Device Tree Source for the R-Car S4 Starter Kit board
5 * Copyright (C) 2023 Renesas Electronics Corp.
9 #include <dt-bindings/gpio/gpio.h>
10 #include "r8a779f4.dtsi"
13 model = "R-Car S4 Starter Kit board";
14 compatible = "renesas,s4sk", "renesas,r8a779f4", "renesas,r8a779f0";
23 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
24 stdout-path = "serial0:921600n8";
28 device_type = "memory";
29 /* first 128MB is reserved for secure area. */
30 /* The last 512MB is reserved for CR. */
31 reg = <0x0 0x48000000 0x0 0x58000000>;
35 device_type = "memory";
36 reg = <0x4 0x80000000 0x0 0x80000000>;
39 vcc_sdhi: regulator-vcc-sdhi {
40 compatible = "regulator-fixed";
41 regulator-name = "SDHI Vcc";
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
44 gpio = <&gpio1 24 GPIO_ACTIVE_HIGH>;
54 clock-frequency = <20000000>;
58 clock-frequency = <32768>;
62 pinctrl-0 = <&hscif0_pins>;
63 pinctrl-names = "default";
70 pinctrl-0 = <&hscif1_pins>;
71 pinctrl-names = "default";
78 pinctrl-0 = <&i2c2_pins>;
79 pinctrl-names = "default";
82 clock-frequency = <400000>;
86 pinctrl-0 = <&i2c4_pins>;
87 pinctrl-names = "default";
90 clock-frequency = <400000>;
94 pinctrl-0 = <&i2c5_pins>;
95 pinctrl-names = "default";
98 clock-frequency = <400000>;
101 compatible = "st,24c16", "atmel,24c16";
108 pinctrl-0 = <&sd_pins>;
109 pinctrl-names = "default";
111 vmmc-supply = <&vcc_sdhi>;
112 cd-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
118 pinctrl-0 = <&scif_clk_pins>;
119 pinctrl-names = "default";
121 hscif0_pins: hscif0 {
122 groups = "hscif0_data", "hscif0_ctrl";
126 hscif1_pins: hscif1 {
127 groups = "hscif1_data", "hscif1_ctrl";
146 scif_clk_pins: scif_clk {
148 function = "scif_clk";
152 groups = "mmc_data4", "mmc_ctrl";
154 power-source = <3300>;
158 groups = "tsn0_mdio_b", "tsn0_link_b";
160 drive-strength = <18>;
161 power-source = <3300>;
165 groups = "tsn1_mdio_b", "tsn1_link_b";
167 drive-strength = <18>;
168 power-source = <3300>;
173 pinctrl-0 = <&tsn0_pins>, <&tsn1_pins>;
174 pinctrl-names = "default";
178 #address-cells = <1>;
183 phy-handle = <&ic99>;
185 phys = <ð_serdes 0>;
188 #address-cells = <1>;
191 ic99: ethernet-phy@1 {
193 compatible = "ethernet-phy-ieee802.3-c45";
194 interrupt-parent = <&gpio3>;
195 interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
202 phy-handle = <&ic102>;
204 phys = <ð_serdes 1>;
207 #address-cells = <1>;
210 ic102: ethernet-phy@2 {
212 compatible = "ethernet-phy-ieee802.3-c45";
213 interrupt-parent = <&gpio3>;
214 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
231 clock-frequency = <24000000>;
239 clock-frequency = <38400000>;