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