This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Corrispondenza pin number in dts file con hardware gpio port

Hello,

what is the correspondence between the number of pins indicated in the dts file with the port number and bit of the chip.

for instance:

& spi1 {

compatible = "nordic, nrf-spi";

status = "okay";

sck-pin = <31>;

mosi-pin = <30>;

miso-pin = <40>;

};

pin 31, 30, 40 which port / bit of the chip correspond to?

I think the <31> and <30> correspond to P0.31, P0.30 but I don't understand the <40> to which it corresponds.

Thank you

Fausto

Parents Reply Children
No Data
Related