Linux Audio

Check our new training course

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