mirror of
https://github.com/armbian/build.git
synced 2025-09-16 19:21:20 +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
45 lines
1.3 KiB
Diff
45 lines
1.3 KiB
Diff
From dcaf2dc71dd62487eb37561682934414a5795e0e Mon Sep 17 00:00:00 2001
|
|
Message-Id: <dcaf2dc71dd62487eb37561682934414a5795e0e.1627311993.git.stefan@agner.ch>
|
|
In-Reply-To: <c7825747afd8bb975dc918f28e4afe8058a518f3.1627311993.git.stefan@agner.ch>
|
|
References: <c7825747afd8bb975dc918f28e4afe8058a518f3.1627311993.git.stefan@agner.ch>
|
|
From: Hyeonki Hong <hhk7734@gmail.com>
|
|
Date: Fri, 27 Mar 2020 17:05:22 +0900
|
|
Subject: [PATCH 7/9] arm64: dts: meson: add uart_A node
|
|
|
|
The UART_A is available through J3 pin 8/10 and documented to be
|
|
available as UART by default.
|
|
|
|
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
|
index dd345c6aa4b5..cec346178e3d 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
|
@@ -12,6 +12,7 @@
|
|
/ {
|
|
aliases {
|
|
serial0 = &uart_AO;
|
|
+ serial1 = &uart_A;
|
|
ethernet0 = ðmac;
|
|
rtc0 = &rtc;
|
|
rtc1 = &vrtc;
|
|
@@ -728,6 +729,12 @@ &toddr_c {
|
|
status = "okay";
|
|
};
|
|
|
|
+&uart_A {
|
|
+ status = "okay";
|
|
+ pinctrl-0 = <&uart_a_pins>;
|
|
+ pinctrl-names = "default";
|
|
+};
|
|
+
|
|
&uart_AO {
|
|
status = "okay";
|
|
pinctrl-0 = <&uart_ao_a_pins>;
|
|
--
|
|
2.32.0
|
|
|