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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/renesas/r8a77470-iwg23s-sbc.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
  2 /*
  3  * Device Tree Source for the iWave-RZ/G1C single board computer
  4  *
  5  * Copyright (C) 2018 Renesas Electronics Corp.
  6  */
  7 
  8 /dts-v1/;
  9 #include <dt-bindings/gpio/gpio.h>
 10 #include "r8a77470.dtsi"
 11 / {
 12         model = "iWave iW-RainboW-G23S single board computer based on RZ/G1C";
 13         compatible = "iwave,g23s", "renesas,r8a77470";
 14 
 15         aliases {
 16                 ethernet0 = &avb;
 17                 serial1 = &scif1;
 18         };
 19 
 20         chosen {
 21                 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
 22                 stdout-path = "serial1:115200n8";
 23         };
 24 
 25         hdmi-out {
 26                 compatible = "hdmi-connector";
 27                 type = "a";
 28 
 29                 port {
 30                         hdmi_con: endpoint {
 31                                 remote-endpoint = <&bridge_out>;
 32                         };
 33                 };
 34         };
 35 
 36         memory@40000000 {
 37                 device_type = "memory";
 38                 reg = <0 0x40000000 0 0x20000000>;
 39         };
 40 
 41         reg_1p8v: reg-1p8v {
 42                 compatible = "regulator-fixed";
 43                 regulator-name = "fixed-1.8V";
 44                 regulator-min-microvolt = <1800000>;
 45                 regulator-max-microvolt = <1800000>;
 46                 regulator-boot-on;
 47                 regulator-always-on;
 48         };
 49 
 50         reg_3p3v: reg-3p3v {
 51                 compatible = "regulator-fixed";
 52                 regulator-name = "fixed-3.3V";
 53                 regulator-min-microvolt = <3300000>;
 54                 regulator-max-microvolt = <3300000>;
 55                 regulator-boot-on;
 56                 regulator-always-on;
 57         };
 58 
 59         vccq_sdhi2: regulator-vccq-sdhi2 {
 60                 compatible = "regulator-gpio";
 61 
 62                 regulator-name = "SDHI2 VccQ";
 63                 regulator-min-microvolt = <1800000>;
 64                 regulator-max-microvolt = <3300000>;
 65 
 66                 gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
 67                 gpios-states = <1>;
 68                 states = <3300000 1>, <1800000 0>;
 69         };
 70 };
 71 
 72 &avb {
 73         pinctrl-0 = <&avb_pins>;
 74         pinctrl-names = "default";
 75 
 76         phy-handle = <&phy3>;
 77         phy-mode = "gmii";
 78         renesas,no-ether-link;
 79         status = "okay";
 80 
 81         phy3: ethernet-phy@3 {
 82                 compatible = "ethernet-phy-id0022.1622",
 83                              "ethernet-phy-ieee802.3-c22";
 84                 reg = <3>;
 85                 interrupt-parent = <&gpio5>;
 86                 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
 87                 micrel,led-mode = <1>;
 88         };
 89 };
 90 
 91 &cmt0 {
 92         status = "okay";
 93 };
 94 
 95 &du {
 96         pinctrl-0 = <&du0_pins>;
 97         pinctrl-names = "default";
 98 
 99         status = "okay";
100 
101         ports {
102                 port@0 {
103                         endpoint {
104                                 remote-endpoint = <&bridge_in>;
105                         };
106                 };
107         };
108 };
109 
110 &ehci1 {
111         status = "okay";
112 };
113 
114 &extal_clk {
115         clock-frequency = <20000000>;
116 };
117 
118 &gpio2 {
119         interrupt-fixup-hog {
120                 gpio-hog;
121                 gpios = <29 GPIO_ACTIVE_HIGH>;
122                 line-name = "hdmi-hpd-int";
123                 input;
124         };
125 };
126 
127 &hsusb0 {
128         status = "okay";
129 };
130 
131 &i2c3 {
132         pinctrl-0 = <&i2c3_pins>;
133         pinctrl-names = "default";
134 
135         status = "okay";
136         clock-frequency = <400000>;
137 
138         rtc@51 {
139                 compatible = "nxp,pcf85263";
140                 reg = <0x51>;
141         };
142 };
143 
144 &i2c4 {
145         pinctrl-0 = <&i2c4_pins>;
146         pinctrl-names = "default";
147 
148         status = "okay";
149         clock-frequency = <100000>;
150 
151         hdmi@39 {
152                 compatible = "sil,sii9022";
153                 reg = <0x39>;
154                 interrupt-parent = <&gpio2>;
155                 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
156 
157                 ports {
158                         #address-cells = <1>;
159                         #size-cells = <0>;
160 
161                         port@0 {
162                                 reg = <0>;
163                                 bridge_in: endpoint {
164                                         remote-endpoint = <&du_out_rgb0>;
165                                 };
166                         };
167 
168                         port@1 {
169                                 reg = <1>;
170                                 bridge_out: endpoint {
171                                         remote-endpoint = <&hdmi_con>;
172                                 };
173                         };
174                 };
175         };
176 };
177 
178 &ohci1 {
179         status = "okay";
180 };
181 
182 &pfc {
183         avb_pins: avb {
184                 groups = "avb_mdio", "avb_gmii_tx_rx";
185                 function = "avb";
186         };
187 
188         du0_pins: du0 {
189                 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
190                 function = "du0";
191         };
192 
193         i2c4_pins: i2c4 {
194                 groups = "i2c4_e";
195                 function = "i2c4";
196         };
197 
198         i2c3_pins: i2c3 {
199                 groups = "i2c3_c";
200                 function = "i2c3";
201         };
202 
203         mmc_pins_uhs: mmc_uhs {
204                 groups = "mmc_data8", "mmc_ctrl";
205                 function = "mmc";
206                 power-source = <1800>;
207         };
208 
209         qspi0_pins: qspi0 {
210                 groups = "qspi0_ctrl", "qspi0_data2";
211                 function = "qspi0";
212         };
213 
214         scif1_pins: scif1 {
215                 groups = "scif1_data_b";
216                 function = "scif1";
217         };
218 
219         sdhi2_pins: sd2 {
220                 groups = "sdhi2_data4", "sdhi2_ctrl";
221                 function = "sdhi2";
222                 power-source = <3300>;
223         };
224 
225         sdhi2_pins_uhs: sd2_uhs {
226                 groups = "sdhi2_data4", "sdhi2_ctrl";
227                 function = "sdhi2";
228                 power-source = <1800>;
229         };
230 
231         usb0_pins: usb0 {
232                 groups = "usb0";
233                 function = "usb0";
234         };
235 
236         usb1_pins: usb1 {
237                 groups = "usb1";
238                 function = "usb1";
239         };
240 };
241 
242 &qspi0 {
243         pinctrl-0 = <&qspi0_pins>;
244         pinctrl-names = "default";
245 
246         status = "okay";
247 
248         /* WARNING - This device contains the bootloader. Handle with care. */
249         flash: flash@0 {
250                 #address-cells = <1>;
251                 #size-cells = <1>;
252                 compatible = "issi,is25lp016d", "jedec,spi-nor";
253                 reg = <0>;
254                 spi-max-frequency = <133000000>;
255                 spi-tx-bus-width = <1>;
256                 spi-rx-bus-width = <1>;
257                 m25p,fast-read;
258                 spi-cpol;
259                 spi-cpha;
260         };
261 };
262 
263 &rwdt {
264         timeout-sec = <60>;
265         status = "okay";
266 };
267 
268 &scif1 {
269         pinctrl-0 = <&scif1_pins>;
270         pinctrl-names = "default";
271 
272         status = "okay";
273 };
274 
275 &sdhi1 {
276         pinctrl-0 = <&mmc_pins_uhs>;
277         pinctrl-names = "state_uhs";
278 
279         vmmc-supply = <&reg_3p3v>;
280         vqmmc-supply = <&reg_1p8v>;
281         bus-width = <8>;
282         mmc-hs200-1_8v;
283         non-removable;
284         fixed-emmc-driver-type = <1>;
285         status = "okay";
286 };
287 
288 &sdhi2 {
289         pinctrl-0 = <&sdhi2_pins>;
290         pinctrl-1 = <&sdhi2_pins_uhs>;
291         pinctrl-names = "default", "state_uhs";
292 
293         vmmc-supply = <&reg_3p3v>;
294         vqmmc-supply = <&vccq_sdhi2>;
295         bus-width = <4>;
296         cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
297         sd-uhs-sdr50;
298         status = "okay";
299 };
300 
301 &usb2_phy0 {
302         status = "okay";
303 };
304 
305 &usb2_phy1 {
306         status = "okay";
307 };
308 
309 &usbphy0 {
310         pinctrl-0 = <&usb0_pins>;
311         pinctrl-names = "default";
312 
313         status = "okay";
314 };
315 
316 &usbphy1 {
317         pinctrl-0 = <&usb1_pins>;
318         pinctrl-names = "default";
319 
320         status = "okay";
321 };

~ [ 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