mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Backport DTS/DTSI changes from linux-6.4.y to 6.1.y
Add meson64-reboot driver to all boards
Add board: ODROID N2L
Add uart_A uart_AO_B uart_B uart_C where appropriate
U-Boot v2023.07.02: ODROID N2/N2L/N2Plus/C4
Meson64-reboot driver: (source: tobetter)
While the current meson64-reboot driver is cleaner and doesn't
depend on modding other kernel sources, its functionality leaves
much to be desired. One example can be found in the ODROID C4.
Using the current driver, the board will not properly power off,
leaving the POWER LED still on. The new driver powers off the unit
completely.
Fan control: (ODROID N2L/N2PLus)
Added service and script for controlling the trip point.
fanctrl: arguments: 65 55 45 35 25 menu run
┌──┤ Fan Control ├──┐
│ │
│ 6) 65°C │
│ 5) 55°C │
│ 4) 45°C │
│ 3) 35°C │
│ 2) 25°C │
│ E) Exit .. │
│ │
│ │
│ <Ok> │
│ │
└───────────────────┘
NOTES: (N2L/HC4): I do not own the units so I can't run tests.
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
27 lines
887 B
Diff
27 lines
887 B
Diff
From b55ab13244c8c175447fb1becdd25690e011b6c3 Mon Sep 17 00:00:00 2001
|
|
From: Patrick Yavitz <pyavitz@xxxxx.com>
|
|
Date: Fri, 28 Jul 2023 13:32:12 -0400
|
|
Subject: [PATCH] HACK: mmc-meson-gx limit to 24MHz
|
|
|
|
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
|
|
---
|
|
drivers/mmc/meson_gx_mmc.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/mmc/meson_gx_mmc.c b/drivers/mmc/meson_gx_mmc.c
|
|
index fcf4f03d1e..6ded4b619b 100644
|
|
--- a/drivers/mmc/meson_gx_mmc.c
|
|
+++ b/drivers/mmc/meson_gx_mmc.c
|
|
@@ -279,7 +279,7 @@ static int meson_mmc_probe(struct udevice *dev)
|
|
cfg->host_caps = MMC_MODE_8BIT | MMC_MODE_4BIT |
|
|
MMC_MODE_HS_52MHz | MMC_MODE_HS;
|
|
cfg->f_min = DIV_ROUND_UP(SD_EMMC_CLKSRC_24M, CLK_MAX_DIV);
|
|
- cfg->f_max = 100000000; /* 100 MHz */
|
|
+ cfg->f_max = SD_EMMC_CLKSRC_24M;
|
|
cfg->b_max = 511; /* max 512 - 1 blocks */
|
|
cfg->name = dev->name;
|
|
|
|
--
|
|
2.39.2
|
|
|