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

nrf53 device tree uart

Hello,

For my board i would like to remap uart to pin on GPIO PORT 1.

Current:

&uart0 {
    status = "okay";
    current-speed = <115200>;
    tx-pin = <20>;
    rx-pin = <22>;
    rts-pin = <19>;
    cts-pin = <21>;
};

Requirement:

&uart1 {
    status = "okay";
    current-speed = <115200>;
    tx-pin = <&gpio1 10 0>;
    rx-pin = <29>;
    rts-pin = <0>;    /* not used */
    cts-pin = <0>;    /* not used */
};

My problem is that I don't know the format for specifying a gpio on port 1. By default, when i set <10> it's for GPIO 0. But i need GPIO 1.

Can you guide me ?

Related