| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* |
| 3 |
* Common Device Tree for the RZ/G2UL SMARC EVK (and alike EVKs) with |
| 4 |
* ADV7513 transmitter connected to DU enabled. |
| 5 |
* |
| 6 |
* Copyright (C) 2024 Renesas Electronics Corp. |
| 7 |
*/ |
| 8 |
|
| 9 |
&{/} { |
| 10 |
hdmi-out { |
| 11 |
compatible = "hdmi-connector"; |
| 12 |
type = "d"; |
| 13 |
|
| 14 |
port { |
| 15 |
hdmi_con_out: endpoint { |
| 16 |
remote-endpoint = <&adv7513_out>; |
| 17 |
}; |
| 18 |
}; |
| 19 |
}; |
| 20 |
}; |
| 21 |
|
| 22 |
&du { |
| 23 |
pinctrl-0 = <&du_pins>; |
| 24 |
pinctrl-names = "default"; |
| 25 |
|
| 26 |
status = "okay"; |
| 27 |
|
| 28 |
ports { |
| 29 |
port@0 { |
| 30 |
du_out_rgb: endpoint { |
| 31 |
remote-endpoint = <&adv7513_in>; |
| 32 |
}; |
| 33 |
}; |
| 34 |
}; |
| 35 |
}; |
| 36 |
|
| 37 |
&ADV7513_PARENT_I2C { |
| 38 |
#address-cells = <1>; |
| 39 |
#size-cells = <0>; |
| 40 |
|
| 41 |
adv7513: adv7513@39 { |
| 42 |
compatible = "adi,adv7513"; |
| 43 |
reg = <0x39>; |
| 44 |
|
| 45 |
adi,input-depth = <8>; |
| 46 |
adi,input-colorspace = "rgb"; |
| 47 |
adi,input-clock = "1x"; |
| 48 |
|
| 49 |
avdd-supply = <®_1p8v>; |
| 50 |
dvdd-supply = <®_1p8v>; |
| 51 |
pvdd-supply = <®_1p8v>; |
| 52 |
dvdd-3v-supply = <®_3p3v>; |
| 53 |
bgvdd-supply = <®_1p8v>; |
| 54 |
|
| 55 |
ports { |
| 56 |
#address-cells = <1>; |
| 57 |
#size-cells = <0>; |
| 58 |
|
| 59 |
port@0 { |
| 60 |
reg = <0>; |
| 61 |
|
| 62 |
adv7513_in: endpoint { |
| 63 |
remote-endpoint = <&du_out_rgb>; |
| 64 |
}; |
| 65 |
}; |
| 66 |
|
| 67 |
port@1 { |
| 68 |
reg = <1>; |
| 69 |
|
| 70 |
adv7513_out: endpoint { |
| 71 |
remote-endpoint = <&hdmi_con_out>; |
| 72 |
}; |
| 73 |
}; |
| 74 |
}; |
| 75 |
}; |
| 76 |
}; |