108 lines
2.2 KiB
Diff
108 lines
2.2 KiB
Diff
From 9e961c5c05f0b90d1fde647c996077c84d198157 Mon Sep 17 00:00:00 2001
|
|
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
Date: Fri, 20 Mar 2020 15:17:51 +0100
|
|
Subject: [PATCH 57/89] ARM: dts: meson8b: odroid-c1: enable HDMI for the
|
|
Odroid-C1 - WiP
|
|
|
|
WiP
|
|
|
|
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
---
|
|
arch/arm/boot/dts/meson8b-odroidc1.dts | 59 ++++++++++++++++++++++++++
|
|
1 file changed, 59 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts
|
|
index 94168284..7e43212e 100644
|
|
--- a/arch/arm/boot/dts/meson8b-odroidc1.dts
|
|
+++ b/arch/arm/boot/dts/meson8b-odroidc1.dts
|
|
@@ -32,6 +32,17 @@ emmc_pwrseq: emmc-pwrseq {
|
|
reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
+ hdmi-connector {
|
|
+ compatible = "hdmi-connector";
|
|
+ type = "a";
|
|
+
|
|
+ port {
|
|
+ hdmi_connector_in: endpoint {
|
|
+ remote-endpoint = <&hdmi_tx_tmds_out>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
led-blue {
|
|
@@ -93,6 +104,38 @@ rtc32k_xtal: rtc32k-xtal-clk {
|
|
#clock-cells = <0>;
|
|
};
|
|
|
|
+ sound {
|
|
+ compatible = "amlogic,gx-sound-card";
|
|
+ model = "ODROID-C1";
|
|
+
|
|
+ assigned-clocks = <&clkc CLKID_MPLL0>,
|
|
+ <&clkc CLKID_MPLL1>;
|
|
+ assigned-clock-rates = <294912000>,
|
|
+ <270950400>;
|
|
+
|
|
+ dai-link-0 {
|
|
+ sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
|
|
+ };
|
|
+
|
|
+ dai-link-1 {
|
|
+ sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
|
|
+ dai-format = "i2s";
|
|
+ mclk-fs = <256>;
|
|
+
|
|
+ codec-0 {
|
|
+ sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ dai-link-2 {
|
|
+ sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
|
|
+
|
|
+ codec-0 {
|
|
+ sound-dai = <&hdmi_tx 0>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
vcc_1v8: regulator-vcc-1v8 {
|
|
/*
|
|
* RICHTEK RT9179 configured for a fixed output voltage of
|
|
@@ -187,6 +230,10 @@ vdd_rtc: regulator-vdd-rtc {
|
|
};
|
|
};
|
|
|
|
+&aiu {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&cpu0 {
|
|
cpu-supply = <&vcck>;
|
|
};
|
|
@@ -283,6 +330,18 @@ &gpio_ao {
|
|
"SYS_LED", "", "";
|
|
};
|
|
|
|
+&hdmi_tx {
|
|
+ status = "okay";
|
|
+ pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
|
|
+ pinctrl-names = "default";
|
|
+};
|
|
+
|
|
+&hdmi_tx_tmds_port {
|
|
+ hdmi_tx_tmds_out: endpoint {
|
|
+ remote-endpoint = <&hdmi_connector_in>;
|
|
+ };
|
|
+};
|
|
+
|
|
&ir_receiver {
|
|
status = "okay";
|
|
pinctrl-0 = <&ir_recv_pins>;
|
|
--
|
|
2.34.1
|
|
|