Question
If devicetree configures pinmux of MCO1 & MCO2 onto PI11 & PG2 both UBoot & kernel lock up on start-up.
We're using Ecosystem 2.1.0 still (I know!).
I'm using the CubeMX autogen code i.e.
rcc_pins_mx: rcc_mx-0 {
u-boot,dm-pre-reloc;
pins1 {
u-boot,dm-pre-reloc;
pinmux = <STM32_PINMUX('G', 2, AF1)>; /* RCC_MCO_2 */
bias-disable;
drive-push-pull;
slew-rate = <1>;
};
pins2 {
u-boot,dm-pre-reloc;
pinmux = <STM32_PINMUX('I', 11, AF0)>; /* RCC_MCO_1 */
bias-disable;
drive-push-pull;
slew-rate = <0>;
};
};
rcc_sleep_pins_mx: rcc_sleep_mx-0 {
u-boot,dm-pre-reloc;
pins {
u-boot,dm-pre-reloc;
pinmux = <STM32_PINMUX('G', 2, ANALOG)>, /* RCC_MCO_2 */
<STM32_PINMUX('I', 11, ANALOG)>; /* RCC_MCO_1 */
};
};
If this is in U-Boot's devicetree, U-Boot locks up with no message on start-up.
If I take it out of U-Boot's devicetree but leave it in the kernel's, U-Boot starts up fine but the kernel locks up, again with no panic or other output.
