]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: toradex: aquila-am69: Remove ETH_1 MCU_CLKOUT0
authorErnest Van Hoecke <ernest.vanhoecke@toradex.com>
Tue, 27 Jan 2026 10:14:12 +0000 (11:14 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 3 Feb 2026 21:45:05 +0000 (15:45 -0600)
On the Toradex Aquila AM69 V1.1, the on-module ETH_1 relies on an
external 25 MHz crystal oscillator. On the V1.0, we needed to enable
MCU_CLKOUT0, but support for this was already dropped from the device
tree before being sent to U-Boot.

Remove this obsolete enabling of MCU_CLKOUT0.

Fixes: 3f0528882c0d ("board: toradex: add aquila am69 support")
Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
board/toradex/aquila-am69/aquila-am69.c

index 98b9bfc5aa4bd49dfa1ec99fb6a060b11ffa51c5..e0975d5bc6fea454fc12cf9b74148ade58961cad 100644 (file)
@@ -22,8 +22,6 @@
 #include "ddrs_patch.h"
 
 #define CTRL_MMR_CFG0_MCU_ADC1_CTRL    0x40F040B4
-#define CTRL_MMR_CFG0_MCU_CLKOUT0_CTRL 0x40F08010
-#define MCU_CLKOUT0_CTRL_CLK_EN                BIT(4)
 
 #define HW_CFG_MEM_SZ_32GB             0x00
 #define HW_CFG_MEM_SZ_16GB             0x01
@@ -200,9 +198,4 @@ void spl_board_init(void)
                if (ret)
                        printf("ESM PMIC init failed: %d\n", ret);
        }
-
-       if (IS_ENABLED(CONFIG_TARGET_AQUILA_AM69_R5))
-               writel(readl(CTRL_MMR_CFG0_MCU_CLKOUT0_CTRL) |
-                      MCU_CLKOUT0_CTRL_CLK_EN,
-                      CTRL_MMR_CFG0_MCU_CLKOUT0_CTRL);
 }