mirror of https://github.com/armbian/build.git
126 lines
2.6 KiB
Diff
126 lines
2.6 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
Date: Sun, 5 May 2019 02:30:11 +0200
|
|
Subject: ARM: dts: meson8: add the HDMI controller - WiP
|
|
|
|
WiP
|
|
|
|
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
---
|
|
arch/arm/boot/dts/amlogic/meson8.dtsi | 67 +++++++++-
|
|
1 file changed, 65 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/amlogic/meson8.dtsi b/arch/arm/boot/dts/amlogic/meson8.dtsi
|
|
index 111111111111..222222222222 100644
|
|
--- a/arch/arm/boot/dts/amlogic/meson8.dtsi
|
|
+++ b/arch/arm/boot/dts/amlogic/meson8.dtsi
|
|
@@ -315,6 +315,39 @@ mali: gpu@c0000 {
|
|
#cooling-cells = <2>; /* min followed by max */
|
|
};
|
|
|
|
+ hdmi_tx: hdmi-tx@42000 {
|
|
+ compatible = "amlogic,meson8-hdmi-tx";
|
|
+ reg = <0x42000 0xc>;
|
|
+ interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
|
|
+ phys = <&hdmi_tx_phy>;
|
|
+ phy-names = "hdmi";
|
|
+ clocks = <&clkc CLKID_HDMI_PCLK>,
|
|
+ <&clkc CLKID_HDMI_SYS>;
|
|
+ clock-names = "pclk", "sys";
|
|
+
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ #sound-dai-cells = <1>;
|
|
+ sound-name-prefix = "HDMITX";
|
|
+
|
|
+ status = "disabled";
|
|
+
|
|
+ /* VPU VENC Input */
|
|
+ hdmi_tx_venc_port: port@0 {
|
|
+ reg = <0>;
|
|
+
|
|
+ hdmi_tx_in: endpoint {
|
|
+ remote-endpoint = <&hdmi_tx_out>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ /* TMDS Output */
|
|
+ hdmi_tx_tmds_port: port@1 {
|
|
+ reg = <1>;
|
|
+ };
|
|
+ };
|
|
+
|
|
vpu: vpu@100000 {
|
|
compatible = "amlogic,meson8-vpu";
|
|
|
|
@@ -378,6 +411,15 @@ vpu: vpu@100000 {
|
|
cvbs_vdac_port: port@0 {
|
|
reg = <0>;
|
|
};
|
|
+
|
|
+ /* HDMI-TX output port */
|
|
+ hdmi_tx_port: port@1 {
|
|
+ reg = <1>;
|
|
+
|
|
+ hdmi_tx_out: endpoint {
|
|
+ remote-endpoint = <&hdmi_tx_in>;
|
|
+ };
|
|
+ };
|
|
};
|
|
};
|
|
}; /* end of / */
|
|
@@ -544,11 +586,26 @@ gpio: banks@80b0 {
|
|
gpio-ranges = <&pinctrl_cbus 0 0 120>;
|
|
};
|
|
|
|
+ hdmi_hpd_pins: hdmi-hpd {
|
|
+ mux {
|
|
+ groups = "hdmi_hpd";
|
|
+ function = "hdmi";
|
|
+ bias-disable;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ hdmi_i2c_pins: hdmi-i2c {
|
|
+ mux {
|
|
+ groups = "hdmi_sda", "hdmi_scl";
|
|
+ function = "hdmi";
|
|
+ bias-disable;
|
|
+ };
|
|
+ };
|
|
+
|
|
pwm_c_dv9_pins: pwm-c-dv9 {
|
|
mux {
|
|
groups = "pwm_c_dv9";
|
|
function = "pwm_c";
|
|
- bias-disable;
|
|
};
|
|
};
|
|
|
|
@@ -556,7 +613,6 @@ pwm_d_pins: pwm-d {
|
|
mux {
|
|
groups = "pwm_d";
|
|
function = "pwm_d";
|
|
- bias-disable;
|
|
};
|
|
};
|
|
|
|
@@ -740,6 +796,13 @@ pwrc: power-controller@100 {
|
|
assigned-clocks = <&clkc CLKID_VPU>;
|
|
assigned-clock-rates = <364285714>;
|
|
};
|
|
+
|
|
+ hdmi_tx_phy: hdmi-phy@3a0 {
|
|
+ compatible = "amlogic,meson8-hdmi-tx-phy";
|
|
+ clocks = <&clkc CLKID_HDMI_PLL_HDMI_OUT>;
|
|
+ reg = <0x3a0 0xc>;
|
|
+ #phy-cells = <0>;
|
|
+ };
|
|
};
|
|
|
|
&hwrng {
|
|
--
|
|
Armbian
|
|
|