2017-10-07 00:59:53 +07:00
|
|
|
/*
|
|
|
|
* Device Tree Source for the iWave-RZ-G1M/N Daughter Board Camera Module
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017 Renesas Electronics Corp.
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
|
|
* kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
serial1 = &scif1;
|
|
|
|
serial4 = &hscif1;
|
|
|
|
};
|
2017-10-24 01:09:22 +07:00
|
|
|
|
|
|
|
cec_clock: cec-clock {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <12000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
hdmi-out {
|
|
|
|
compatible = "hdmi-connector";
|
|
|
|
type = "a";
|
|
|
|
|
|
|
|
port {
|
|
|
|
hdmi_con_out: endpoint {
|
|
|
|
remote-endpoint = <&adv7511_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-11-07 22:10:49 +07:00
|
|
|
&can1 {
|
|
|
|
pinctrl-0 = <&can1_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-10-24 01:09:22 +07:00
|
|
|
&du {
|
|
|
|
pinctrl-0 = <&du_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
port@0 {
|
|
|
|
endpoint {
|
|
|
|
remote-endpoint = <&adv7511_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2017-10-07 00:59:53 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&hscif1 {
|
|
|
|
pinctrl-0 = <&hscif1_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
uart-has-rtscts;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-10-24 01:09:22 +07:00
|
|
|
&i2c5 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
hdmi@39 {
|
|
|
|
compatible = "adi,adv7511w";
|
|
|
|
reg = <0x39>;
|
|
|
|
interrupt-parent = <&gpio0>;
|
|
|
|
interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
clocks = <&cec_clock>;
|
|
|
|
clock-names = "cec";
|
|
|
|
|
|
|
|
adi,input-depth = <8>;
|
|
|
|
adi,input-colorspace = "rgb";
|
|
|
|
adi,input-clock = "1x";
|
|
|
|
adi,input-style = <1>;
|
|
|
|
adi,input-justification = "evenly";
|
|
|
|
|
|
|
|
ports {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
port@0 {
|
|
|
|
reg = <0>;
|
|
|
|
adv7511_in: endpoint {
|
|
|
|
remote-endpoint = <&du_out_rgb>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
port@1 {
|
|
|
|
reg = <1>;
|
|
|
|
adv7511_out: endpoint {
|
|
|
|
remote-endpoint = <&hdmi_con_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-10-07 00:59:53 +07:00
|
|
|
&pfc {
|
2017-11-07 22:10:49 +07:00
|
|
|
can1_pins: can1 {
|
|
|
|
groups = "can1_data_d";
|
|
|
|
function = "can1";
|
|
|
|
};
|
|
|
|
|
2017-10-24 01:09:22 +07:00
|
|
|
du_pins: du {
|
|
|
|
groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0";
|
|
|
|
function = "du";
|
|
|
|
};
|
|
|
|
|
2017-10-07 00:59:53 +07:00
|
|
|
hscif1_pins: hscif1 {
|
|
|
|
groups = "hscif1_data_c", "hscif1_ctrl_c";
|
|
|
|
function = "hscif1";
|
|
|
|
};
|
|
|
|
|
|
|
|
scif1_pins: scif1 {
|
|
|
|
groups = "scif1_data_d";
|
|
|
|
function = "scif1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&scif1 {
|
|
|
|
pinctrl-0 = <&scif1_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
status = "okay";
|
|
|
|
};
|