mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* Add MXQ target. Copy HDMI fix from odroid-c1. * meson8, MXQ: add boot from usb support, configurable dtb * MXQ: remove boot logo Built-in U-BOOT is used, so the logo will not be displayed anyway. * meson: kernel update: legacy -> 6.6, current -> 6.12 * Change Odroid C1 and Onecloud to community supported as build now passes --------- Co-authored-by: Igor Pecovnik <igor@armbian.com>
107 lines
2.2 KiB
Diff
107 lines
2.2 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
|
Date: Fri, 20 Mar 2020 15:17:51 +0100
|
|
Subject: 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/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 111111111111..222222222222 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>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
usb0_vbus: regulator-usb0-vbus {
|
|
/* Richtek RT9715EGB */
|
|
compatible = "regulator-fixed";
|
|
@@ -201,6 +244,10 @@ vdd_rtc: regulator-vdd-rtc {
|
|
};
|
|
};
|
|
|
|
+&aiu {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&cpu0 {
|
|
cpu-supply = <&vcck>;
|
|
};
|
|
@@ -297,6 +344,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>;
|
|
--
|
|
Armbian
|
|
|