Linux Audio

Check our new training course

Real-Time Linux with PREEMPT_RT training

Feb 18-20, 2025
Register
Loading...
v4.17
 
  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	};
 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
 35&can1 {
 36	pinctrl-0 = <&can1_pins>;
 37	pinctrl-names = "default";
 38
 39	status = "okay";
 40};
 41
 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	};
 54};
 55
 56&hscif1 {
 57	pinctrl-0 = <&hscif1_pins>;
 58	pinctrl-names = "default";
 59
 60	uart-has-rtscts;
 61	status = "okay";
 62};
 63
 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
103&pfc {
104	can1_pins: can1 {
105		groups = "can1_data_d";
106		function = "can1";
107	};
108
109	du_pins: du {
110		groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0";
111		function = "du";
112	};
113
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};
v5.4
  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	status = "okay";
 43
 44	ports {
 45		port@0 {
 46			endpoint {
 47				remote-endpoint = <&adv7511_in>;
 48			};
 49		};
 50	};
 51};
 52
 53&hscif1 {
 54	pinctrl-0 = <&hscif1_pins>;
 55	pinctrl-names = "default";
 56
 57	uart-has-rtscts;
 58	status = "okay";
 59};
 60
 61&i2c5 {
 62	status = "okay";
 63	clock-frequency = <400000>;
 64
 65	hdmi@39 {
 66		compatible = "adi,adv7511w";
 67		reg = <0x39>;
 68		interrupt-parent = <&gpio0>;
 69		interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
 70		clocks = <&cec_clock>;
 71		clock-names = "cec";
 72
 73		adi,input-depth = <8>;
 74		adi,input-colorspace = "rgb";
 75		adi,input-clock = "1x";
 76		adi,input-style = <1>;
 77		adi,input-justification = "evenly";
 78
 79		ports {
 80			#address-cells = <1>;
 81			#size-cells = <0>;
 82
 83			port@0 {
 84				reg = <0>;
 85				adv7511_in: endpoint {
 86					remote-endpoint = <&du_out_rgb>;
 87				};
 88			};
 89
 90			port@1 {
 91				reg = <1>;
 92				adv7511_out: endpoint {
 93					remote-endpoint = <&hdmi_con_out>;
 94				};
 95			};
 96		};
 97	};
 98};
 99
100&pfc {
101	can1_pins: can1 {
102		groups = "can1_data_d";
103		function = "can1";
104	};
105
106	du_pins: du {
107		groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0";
108		function = "du";
109	};
110
111	hscif1_pins: hscif1 {
112		groups = "hscif1_data_c", "hscif1_ctrl_c";
113		function = "hscif1";
114	};
115
116	scif1_pins: scif1 {
117		groups = "scif1_data_d";
118		function = "scif1";
119	};
120};
121
122&scif1 {
123	pinctrl-0 = <&scif1_pins>;
124	pinctrl-names = "default";
125
126	status = "okay";
127};