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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/renesas/r8a7790-stout.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 Stout board
  4  *
  5  * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  6  */
  7 
  8 /dts-v1/;
  9 #include "r8a7790.dtsi"
 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/input.h>
 12 
 13 / {
 14         model = "Stout";
 15         compatible = "renesas,stout", "renesas,r8a7790";
 16 
 17         aliases {
 18                 serial0 = &scifa0;
 19         };
 20 
 21         chosen {
 22                 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
 23                 stdout-path = "serial0:115200n8";
 24         };
 25 
 26         memory@40000000 {
 27                 device_type = "memory";
 28                 reg = <0 0x40000000 0 0x40000000>;
 29         };
 30 
 31         leds {
 32                 compatible = "gpio-leds";
 33                 led1 {
 34                         gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
 35                 };
 36                 led2 {
 37                         gpios = <&gpio4 23 GPIO_ACTIVE_LOW>;
 38                 };
 39                 led3 {
 40                         gpios = <&gpio5 17 GPIO_ACTIVE_LOW>;
 41                 };
 42                 led5 {
 43                         gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
 44                 };
 45         };
 46 
 47         fixedregulator1v8: regulator-1v8 {
 48                 compatible = "regulator-fixed";
 49                 regulator-name = "fixed-1.8V";
 50                 regulator-min-microvolt = <1800000>;
 51                 regulator-max-microvolt = <1800000>;
 52                 regulator-boot-on;
 53                 regulator-always-on;
 54         };
 55 
 56         fixedregulator3v3: regulator-3v3 {
 57                 compatible = "regulator-fixed";
 58                 regulator-name = "fixed-3.3V";
 59                 regulator-min-microvolt = <3300000>;
 60                 regulator-max-microvolt = <3300000>;
 61                 regulator-boot-on;
 62                 regulator-always-on;
 63         };
 64 
 65         vcc_sdhi0: regulator-vcc-sdhi0 {
 66                 compatible = "regulator-fixed";
 67 
 68                 regulator-name = "SDHI0 Vcc";
 69                 regulator-min-microvolt = <3300000>;
 70                 regulator-max-microvolt = <3300000>;
 71 
 72                 gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>;
 73                 enable-active-high;
 74         };
 75 
 76         hdmi-out {
 77                 compatible = "hdmi-connector";
 78                 type = "a";
 79 
 80                 port {
 81                         hdmi_con_out: endpoint {
 82                                 remote-endpoint = <&adv7511_out>;
 83                         };
 84                 };
 85         };
 86 
 87         osc1_clk: osc1-clock {
 88                 compatible = "fixed-clock";
 89                 #clock-cells = <0>;
 90                 clock-frequency = <148500000>;
 91         };
 92 
 93         osc4_clk: osc4-clock {
 94                 compatible = "fixed-clock";
 95                 #clock-cells = <0>;
 96                 clock-frequency = <12000000>;
 97         };
 98 };
 99 
100 &du {
101         pinctrl-0 = <&du_pins>;
102         pinctrl-names = "default";
103         status = "okay";
104 
105         clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 722>,
106                  <&osc1_clk>;
107         clock-names = "du.0", "du.1", "du.2", "dclkin.0";
108 
109         ports {
110                 port@0 {
111                         endpoint {
112                                 remote-endpoint = <&adv7511_in>;
113                         };
114                 };
115         };
116 };
117 
118 &lvds0 {
119         ports {
120                 port@1 {
121                         lvds_connector0: endpoint {
122                         };
123                 };
124         };
125 };
126 
127 &lvds1 {
128         ports {
129                 port@1 {
130                         lvds_connector1: endpoint {
131                         };
132                 };
133         };
134 };
135 
136 &extal_clk {
137         clock-frequency = <20000000>;
138 };
139 
140 &pfc {
141 
142         pinctrl-0 = <&scif_clk_pins>;
143         pinctrl-names = "default";
144 
145         du_pins: du {
146                 groups = "du_rgb888", "du_sync_1", "du_clk_out_0";
147                 function = "du";
148         };
149 
150         scifa0_pins: scifa0 {
151                 groups = "scifa0_data_b";
152                 function = "scifa0";
153         };
154 
155         scif_clk_pins: scif_clk {
156                 groups = "scif_clk";
157                 function = "scif_clk";
158         };
159 
160         ether_pins: ether {
161                 groups = "eth_link", "eth_mdio", "eth_rmii";
162                 function = "eth";
163         };
164 
165         phy1_pins: phy1 {
166                 groups = "intc_irq1";
167                 function = "intc";
168         };
169 
170         sdhi0_pins: sd0 {
171                 groups = "sdhi0_data4", "sdhi0_ctrl";
172                 function = "sdhi0";
173                 power-source = <3300>;
174         };
175 
176         qspi_pins: qspi {
177                 groups = "qspi_ctrl", "qspi_data4";
178                 function = "qspi";
179         };
180 
181         iic2_pins: iic2 {
182                 groups = "iic2_b";
183                 function = "iic2";
184         };
185 
186         iic3_pins: iic3 {
187                 groups = "iic3";
188                 function = "iic3";
189         };
190 
191         pmic_irq_pins: pmicirq {
192                 groups = "intc_irq2";
193                 function = "intc";
194         };
195 
196         usb0_pins: usb0 {
197                 groups = "usb0";
198                 function = "usb0";
199         };
200 };
201 
202 &ether {
203         pinctrl-0 = <&ether_pins>, <&phy1_pins>;
204         pinctrl-names = "default";
205 
206         phy-handle = <&phy1>;
207         renesas,ether-link-active-low;
208         status = "okay";
209 
210         phy1: ethernet-phy@1 {
211                 compatible = "ethernet-phy-id0022.1537",
212                              "ethernet-phy-ieee802.3-c22";
213                 reg = <1>;
214                 interrupt-parent = <&irqc0>;
215                 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
216                 micrel,led-mode = <1>;
217                 reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
218         };
219 };
220 
221 &cmt0 {
222         status = "okay";
223 };
224 
225 &qspi {
226         pinctrl-0 = <&qspi_pins>;
227         pinctrl-names = "default";
228 
229         status = "okay";
230 
231         flash: flash@0 {
232                 compatible = "spansion,s25fl512s", "jedec,spi-nor";
233                 reg = <0>;
234                 spi-max-frequency = <30000000>;
235                 spi-tx-bus-width = <4>;
236                 spi-rx-bus-width = <4>;
237                 spi-cpha;
238                 spi-cpol;
239                 m25p,fast-read;
240 
241                 partitions {
242                         compatible = "fixed-partitions";
243                         #address-cells = <1>;
244                         #size-cells = <1>;
245 
246                         partition@0 {
247                                 label = "loader";
248                                 reg = <0x00000000 0x00080000>;
249                                 read-only;
250                         };
251                         partition@80000 {
252                                 label = "uboot";
253                                 reg = <0x00080000 0x00040000>;
254                                 read-only;
255                         };
256                         partition@c0000 {
257                                 label = "uboot-env";
258                                 reg = <0x000c0000 0x00040000>;
259                                 read-only;
260                         };
261                         partition@100000 {
262                                 label = "flash";
263                                 reg = <0x00100000 0x03f00000>;
264                         };
265                 };
266         };
267 };
268 
269 &scifa0 {
270         pinctrl-0 = <&scifa0_pins>;
271         pinctrl-names = "default";
272 
273         status = "okay";
274 };
275 
276 &scif_clk {
277         clock-frequency = <14745600>;
278 };
279 
280 &sdhi0 {
281         pinctrl-0 = <&sdhi0_pins>;
282         pinctrl-names = "default";
283 
284         vmmc-supply = <&vcc_sdhi0>;
285         cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
286         status = "okay";
287 };
288 
289 &cpu0 {
290         cpu0-supply = <&vdd_dvfs>;
291 };
292 
293 &iic2   {
294         status = "okay";
295         pinctrl-0 = <&iic2_pins>;
296         pinctrl-names = "default";
297 
298         clock-frequency = <100000>;
299 
300         hdmi@39 {
301                 compatible = "adi,adv7511w";
302                 reg = <0x39>;
303                 interrupt-parent = <&gpio1>;
304                 interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
305                 clocks = <&osc4_clk>;
306                 clock-names = "cec";
307 
308                 avdd-supply = <&fixedregulator1v8>;
309                 dvdd-supply = <&fixedregulator1v8>;
310                 pvdd-supply = <&fixedregulator1v8>;
311                 dvdd-3v-supply = <&fixedregulator3v3>;
312                 bgvdd-supply = <&fixedregulator1v8>;
313 
314                 adi,input-depth = <8>;
315                 adi,input-colorspace = "rgb";
316                 adi,input-clock = "1x";
317 
318                 ports {
319                         #address-cells = <1>;
320                         #size-cells = <0>;
321 
322                         port@0 {
323                                 reg = <0>;
324                                 adv7511_in: endpoint {
325                                         remote-endpoint = <&du_out_rgb>;
326                                 };
327                         };
328 
329                         port@1 {
330                                 reg = <1>;
331                                 adv7511_out: endpoint {
332                                         remote-endpoint = <&hdmi_con_out>;
333                                 };
334                         };
335                 };
336         };
337 };
338 
339 &iic3 {
340         pinctrl-names = "default";
341         pinctrl-0 = <&iic3_pins>, <&pmic_irq_pins>;
342         status = "okay";
343 
344         pmic@58 {
345                 compatible = "dlg,da9063";
346                 reg = <0x58>;
347                 interrupt-parent = <&irqc0>;
348                 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
349                 interrupt-controller;
350                 #interrupt-cells = <2>;
351 
352                 onkey {
353                         compatible = "dlg,da9063-onkey";
354                 };
355 
356                 rtc {
357                         compatible = "dlg,da9063-rtc";
358                 };
359 
360                 watchdog {
361                         compatible = "dlg,da9063-watchdog";
362                 };
363         };
364 
365         vdd_dvfs: regulator@68 {
366                 compatible = "dlg,da9210";
367                 reg = <0x68>;
368                 interrupt-parent = <&irqc0>;
369                 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
370 
371                 regulator-min-microvolt = <1000000>;
372                 regulator-max-microvolt = <1000000>;
373                 regulator-boot-on;
374                 regulator-always-on;
375         };
376 
377         vdd: regulator@70 {
378                 compatible = "dlg,da9210";
379                 reg = <0x70>;
380                 interrupt-parent = <&irqc0>;
381                 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
382 
383                 regulator-min-microvolt = <1000000>;
384                 regulator-max-microvolt = <1000000>;
385                 regulator-boot-on;
386                 regulator-always-on;
387         };
388 };
389 
390 &pci0 {
391         status = "okay";
392         pinctrl-0 = <&usb0_pins>;
393         pinctrl-names = "default";
394 };
395 
396 &usbphy {
397         status = "okay";
398 };

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