Linux Audio

Check our new training course

Embedded Linux training

Mar 31-Apr 8, 2025
Register
Loading...
v4.17
 
  1/*
  2 * Device Tree Source for the iWave-RZG1E SODIMM carrier board + HDMI daughter
  3 * board
  4 *
  5 * Copyright (C) 2017 Renesas Electronics Corp.
  6 *
  7 * This file is licensed under the terms of the GNU General Public License
  8 * version 2.  This program is licensed "as is" without any warranty of any
  9 * kind, whether express or implied.
 10 */
 11
 12#include "r8a7745-iwg22d-sodimm.dts"
 13
 14/ {
 15	model = "iWave RainboW-G22D-SODIMM RZ/G1E based board with HDMI add-on";
 16	compatible = "iwave,g22d", "iwave,g22m", "renesas,r8a7745";
 17
 18	aliases {
 19		serial0 = &scif1;
 20		serial4 = &scif5;
 21		serial6 = &hscif2;
 22	};
 23
 24	cec_clock: cec-clock {
 25		compatible = "fixed-clock";
 26		#clock-cells = <0>;
 27		clock-frequency = <12000000>;
 28	};
 29
 30	hdmi-out {
 31		compatible = "hdmi-connector";
 32		type = "a";
 33
 34		port {
 35			hdmi_con: endpoint {
 36				remote-endpoint = <&adv7511_out>;
 37			};
 38		};
 39	};
 40};
 41
 42&du {
 43	pinctrl-0 = <&du0_pins>;
 44	pinctrl-names = "default";
 45
 46	status = "okay";
 47
 48	ports {
 49		port@0 {
 50			endpoint {
 51				remote-endpoint = <&adv7511_in>;
 52			};
 53		};
 54	};
 55};
 56
 57&can1 {
 58	pinctrl-0 = <&can1_pins>;
 59	pinctrl-names = "default";
 60
 61	status = "okay";
 62};
 63
 64&hscif2 {
 65	pinctrl-0 = <&hscif2_pins>;
 66	pinctrl-names = "default";
 67
 68	status = "okay";
 69};
 70
 71&i2c1 {
 72	pinctrl-0 = <&i2c1_pins>;
 73	pinctrl-names = "default";
 74
 75	status = "okay";
 76	clock-frequency = <400000>;
 77
 78	hdmi@39 {
 79		compatible = "adi,adv7511w";
 80		reg = <0x39>;
 81		interrupt-parent = <&gpio1>;
 82		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
 83		clocks = <&cec_clock>;
 84		clock-names = "cec";
 85		pd-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
 86
 87		adi,input-depth = <8>;
 88		adi,input-colorspace = "rgb";
 89		adi,input-clock = "1x";
 90		adi,input-style = <1>;
 91		adi,input-justification = "evenly";
 92
 93		ports {
 94			#address-cells = <1>;
 95			#size-cells = <0>;
 96
 97			port@0 {
 98				reg = <0>;
 99				adv7511_in: endpoint {
100					remote-endpoint = <&du_out_rgb0>;
101				};
102			};
103
104			port@1 {
105				reg = <1>;
106				adv7511_out: endpoint {
107					remote-endpoint = <&hdmi_con>;
108				};
109			};
110		};
111	};
 
 
 
 
 
 
112};
113
114&pfc {
115	can1_pins: can1 {
116		groups = "can1_data_b";
117		function = "can1";
118	};
119
120	du0_pins: du0 {
121		groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
122		function = "du0";
123	};
124
125	hscif2_pins: hscif2 {
126		groups = "hscif2_data";
127		function = "hscif2";
128	};
129
130	i2c1_pins: i2c1 {
131		groups = "i2c1_d";
132		function = "i2c1";
133	};
134
135	scif1_pins: scif1 {
136		groups = "scif1_data";
137		function = "scif1";
138	};
139
140	scif5_pins: scif5 {
141		groups = "scif5_data_d";
142		function = "scif5";
143	};
144};
145
146&scif1 {
147	pinctrl-0 = <&scif1_pins>;
148	pinctrl-names = "default";
149
150	status = "okay";
151};
152
153&scif5 {
154	pinctrl-0 = <&scif5_pins>;
155	pinctrl-names = "default";
156
157	status = "okay";
158};
v5.9
  1// SPDX-License-Identifier: GPL-2.0
  2/*
  3 * Device Tree Source for the iWave-RZG1E SODIMM carrier board + HDMI daughter
  4 * board
  5 *
  6 * Copyright (C) 2017 Renesas Electronics Corp.
 
 
 
 
  7 */
  8
  9#include "r8a7745-iwg22d-sodimm.dts"
 10
 11/ {
 12	model = "iWave RainboW-G22D-SODIMM RZ/G1E based board with HDMI add-on";
 13	compatible = "iwave,g22d", "iwave,g22m", "renesas,r8a7745";
 14
 15	aliases {
 16		serial0 = &scif1;
 17		serial4 = &scif5;
 18		serial6 = &hscif2;
 19	};
 20
 21	cec_clock: cec-clock {
 22		compatible = "fixed-clock";
 23		#clock-cells = <0>;
 24		clock-frequency = <12000000>;
 25	};
 26
 27	hdmi-out {
 28		compatible = "hdmi-connector";
 29		type = "a";
 30
 31		port {
 32			hdmi_con: endpoint {
 33				remote-endpoint = <&adv7511_out>;
 34			};
 35		};
 36	};
 37};
 38
 39&du {
 40	pinctrl-0 = <&du0_pins>;
 41	pinctrl-names = "default";
 42
 43	status = "okay";
 44
 45	ports {
 46		port@0 {
 47			endpoint {
 48				remote-endpoint = <&adv7511_in>;
 49			};
 50		};
 51	};
 52};
 53
 54&can1 {
 55	pinctrl-0 = <&can1_pins>;
 56	pinctrl-names = "default";
 57
 58	status = "okay";
 59};
 60
 61&hscif2 {
 62	pinctrl-0 = <&hscif2_pins>;
 63	pinctrl-names = "default";
 64
 65	status = "okay";
 66};
 67
 68&i2c1 {
 69	pinctrl-0 = <&i2c1_pins>;
 70	pinctrl-names = "default";
 71
 72	status = "okay";
 73	clock-frequency = <400000>;
 74
 75	hdmi@39 {
 76		compatible = "adi,adv7511w";
 77		reg = <0x39>;
 78		interrupt-parent = <&gpio1>;
 79		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
 80		clocks = <&cec_clock>;
 81		clock-names = "cec";
 82		pd-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
 83
 84		adi,input-depth = <8>;
 85		adi,input-colorspace = "rgb";
 86		adi,input-clock = "1x";
 
 
 87
 88		ports {
 89			#address-cells = <1>;
 90			#size-cells = <0>;
 91
 92			port@0 {
 93				reg = <0>;
 94				adv7511_in: endpoint {
 95					remote-endpoint = <&du_out_rgb0>;
 96				};
 97			};
 98
 99			port@1 {
100				reg = <1>;
101				adv7511_out: endpoint {
102					remote-endpoint = <&hdmi_con>;
103				};
104			};
105		};
106	};
107};
108
109&lcd_panel {
110	status = "disabled";
111
112	/delete-node/ port;
113};
114
115&pfc {
116	can1_pins: can1 {
117		groups = "can1_data_b";
118		function = "can1";
119	};
120
121	du0_pins: du0 {
122		groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
123		function = "du0";
124	};
125
126	hscif2_pins: hscif2 {
127		groups = "hscif2_data";
128		function = "hscif2";
129	};
130
131	i2c1_pins: i2c1 {
132		groups = "i2c1_d";
133		function = "i2c1";
134	};
135
136	scif1_pins: scif1 {
137		groups = "scif1_data";
138		function = "scif1";
139	};
140
141	scif5_pins: scif5 {
142		groups = "scif5_data_d";
143		function = "scif5";
144	};
145};
146
147&scif1 {
148	pinctrl-0 = <&scif1_pins>;
149	pinctrl-names = "default";
150
151	status = "okay";
152};
153
154&scif5 {
155	pinctrl-0 = <&scif5_pins>;
156	pinctrl-names = "default";
157
158	status = "okay";
159};