Debian Codegraph @

arch/arm/boot/dts/renesas/r8a7745-iwg22d-sodimm-dbhd-ca.dts

raw
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board + HDMI daughter
4 * board
5 *
6 * Copyright (C) 2017 Renesas Electronics Corp.
7 */
8
9 #include "r8a7745-iwg22d-sodimm.dts"
10
11 / {
12 model = "iWave RainboW-G22D-SODIMM RZ/G1E based board with HDMI add-on";
13 compatible = "iwave,g22d", "iwave,g22m", "renesas,r8a7745";
14
15 aliases {
16 serial0 = &scif1;
17 serial4 = &scif5;
18 serial6 = &hscif2;
19 };
20
21 cec_clock: cec-clock {
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <12000000>;
25 };
26
27 hdmi-out {
28 compatible = "hdmi-connector";
29 type = "a";
30
31 port {
32 hdmi_con: endpoint {
33 remote-endpoint = <&adv7511_out>;
34 };
35 };
36 };
37
38 reg_1p8v: regulator-1p8v {
39 compatible = "regulator-fixed";
40 regulator-name = "1P8V";
41 regulator-min-microvolt = <1800000>;
42 regulator-max-microvolt = <1800000>;
43 regulator-boot-on;
44 regulator-always-on;
45 };
46 };
47
48 &du {
49 pinctrl-0 = <&du0_pins>;
50 pinctrl-names = "default";
51
52 status = "okay";
53
54 ports {
55 port@0 {
56 endpoint {
57 remote-endpoint = <&adv7511_in>;
58 };
59 };
60 };
61 };
62
63 &can1 {
64 pinctrl-0 = <&can1_pins>;
65 pinctrl-names = "default";
66
67 status = "okay";
68 };
69
70 &hscif2 {
71 pinctrl-0 = <&hscif2_pins>;
72 pinctrl-names = "default";
73
74 status = "okay";
75 };
76
77 &i2c1 {
78 pinctrl-0 = <&i2c1_pins>;
79 pinctrl-names = "default";
80
81 status = "okay";
82 clock-frequency = <400000>;
83
84 hdmi@39 {
85 compatible = "adi,adv7511w";
86 reg = <0x39>;
87 interrupts-extended = <&gpio1 0 IRQ_TYPE_LEVEL_LOW>;
88 clocks = <&cec_clock>;
89 clock-names = "cec";
90 pd-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
91
92 avdd-supply = <&reg_1p8v>;
93 dvdd-supply = <&reg_1p8v>;
94 pvdd-supply = <&reg_1p8v>;
95 dvdd-3v-supply = <&reg_3p3v>;
96 bgvdd-supply = <&reg_1p8v>;
97
98 adi,input-depth = <8>;
99 adi,input-colorspace = "rgb";
100 adi,input-clock = "1x";
101
102 ports {
103 #address-cells = <1>;
104 #size-cells = <0>;
105
106 port@0 {
107 reg = <0>;
108 adv7511_in: endpoint {
109 remote-endpoint = <&du_out_rgb0>;
110 };
111 };
112
113 port@1 {
114 reg = <1>;
115 adv7511_out: endpoint {
116 remote-endpoint = <&hdmi_con>;
117 };
118 };
119 };
120 };
121 };
122
123 &lcd_panel {
124 status = "disabled";
125
126 /delete-node/ port;
127 };
128
129 &pfc {
130 can1_pins: can1 {
131 groups = "can1_data_b";
132 function = "can1";
133 };
134
135 du0_pins: du0 {
136 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
137 function = "du0";
138 };
139
140 hscif2_pins: hscif2 {
141 groups = "hscif2_data";
142 function = "hscif2";
143 };
144
145 i2c1_pins: i2c1 {
146 groups = "i2c1_d";
147 function = "i2c1";
148 };
149
150 scif1_pins: scif1 {
151 groups = "scif1_data";
152 function = "scif1";
153 };
154
155 scif5_pins: scif5 {
156 groups = "scif5_data_d";
157 function = "scif5";
158 };
159 };
160
161 &scif1 {
162 pinctrl-0 = <&scif1_pins>;
163 pinctrl-names = "default";
164
165 status = "okay";
166 };
167
168 &scif5 {
169 pinctrl-0 = <&scif5_pins>;
170 pinctrl-names = "default";
171
172 status = "okay";
173 };