0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Device Tree Source for the iWave-RZ-G1M/N Daughter Board Camera Module
0004 *
0005 * Copyright (C) 2017 Renesas Electronics Corp.
0006 */
0007
0008 / {
0009 aliases {
0010 serial1 = &scif1;
0011 serial4 = &hscif1;
0012 };
0013
0014 cec_clock: cec-clock {
0015 compatible = "fixed-clock";
0016 #clock-cells = <0>;
0017 clock-frequency = <12000000>;
0018 };
0019
0020 hdmi-out {
0021 compatible = "hdmi-connector";
0022 type = "a";
0023
0024 port {
0025 hdmi_con_out: endpoint {
0026 remote-endpoint = <&adv7511_out>;
0027 };
0028 };
0029 };
0030 };
0031
0032 &can1 {
0033 pinctrl-0 = <&can1_pins>;
0034 pinctrl-names = "default";
0035
0036 status = "okay";
0037 };
0038
0039 &du {
0040 pinctrl-0 = <&du_pins>;
0041 pinctrl-names = "default";
0042
0043 ports {
0044 port@0 {
0045 endpoint {
0046 remote-endpoint = <&adv7511_in>;
0047 };
0048 };
0049 };
0050 };
0051
0052 &hscif1 {
0053 pinctrl-0 = <&hscif1_pins>;
0054 pinctrl-names = "default";
0055
0056 uart-has-rtscts;
0057 status = "okay";
0058 };
0059
0060 &i2c5 {
0061 status = "okay";
0062 clock-frequency = <400000>;
0063
0064 hdmi@39 {
0065 compatible = "adi,adv7511w";
0066 reg = <0x39>;
0067 interrupt-parent = <&gpio0>;
0068 interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
0069 clocks = <&cec_clock>;
0070 clock-names = "cec";
0071
0072 adi,input-depth = <8>;
0073 adi,input-colorspace = "rgb";
0074 adi,input-clock = "1x";
0075
0076 ports {
0077 #address-cells = <1>;
0078 #size-cells = <0>;
0079
0080 port@0 {
0081 reg = <0>;
0082 adv7511_in: endpoint {
0083 remote-endpoint = <&du_out_rgb>;
0084 };
0085 };
0086
0087 port@1 {
0088 reg = <1>;
0089 adv7511_out: endpoint {
0090 remote-endpoint = <&hdmi_con_out>;
0091 };
0092 };
0093 };
0094 };
0095 };
0096
0097 &pfc {
0098 can1_pins: can1 {
0099 groups = "can1_data_d";
0100 function = "can1";
0101 };
0102
0103 du_pins: du {
0104 groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0";
0105 function = "du";
0106 };
0107
0108 hscif1_pins: hscif1 {
0109 groups = "hscif1_data_c", "hscif1_ctrl_c";
0110 function = "hscif1";
0111 };
0112
0113 scif1_pins: scif1 {
0114 groups = "scif1_data_d";
0115 function = "scif1";
0116 };
0117 };
0118
0119 &scif1 {
0120 pinctrl-0 = <&scif1_pins>;
0121 pinctrl-names = "default";
0122
0123 status = "okay";
0124 };