summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-12-23 09:42:18 -0600
committerTom Rini <[email protected]>2024-12-23 10:28:15 -0600
commit68736cf8e313b74db6a6d32cbd081d1a42dbc021 (patch)
tree79c367b3a9845511dbb3a269815c1b3402876b4b /arch/arm
parent5947cd76acdd65f48f0748af01241cb6c0756fba (diff)
parent6016960ceb9d3fda591cda94df3841748fb65596 (diff)
Merge tag 'u-boot-imx-next-20241223' 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/23987 - imx8m: Remove global ddrphy_trained_csr as it is a per board configuration. - Add DM_FLAG_ACTIVE_DMA flag for FEC network driver to avoid potential kernel crash. - Miscellaneous improvements for i.MX8M Venice Gateworks platforms.
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi16
-rw-r--r--arch/arm/dts/imx8mp-venice-gw72xx-2x-u-boot.dtsi16
-rw-r--r--arch/arm/dts/imx8mp-venice-gw73xx-2x-u-boot.dtsi16
-rw-r--r--arch/arm/include/asm/arch-imx8m/ddr.h3
-rw-r--r--arch/arm/include/asm/arch-imx9/ddr.h3
5 files changed, 21 insertions, 33 deletions
diff --git a/arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi b/arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi
index 216a7a0d8d7..a291b7abab6 100644
--- a/arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi
@@ -4,15 +4,6 @@
*/
#include "imx8mp-venice-gw702x-u-boot.dtsi"
-&gpio1 {
- tpm_rst {
- gpio-hog;
- output-high;
- gpios = <11 GPIO_ACTIVE_HIGH>;
- line-name = "tpm_rst#";
- };
-};
-
&gpio4 {
dio_1 {
gpio-hog;
@@ -21,6 +12,13 @@
line-name = "dio1";
};
+ tpm_rst {
+ gpio-hog;
+ output-high;
+ gpios = <9 GPIO_ACTIVE_HIGH>;
+ line-name = "tpm_rst#";
+ };
+
dio_0 {
gpio-hog;
input;
diff --git a/arch/arm/dts/imx8mp-venice-gw72xx-2x-u-boot.dtsi b/arch/arm/dts/imx8mp-venice-gw72xx-2x-u-boot.dtsi
index 525316d1189..bdf5370fcdf 100644
--- a/arch/arm/dts/imx8mp-venice-gw72xx-2x-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-venice-gw72xx-2x-u-boot.dtsi
@@ -4,15 +4,6 @@
*/
#include "imx8mp-venice-gw702x-u-boot.dtsi"
-&gpio1 {
- tpm_rst {
- gpio-hog;
- output-high;
- gpios = <11 GPIO_ACTIVE_HIGH>;
- line-name = "tpm_rst#";
- };
-};
-
&gpio4 {
dio_1 {
gpio-hog;
@@ -21,6 +12,13 @@
line-name = "dio1";
};
+ tpm_rst {
+ gpio-hog;
+ output-high;
+ gpios = <9 GPIO_ACTIVE_HIGH>;
+ line-name = "tpm_rst#";
+ };
+
dio_0 {
gpio-hog;
input;
diff --git a/arch/arm/dts/imx8mp-venice-gw73xx-2x-u-boot.dtsi b/arch/arm/dts/imx8mp-venice-gw73xx-2x-u-boot.dtsi
index 4d0e9a1e67c..7e6f66bd9dd 100644
--- a/arch/arm/dts/imx8mp-venice-gw73xx-2x-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-venice-gw73xx-2x-u-boot.dtsi
@@ -10,15 +10,6 @@
reset-post-delay-us = <300000>;
};
-&gpio1 {
- tpm_rst {
- gpio-hog;
- output-high;
- gpios = <11 GPIO_ACTIVE_HIGH>;
- line-name = "tpm_rst#";
- };
-};
-
&gpio4 {
dio_1 {
gpio-hog;
@@ -27,6 +18,13 @@
line-name = "dio1";
};
+ tpm_rst {
+ gpio-hog;
+ output-high;
+ gpios = <9 GPIO_ACTIVE_HIGH>;
+ line-name = "tpm_rst#";
+ };
+
dio_0 {
gpio-hog;
input;
diff --git a/arch/arm/include/asm/arch-imx8m/ddr.h b/arch/arm/include/asm/arch-imx8m/ddr.h
index 1f81d91977c..5092ccae188 100644
--- a/arch/arm/include/asm/arch-imx8m/ddr.h
+++ b/arch/arm/include/asm/arch-imx8m/ddr.h
@@ -747,7 +747,4 @@ static inline void reg32setbit(unsigned long addr, u32 bit)
#define dwc_ddrphy_apb_rd(addr) \
reg32_read(IP2APB_DDRPHY_IPS_BASE_ADDR(0) + ddrphy_addr_remap(addr))
-extern struct dram_cfg_param ddrphy_trained_csr[];
-extern uint32_t ddrphy_trained_csr_num;
-
#endif
diff --git a/arch/arm/include/asm/arch-imx9/ddr.h b/arch/arm/include/asm/arch-imx9/ddr.h
index 2b22f3a5bea..0dd2d62b9ef 100644
--- a/arch/arm/include/asm/arch-imx9/ddr.h
+++ b/arch/arm/include/asm/arch-imx9/ddr.h
@@ -141,7 +141,4 @@ static inline void reg32setbit(unsigned long addr, u32 bit)
#define dwc_ddrphy_apb_rd(addr) \
reg32_read(IP2APB_DDRPHY_IPS_BASE_ADDR(0) + ddrphy_addr_remap(addr))
-extern struct dram_cfg_param ddrphy_trained_csr[];
-extern u32 ddrphy_trained_csr_num;
-
#endif