Merge branch 'topic/nhlt' into for-next
[linux-2.6-microblaze.git] / arch / arm / boot / dts / iwg20d-q7-dbcm-ca.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for the iWave-RZ-G1M/N Daughter Board Camera Module
4  *
5  * Copyright (C) 2017 Renesas Electronics Corp.
6  */
7
8 / {
9         aliases {
10                 serial1 = &scif1;
11                 serial4 = &hscif1;
12         };
13
14         cec_clock: cec-clock {
15                 compatible = "fixed-clock";
16                 #clock-cells = <0>;
17                 clock-frequency = <12000000>;
18         };
19
20         hdmi-out {
21                 compatible = "hdmi-connector";
22                 type = "a";
23
24                 port {
25                         hdmi_con_out: endpoint {
26                                 remote-endpoint = <&adv7511_out>;
27                         };
28                 };
29         };
30 };
31
32 &can1 {
33         pinctrl-0 = <&can1_pins>;
34         pinctrl-names = "default";
35
36         status = "okay";
37 };
38
39 &du {
40         pinctrl-0 = <&du_pins>;
41         pinctrl-names = "default";
42
43         ports {
44                 port@0 {
45                         endpoint {
46                                 remote-endpoint = <&adv7511_in>;
47                         };
48                 };
49         };
50 };
51
52 &hscif1 {
53         pinctrl-0 = <&hscif1_pins>;
54         pinctrl-names = "default";
55
56         uart-has-rtscts;
57         status = "okay";
58 };
59
60 &i2c5 {
61         status = "okay";
62         clock-frequency = <400000>;
63
64         hdmi@39 {
65                 compatible = "adi,adv7511w";
66                 reg = <0x39>;
67                 interrupt-parent = <&gpio0>;
68                 interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
69                 clocks = <&cec_clock>;
70                 clock-names = "cec";
71
72                 adi,input-depth = <8>;
73                 adi,input-colorspace = "rgb";
74                 adi,input-clock = "1x";
75                 adi,input-style = <1>;
76                 adi,input-justification = "evenly";
77
78                 ports {
79                         #address-cells = <1>;
80                         #size-cells = <0>;
81
82                         port@0 {
83                                 reg = <0>;
84                                 adv7511_in: endpoint {
85                                         remote-endpoint = <&du_out_rgb>;
86                                 };
87                         };
88
89                         port@1 {
90                                 reg = <1>;
91                                 adv7511_out: endpoint {
92                                         remote-endpoint = <&hdmi_con_out>;
93                                 };
94                         };
95                 };
96         };
97 };
98
99 &pfc {
100         can1_pins: can1 {
101                 groups = "can1_data_d";
102                 function = "can1";
103         };
104
105         du_pins: du {
106                 groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0";
107                 function = "du";
108         };
109
110         hscif1_pins: hscif1 {
111                 groups = "hscif1_data_c", "hscif1_ctrl_c";
112                 function = "hscif1";
113         };
114
115         scif1_pins: scif1 {
116                 groups = "scif1_data_d";
117                 function = "scif1";
118         };
119 };
120
121 &scif1 {
122         pinctrl-0 = <&scif1_pins>;
123         pinctrl-names = "default";
124
125         status = "okay";
126 };