summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-09-19 11:26:18 -0600
committerTom Rini <[email protected]>2024-09-19 11:26:18 -0600
commit146be6f0362e16b112e72bdbb5c2d359dc65c890 (patch)
tree4cc19ab8c9363553d9ba697a7380aa043d1cda51 /include
parent2ac0a302ada6b1d0d9a2a137fd790ccd4f8d2090 (diff)
parenteffe934e50f03c92ba6febecfe132c9cb34ecf59 (diff)
Merge tag 'u-boot-imx-next-20240919' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/22363 - Several updates to i.MX9 SOC and i.MX93 EVK. - Power domain fixes. - TRDC cleanup and update. - MAC address layout update. - Add support for the i.MX9301/9302 variants. - Add runtime detection of voltage mode. - Generalize some code for i.MX8M and i.MX9. - Add support for Comvetia imx6q-lxr board.
Diffstat (limited to 'include')
-rw-r--r--include/configs/lxr2.h23
-rw-r--r--include/power/pca9450.h2
2 files changed, 25 insertions, 0 deletions
diff --git a/include/configs/lxr2.h b/include/configs/lxr2.h
new file mode 100644
index 00000000000..d8d37a42228
--- /dev/null
+++ b/include/configs/lxr2.h
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+// Copyright (C) Stefano Babic <[email protected]>
+
+#ifndef __LXR2_CONFIG_H
+#define __LXR2_CONFIG_H
+
+#include <config_distro_bootcmd.h>
+
+#include "mx6_common.h"
+
+#define PHYS_SDRAM_SIZE SZ_1G
+
+/* Physical Memory Map */
+#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
+
+#define CFG_SYS_SDRAM_BASE PHYS_SDRAM
+#define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
+#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
+
+#define CFG_SYS_FSL_ESDHC_ADDR 0
+#define CFG_MXC_UART_BASE UART4_BASE
+
+#endif
diff --git a/include/power/pca9450.h b/include/power/pca9450.h
index b8219d535ad..f896d829d37 100644
--- a/include/power/pca9450.h
+++ b/include/power/pca9450.h
@@ -54,6 +54,8 @@ enum {
PCA9450_REG_NUM,
};
+#define PCA9450_REG_PWRCTRL_TOFF_DEB BIT(5)
+
int power_pca9450_init(unsigned char bus, unsigned char addr);
enum {