Skip to contentSkip to conversation

Sama5D3 UART1 configuration | Device tree

Yocto Prathamesh Ovalekar 1 participant 1 message Oct 22, 2020

lore
Share & tools
lore
#0 lore raw

Hello everyone,

I am a newbie in Yocto.

I am using a custom board based on the sama5d3_xplained board,

Goal: Currently the Port Pins: PA30 and PA31 are I2C lines (I2C0 TWD0 and TWCK0), I would like to use them as UART Lines (UART1 RX and TX)

What I have done till now: Modified the at91-sama5d3_xplained.dts file

        Removed:     i2c0: i2c@f0014000 {
                                    pinctrl-0 = <&pinctrl_i2c0_pu>; status = "okay";
                            };

        Added:         uart1: serial@f8028000 {
                                status = "okay";
                            };

After the build process, I assumed that the output .dtb file will be modified. But it remained the same.

Is there something that I am missing out?

Pratham