Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Device Tree Source for the iWave-RZG1E SODIMM carrier board + HDMI daughter
0004  * board
0005  *
0006  * Copyright (C) 2017 Renesas Electronics Corp.
0007  */
0008 
0009 #include "r8a7745-iwg22d-sodimm.dts"
0010 
0011 / {
0012         model = "iWave RainboW-G22D-SODIMM RZ/G1E based board with HDMI add-on";
0013         compatible = "iwave,g22d", "iwave,g22m", "renesas,r8a7745";
0014 
0015         aliases {
0016                 serial0 = &scif1;
0017                 serial4 = &scif5;
0018                 serial6 = &hscif2;
0019         };
0020 
0021         cec_clock: cec-clock {
0022                 compatible = "fixed-clock";
0023                 #clock-cells = <0>;
0024                 clock-frequency = <12000000>;
0025         };
0026 
0027         hdmi-out {
0028                 compatible = "hdmi-connector";
0029                 type = "a";
0030 
0031                 port {
0032                         hdmi_con: endpoint {
0033                                 remote-endpoint = <&adv7511_out>;
0034                         };
0035                 };
0036         };
0037 };
0038 
0039 &du {
0040         pinctrl-0 = <&du0_pins>;
0041         pinctrl-names = "default";
0042 
0043         status = "okay";
0044 
0045         ports {
0046                 port@0 {
0047                         endpoint {
0048                                 remote-endpoint = <&adv7511_in>;
0049                         };
0050                 };
0051         };
0052 };
0053 
0054 &can1 {
0055         pinctrl-0 = <&can1_pins>;
0056         pinctrl-names = "default";
0057 
0058         status = "okay";
0059 };
0060 
0061 &hscif2 {
0062         pinctrl-0 = <&hscif2_pins>;
0063         pinctrl-names = "default";
0064 
0065         status = "okay";
0066 };
0067 
0068 &i2c1 {
0069         pinctrl-0 = <&i2c1_pins>;
0070         pinctrl-names = "default";
0071 
0072         status = "okay";
0073         clock-frequency = <400000>;
0074 
0075         hdmi@39 {
0076                 compatible = "adi,adv7511w";
0077                 reg = <0x39>;
0078                 interrupt-parent = <&gpio1>;
0079                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
0080                 clocks = <&cec_clock>;
0081                 clock-names = "cec";
0082                 pd-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
0083 
0084                 adi,input-depth = <8>;
0085                 adi,input-colorspace = "rgb";
0086                 adi,input-clock = "1x";
0087 
0088                 ports {
0089                         #address-cells = <1>;
0090                         #size-cells = <0>;
0091 
0092                         port@0 {
0093                                 reg = <0>;
0094                                 adv7511_in: endpoint {
0095                                         remote-endpoint = <&du_out_rgb0>;
0096                                 };
0097                         };
0098 
0099                         port@1 {
0100                                 reg = <1>;
0101                                 adv7511_out: endpoint {
0102                                         remote-endpoint = <&hdmi_con>;
0103                                 };
0104                         };
0105                 };
0106         };
0107 };
0108 
0109 &lcd_panel {
0110         status = "disabled";
0111 
0112         /delete-node/ port;
0113 };
0114 
0115 &pfc {
0116         can1_pins: can1 {
0117                 groups = "can1_data_b";
0118                 function = "can1";
0119         };
0120 
0121         du0_pins: du0 {
0122                 groups = "du0_rgb888", "du0_sync", "du0_disp", "du0_clk0_out";
0123                 function = "du0";
0124         };
0125 
0126         hscif2_pins: hscif2 {
0127                 groups = "hscif2_data";
0128                 function = "hscif2";
0129         };
0130 
0131         i2c1_pins: i2c1 {
0132                 groups = "i2c1_d";
0133                 function = "i2c1";
0134         };
0135 
0136         scif1_pins: scif1 {
0137                 groups = "scif1_data";
0138                 function = "scif1";
0139         };
0140 
0141         scif5_pins: scif5 {
0142                 groups = "scif5_data_d";
0143                 function = "scif5";
0144         };
0145 };
0146 
0147 &scif1 {
0148         pinctrl-0 = <&scif1_pins>;
0149         pinctrl-names = "default";
0150 
0151         status = "okay";
0152 };
0153 
0154 &scif5 {
0155         pinctrl-0 = <&scif5_pins>;
0156         pinctrl-names = "default";
0157 
0158         status = "okay";
0159 };