~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2 /*
  3  * Device Tree Source for the R-Car S4 Starter Kit board
  4  *
  5  * Copyright (C) 2023 Renesas Electronics Corp.
  6  */
  7 
  8 /dts-v1/;
  9 #include <dt-bindings/gpio/gpio.h>
 10 #include "r8a779f4.dtsi"
 11 
 12 / {
 13         model = "R-Car S4 Starter Kit board";
 14         compatible = "renesas,s4sk", "renesas,r8a779f4", "renesas,r8a779f0";
 15 
 16         aliases {
 17                 i2c0 = &i2c0;
 18                 i2c1 = &i2c1;
 19                 i2c2 = &i2c2;
 20                 i2c3 = &i2c3;
 21                 i2c4 = &i2c4;
 22                 i2c5 = &i2c5;
 23                 serial0 = &hscif0;
 24                 serial1 = &hscif1;
 25                 ethernet0 = &rswitch;
 26         };
 27 
 28         chosen {
 29                 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
 30                 stdout-path = "serial0:921600n8";
 31         };
 32 
 33         memory@48000000 {
 34                 device_type = "memory";
 35                 /* first 128MB is reserved for secure area. */
 36                 /* The last 512MB is reserved for CR. */
 37                 reg = <0x0 0x48000000 0x0 0x58000000>;
 38         };
 39 
 40         memory@480000000 {
 41                 device_type = "memory";
 42                 reg = <0x4 0x80000000 0x0 0x80000000>;
 43         };
 44 
 45         vcc_sdhi: regulator-vcc-sdhi {
 46                 compatible = "regulator-fixed";
 47                 regulator-name = "SDHI Vcc";
 48                 regulator-min-microvolt = <3300000>;
 49                 regulator-max-microvolt = <3300000>;
 50                 gpio = <&gpio1 24 GPIO_ACTIVE_HIGH>;
 51                 enable-active-high;
 52         };
 53 };
 54 
 55 &eth_serdes {
 56         status = "okay";
 57 };
 58 
 59 &extal_clk {
 60         clock-frequency = <20000000>;
 61 };
 62 
 63 &extalr_clk {
 64         clock-frequency = <32768>;
 65 };
 66 
 67 &hscif0 {
 68         pinctrl-0 = <&hscif0_pins>;
 69         pinctrl-names = "default";
 70 
 71         uart-has-rtscts;
 72         status = "okay";
 73 };
 74 
 75 &hscif1 {
 76         pinctrl-0 = <&hscif1_pins>;
 77         pinctrl-names = "default";
 78 
 79         uart-has-rtscts;
 80         status = "okay";
 81 };
 82 
 83 &i2c2 {
 84         pinctrl-0 = <&i2c2_pins>;
 85         pinctrl-names = "default";
 86 
 87         status = "okay";
 88         clock-frequency = <400000>;
 89 };
 90 
 91 &i2c4 {
 92         pinctrl-0 = <&i2c4_pins>;
 93         pinctrl-names = "default";
 94 
 95         status = "okay";
 96         clock-frequency = <400000>;
 97 };
 98 
 99 &i2c5 {
100         pinctrl-0 = <&i2c5_pins>;
101         pinctrl-names = "default";
102 
103         status = "okay";
104         clock-frequency = <400000>;
105 
106         eeprom@50 {
107                 compatible = "st,24c16", "atmel,24c16";
108                 reg = <0x50>;
109                 pagesize = <16>;
110         };
111 };
112 
113 &mmc0 {
114         pinctrl-0 = <&sd_pins>;
115         pinctrl-names = "default";
116 
117         vmmc-supply = <&vcc_sdhi>;
118         cd-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
119         bus-width = <4>;
120         status = "okay";
121 };
122 
123 &pfc {
124         pinctrl-0 = <&scif_clk_pins>;
125         pinctrl-names = "default";
126 
127         hscif0_pins: hscif0 {
128                 groups = "hscif0_data", "hscif0_ctrl";
129                 function = "hscif0";
130         };
131 
132         hscif1_pins: hscif1 {
133                 groups = "hscif1_data", "hscif1_ctrl";
134                 function = "hscif1";
135         };
136 
137         i2c2_pins: i2c2 {
138                 groups = "i2c2";
139                 function = "i2c2";
140         };
141 
142         i2c4_pins: i2c4 {
143                 groups = "i2c4";
144                 function = "i2c4";
145         };
146 
147         i2c5_pins: i2c5 {
148                 groups = "i2c5";
149                 function = "i2c5";
150         };
151 
152         scif_clk_pins: scif_clk {
153                 groups = "scif_clk";
154                 function = "scif_clk";
155         };
156 
157         sd_pins: sd {
158                 groups = "mmc_data4", "mmc_ctrl";
159                 function = "mmc";
160                 power-source = <3300>;
161         };
162 
163         tsn0_pins: tsn0 {
164                 groups = "tsn0_mdio_b", "tsn0_link_b";
165                 function = "tsn0";
166                 drive-strength = <18>;
167                 power-source = <3300>;
168         };
169 
170         tsn1_pins: tsn1 {
171                 groups = "tsn1_mdio_b", "tsn1_link_b";
172                 function = "tsn1";
173                 drive-strength = <18>;
174                 power-source = <3300>;
175         };
176 };
177 
178 &rswitch {
179         pinctrl-0 = <&tsn0_pins>, <&tsn1_pins>;
180         pinctrl-names = "default";
181         status = "okay";
182 
183         ethernet-ports {
184                 #address-cells = <1>;
185                 #size-cells = <0>;
186 
187                 port@0 {
188                         reg = <0>;
189                         phy-handle = <&ic99>;
190                         phy-mode = "sgmii";
191                         phys = <&eth_serdes 0>;
192 
193                         mdio {
194                                 #address-cells = <1>;
195                                 #size-cells = <0>;
196 
197                                 ic99: ethernet-phy@1 {
198                                         reg = <1>;
199                                         compatible = "ethernet-phy-ieee802.3-c45";
200                                         interrupt-parent = <&gpio3>;
201                                         interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
202                                 };
203                         };
204                 };
205 
206                 port@1 {
207                         reg = <1>;
208                         phy-handle = <&ic102>;
209                         phy-mode = "sgmii";
210                         phys = <&eth_serdes 1>;
211 
212                         mdio {
213                                 #address-cells = <1>;
214                                 #size-cells = <0>;
215 
216                                 ic102: ethernet-phy@2 {
217                                         reg = <2>;
218                                         compatible = "ethernet-phy-ieee802.3-c45";
219                                         interrupt-parent = <&gpio3>;
220                                         interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
221                                 };
222                         };
223                 };
224 
225                 port@2 {
226                         status = "disabled";
227                 };
228         };
229 };
230 
231 &rwdt {
232         timeout-sec = <60>;
233         status = "okay";
234 };
235 
236 &scif_clk {
237         clock-frequency = <24000000>;
238 };
239 
240 &ufs {
241         status = "okay";
242 };
243 
244 &ufs30_clk {
245         clock-frequency = <38400000>;
246 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php