Merge remote-tracking branch 'spi/for-5.9' into spi-linus
[linux-2.6-microblaze.git] / arch / arm / boot / dts / r8a7742-iwg21d-q7-dbcm-ca.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for the iWave-RZ/G1H Qseven board development
4  * platform with camera daughter board
5  *
6  * Copyright (C) 2020 Renesas Electronics Corp.
7  */
8
9 /dts-v1/;
10 #include "r8a7742-iwg21d-q7.dts"
11
12 / {
13         model = "iWave Systems RZ/G1H Qseven development platform with camera add-on";
14         compatible = "iwave,g21d", "iwave,g21m", "renesas,r8a7742";
15
16         aliases {
17                 serial0 = &scif0;
18                 serial1 = &scif1;
19                 serial3 = &scifb1;
20                 serial5 = &hscif0;
21                 ethernet1 = &ether;
22         };
23 };
24
25 &avb {
26         /* Pins shared with VIN0, keep status disabled */
27         status = "disabled";
28 };
29
30 &ether {
31         pinctrl-0 = <&ether_pins>;
32         pinctrl-names = "default";
33
34         phy-handle = <&phy1>;
35         renesas,ether-link-active-low;
36         status = "okay";
37
38         phy1: ethernet-phy@1 {
39                 reg = <1>;
40                 micrel,led-mode = <1>;
41         };
42 };
43
44 &hscif0 {
45         pinctrl-0 = <&hscif0_pins>;
46         pinctrl-names = "default";
47         uart-has-rtscts;
48         status = "okay";
49 };
50
51 &pfc {
52         ether_pins: ether {
53                 groups = "eth_mdio", "eth_rmii";
54                 function = "eth";
55         };
56
57         hscif0_pins: hscif0 {
58                 groups = "hscif0_data", "hscif0_ctrl";
59                 function = "hscif0";
60         };
61
62         scif0_pins: scif0 {
63                 groups = "scif0_data";
64                 function = "scif0";
65         };
66
67         scif1_pins: scif1 {
68                 groups = "scif1_data";
69                 function = "scif1";
70         };
71
72         scifb1_pins: scifb1 {
73                 groups = "scifb1_data";
74                 function = "scifb1";
75         };
76 };
77
78 &scif0 {
79         pinctrl-0 = <&scif0_pins>;
80         pinctrl-names = "default";
81         status = "okay";
82 };
83
84 &scif1 {
85         pinctrl-0 = <&scif1_pins>;
86         pinctrl-names = "default";
87         status = "okay";
88 };
89
90 &scifb1 {
91         pinctrl-0 = <&scifb1_pins>;
92         pinctrl-names = "default";
93         status = "okay";
94
95         rts-gpios = <&gpio4 21 GPIO_ACTIVE_LOW>;
96         cts-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
97 };