Commit | Line | Data |
---|---|---|
2ee18841 FC |
1 | /* |
2 | * Device Tree Source for the iWave-RZ-G1M/N Daughter Board Camera Module | |
3 | * | |
4 | * Copyright (C) 2017 Renesas Electronics Corp. | |
5 | * | |
6 | * This file is licensed under the terms of the GNU General Public License | |
7 | * version 2. This program is licensed "as is" without any warranty of any | |
8 | * kind, whether express or implied. | |
9 | */ | |
10 | ||
11 | / { | |
12 | aliases { | |
13 | serial1 = &scif1; | |
14 | serial4 = &hscif1; | |
15 | }; | |
55cce0a0 FC |
16 | |
17 | cec_clock: cec-clock { | |
18 | compatible = "fixed-clock"; | |
19 | #clock-cells = <0>; | |
20 | clock-frequency = <12000000>; | |
21 | }; | |
22 | ||
23 | hdmi-out { | |
24 | compatible = "hdmi-connector"; | |
25 | type = "a"; | |
26 | ||
27 | port { | |
28 | hdmi_con_out: endpoint { | |
29 | remote-endpoint = <&adv7511_out>; | |
30 | }; | |
31 | }; | |
32 | }; | |
33 | }; | |
34 | ||
04e31b15 FC |
35 | &can1 { |
36 | pinctrl-0 = <&can1_pins>; | |
37 | pinctrl-names = "default"; | |
38 | ||
39 | status = "okay"; | |
40 | }; | |
41 | ||
55cce0a0 FC |
42 | &du { |
43 | pinctrl-0 = <&du_pins>; | |
44 | pinctrl-names = "default"; | |
45 | status = "okay"; | |
46 | ||
47 | ports { | |
48 | port@0 { | |
49 | endpoint { | |
50 | remote-endpoint = <&adv7511_in>; | |
51 | }; | |
52 | }; | |
53 | }; | |
2ee18841 FC |
54 | }; |
55 | ||
56 | &hscif1 { | |
57 | pinctrl-0 = <&hscif1_pins>; | |
58 | pinctrl-names = "default"; | |
59 | ||
60 | uart-has-rtscts; | |
61 | status = "okay"; | |
62 | }; | |
63 | ||
55cce0a0 FC |
64 | &i2c5 { |
65 | status = "okay"; | |
66 | clock-frequency = <400000>; | |
67 | ||
68 | hdmi@39 { | |
69 | compatible = "adi,adv7511w"; | |
70 | reg = <0x39>; | |
71 | interrupt-parent = <&gpio0>; | |
72 | interrupts = <13 IRQ_TYPE_LEVEL_LOW>; | |
73 | clocks = <&cec_clock>; | |
74 | clock-names = "cec"; | |
75 | ||
76 | adi,input-depth = <8>; | |
77 | adi,input-colorspace = "rgb"; | |
78 | adi,input-clock = "1x"; | |
79 | adi,input-style = <1>; | |
80 | adi,input-justification = "evenly"; | |
81 | ||
82 | ports { | |
83 | #address-cells = <1>; | |
84 | #size-cells = <0>; | |
85 | ||
86 | port@0 { | |
87 | reg = <0>; | |
88 | adv7511_in: endpoint { | |
89 | remote-endpoint = <&du_out_rgb>; | |
90 | }; | |
91 | }; | |
92 | ||
93 | port@1 { | |
94 | reg = <1>; | |
95 | adv7511_out: endpoint { | |
96 | remote-endpoint = <&hdmi_con_out>; | |
97 | }; | |
98 | }; | |
99 | }; | |
100 | }; | |
101 | }; | |
102 | ||
2ee18841 | 103 | &pfc { |
04e31b15 FC |
104 | can1_pins: can1 { |
105 | groups = "can1_data_d"; | |
106 | function = "can1"; | |
107 | }; | |
108 | ||
55cce0a0 FC |
109 | du_pins: du { |
110 | groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0"; | |
111 | function = "du"; | |
112 | }; | |
113 | ||
2ee18841 FC |
114 | hscif1_pins: hscif1 { |
115 | groups = "hscif1_data_c", "hscif1_ctrl_c"; | |
116 | function = "hscif1"; | |
117 | }; | |
118 | ||
119 | scif1_pins: scif1 { | |
120 | groups = "scif1_data_d"; | |
121 | function = "scif1"; | |
122 | }; | |
123 | }; | |
124 | ||
125 | &scif1 { | |
126 | pinctrl-0 = <&scif1_pins>; | |
127 | pinctrl-names = "default"; | |
128 | ||
129 | status = "okay"; | |
130 | }; |