mirror of
https://github.com/armbian/build.git
synced 2025-09-19 12:41:39 +02:00
* meson-6.7: Copy patches from 6.6 Commit f852beca0aea ("Switch meson64, bcm2711, sunxi, imx6, mvebu current to 6.6, edge to 6.7 and leave 6.1 for legecy") bump to linux 6.7 but forget to copy patches. * meson-6.7: Refresh patches
108 lines
2.2 KiB
Diff
108 lines
2.2 KiB
Diff
From e9d0d7bb75ff8234d717fb640c020ffe303a8d11 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] ARM: dts: meson8b: odroid-c1: enable HDMI for the
|
|
Odroid-C1 - WiP
|
|
|
|
WiP
|
|
|
|
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
---
|
|
.../arm/boot/dts/amlogic/meson8b-odroidc1.dts | 59 +++++++++++++++++++
|
|
1 file changed, 59 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/amlogic/meson8b-odroidc1.dts b/arch/arm/boot/dts/amlogic/meson8b-odroidc1.dts
|
|
index 94168284..7e43212e 100644
|
|
--- a/arch/arm/boot/dts/amlogic/meson8b-odroidc1.dts
|
|
+++ b/arch/arm/boot/dts/amlogic/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
|
|
|