Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
15 lines
493 B
C
15 lines
493 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#include <asm/lasat/lasat.h>
|
|
|
|
/* Lasat 100 boards serial configuration */
|
|
#define LASAT_BASE_BAUD_100 (7372800 / 16)
|
|
#define LASAT_UART_REGS_BASE_100 0x1c8b0000
|
|
#define LASAT_UART_REGS_SHIFT_100 2
|
|
#define LASATINT_UART_100 16
|
|
|
|
/* * LASAT 200 boards serial configuration */
|
|
#define LASAT_BASE_BAUD_200 (100000000 / 16 / 12)
|
|
#define LASAT_UART_REGS_BASE_200 (Vrc5074_PHYS_BASE + 0x0300)
|
|
#define LASAT_UART_REGS_SHIFT_200 3
|
|
#define LASATINT_UART_200 21
|