mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 05:18:55 +00:00
* Add initial support for Odroid N2+ * Update C4 config and test booting * Updates to C4, N2, N2+ - merge C4 and N2 legacy under meson64, same u-boot - upgrade legacy kernel to meed DTB from mainline - merge N2 and N2+, add a hack to display + in motd when N2+ is detected - shortly spin N2 fan at startup - merged N2 mainline and legacy boot script - add upstream patches * One of the regulators were breaking booting of Odroid N2 Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
59 lines
1.4 KiB
Diff
59 lines
1.4 KiB
Diff
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi
|
|
index 248b018c83d5..f1dec81d347b 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/leds/common.h>
|
|
+#include <dt-bindings/sound/meson-aiu.h>
|
|
|
|
/ {
|
|
adc-keys {
|
|
@@ -175,6 +176,45 @@ vddio_card: regulator-vddio-card {
|
|
regulator-settling-time-up-us = <200>;
|
|
regulator-settling-time-down-us = <50000>;
|
|
};
|
|
+
|
|
+ sound {
|
|
+ compatible = "amlogic,gx-sound-card";
|
|
+ model = "GX-SOUND-CARD";
|
|
+ assigned-clocks = <&clkc CLKID_MPLL0>,
|
|
+ <&clkc CLKID_MPLL1>,
|
|
+ <&clkc CLKID_MPLL2>;
|
|
+ assigned-clock-parents = <0>, <0>, <0>;
|
|
+ assigned-clock-rates = <294912000>,
|
|
+ <270950400>,
|
|
+ <393216000>;
|
|
+ status = "okay";
|
|
+
|
|
+ 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>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&aiu {
|
|
+ status = "okay";
|
|
};
|
|
|
|
&cec_AO {
|
|
|