cancel
Showing results for 
Search instead for 
Did you mean: 

spi4 doesn't show clock and chip select for STM32mp135FAE7

stack_shailesh
Associate III

We are working with STM32MP135FAE7 processor. We are unable to get clock, chip select spi4. Here is the pinmux for spi4 according to our board which is defined in optee stm32mp135dk.dts.

spi4_pins_alt1: spi4-alt1 {
pins {
pinmux = <STM32_PINMUX('B', 15, AF5)>, /* SPI4_MOSI */
/*<STM32_PINMUX('D', 10, AF5)>, /* SPI4_NSS */
<STM32_PINMUX('F', 3, AF5)>, /* SPI4_MISO */
<STM32_PINMUX('H', 9, AF5)>; /* SPI4_SCK */
bias-disable;
drive-push-pull;
slew-rate = <1>;
};
};

and stm32mp135.dtsi 

spi4: spi@4c002000 {
compatible = "st,stm32h7-spi";
reg = <0x4c002000 0x400>;
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc SPI4_K>;
resets = <&rcc SPI4_R>;
#address-cells = <1>;
#size-cells = <0>;
feature-domains = <&etzpc STM32MP1_ETZPC_SPI4_ID>;
status = "okay";
};

What can be the issue and how can I debug it at hardware level and software level?

1 ACCEPTED SOLUTION

Accepted Solutions
stack_shailesh
Associate III

Its okay it was our mistake, hardware issue was there in circuit. Clock is showing.

View solution in original post

1 REPLY 1
stack_shailesh
Associate III

Its okay it was our mistake, hardware issue was there in circuit. Clock is showing.