Linux Audio

Check our new training course

Loading...
Note: File does not exist in 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	reg_1p8v: regulator-1p8v {
 32		compatible = "regulator-fixed";
 33		regulator-name = "1P8V";
 34		regulator-min-microvolt = <1800000>;
 35		regulator-max-microvolt = <1800000>;
 36		regulator-boot-on;
 37		regulator-always-on;
 38	};
 39};
 40
 41&can1 {
 42	pinctrl-0 = <&can1_pins>;
 43	pinctrl-names = "default";
 44
 45	status = "okay";
 46};
 47
 48&du {
 49	pinctrl-0 = <&du_pins>;
 50	pinctrl-names = "default";
 51
 52	ports {
 53		port@0 {
 54			endpoint {
 55				remote-endpoint = <&adv7511_in>;
 56			};
 57		};
 58	};
 59};
 60
 61&hscif1 {
 62	pinctrl-0 = <&hscif1_pins>;
 63	pinctrl-names = "default";
 64
 65	uart-has-rtscts;
 66	status = "okay";
 67};
 68
 69&i2c5 {
 70	status = "okay";
 71	clock-frequency = <400000>;
 72
 73	hdmi@39 {
 74		compatible = "adi,adv7511w";
 75		reg = <0x39>;
 76		interrupts-extended = <&gpio0 13 IRQ_TYPE_LEVEL_LOW>;
 77		clocks = <&cec_clock>;
 78		clock-names = "cec";
 79
 80		avdd-supply = <&reg_1p8v>;
 81		dvdd-supply = <&reg_1p8v>;
 82		pvdd-supply = <&reg_1p8v>;
 83		dvdd-3v-supply = <&reg_3p3v>;
 84		bgvdd-supply = <&reg_1p8v>;
 85
 86		adi,input-depth = <8>;
 87		adi,input-colorspace = "rgb";
 88		adi,input-clock = "1x";
 89
 90		ports {
 91			#address-cells = <1>;
 92			#size-cells = <0>;
 93
 94			port@0 {
 95				reg = <0>;
 96				adv7511_in: endpoint {
 97					remote-endpoint = <&du_out_rgb>;
 98				};
 99			};
100
101			port@1 {
102				reg = <1>;
103				adv7511_out: endpoint {
104					remote-endpoint = <&hdmi_con_out>;
105				};
106			};
107		};
108	};
109};
110
111&pfc {
112	can1_pins: can1 {
113		groups = "can1_data_d";
114		function = "can1";
115	};
116
117	du_pins: du {
118		groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0";
119		function = "du";
120	};
121
122	hscif1_pins: hscif1 {
123		groups = "hscif1_data_c", "hscif1_ctrl_c";
124		function = "hscif1";
125	};
126
127	scif1_pins: scif1 {
128		groups = "scif1_data_d";
129		function = "scif1";
130	};
131};
132
133&scif1 {
134	pinctrl-0 = <&scif1_pins>;
135	pinctrl-names = "default";
136
137	status = "okay";
138};