mirror of
https://github.com/armbian/build.git
synced 2025-08-09 04:36:58 +02:00
- starting from Home Assistant OS (HASSOS) setup/patchset, which is stable with pure-mainline - *huge thanks* to Stefan Agner (@agners) from Home Assistant for his work and help with this - CONFIG_DRM_MESON=y fixes the order of shutdown callbacks, allowing it to reboot without patches - this increases the kernel size a bit, due to some dependencies like DRM=y - remove the shutdown revert patch, allowing other meson64 boards to mainline-reboot - add fdt/no-map patch fixing the dreaded "SError Interrupt on CPU4" panics that plagued the N2 - move the N2 to mainline u-boot on current (rebased, already done) - add SPI-enabling DTB variants, which allow writing to SPI NOR flash (and usage instructions in comments) - add UBOOT_TARGET_MAP and write_uboot_platform_mtd to current, for nand-sata-install to SPI/USB goodness - remove the UHS-enabling patch, to avoid 1.8v vs 3.3v mess. Make sure to use only A1-rated SD cards as recommended. - change default cpufreq governor for 24h+ stability - other patch cleanups: - move deprecated/non-applying patch to need-check - remove the HardKernel ODROID-specific reboot driver and DTS patches (odroid-reboot.c) which are now useless. - remove documentation-only patches (we have enough patches in meson64 without those) - remove duplicated SAR ADC patches - remove multiple different and conflicting patches for DTS and emulated-PWM GPIO fan - now using simple on/off GPIO fan at 30 celsius, unrelated to passive cooling
38 lines
908 B
Diff
38 lines
908 B
Diff
From d5d2d8b9eb93eab85af12f1844975903a7c5a879 Mon Sep 17 00:00:00 2001
|
|
From: Stefan Agner <stefan@agner.ch>
|
|
Date: Thu, 29 Apr 2021 21:32:43 +0200
|
|
Subject: [PATCH XXX] board-odroidc2-add-uartA-uartC
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
|
|
index 1cc9dc6..9f48dff 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
|
|
@@ -16,6 +16,8 @@
|
|
|
|
aliases {
|
|
serial0 = &uart_AO;
|
|
+ serial1 = &uart_A;
|
|
+ serial2 = &uart_C;
|
|
ethernet0 = ðmac;
|
|
};
|
|
|
|
@@ -290,6 +355,18 @@
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
+&uart_A {
|
|
+ status = "disabled";
|
|
+ pinctrl-0 = <&uart_a_pins>;
|
|
+ pinctrl-names = "default";
|
|
+};
|
|
+
|
|
+&uart_C {
|
|
+ status = "disabled";
|
|
+ pinctrl-0 = <&uart_c_pins>;
|
|
+ pinctrl-names = "default";
|
|
+};
|
|
+
|
|
&usb0_phy {
|
|
status = "okay";
|
|
phy-supply = <&usb_otg_pwr>;
|