Skip to content

Instantly share code, notes, and snippets.

View gist:86c8c2cb5256e13ca136f975564c8f13
pinctrl {
uart3_default: uart3_default {
pins {
pinmux = <UART3_RX_PTC16 UART3_TX_PTC17>;
};
};
i2c0_default: i2c0_default {
pins {
pinmux = <I2C0_SCL_PTE24 I2C0_SDA_PTE25>;
View gist:996386ecb4272eacaf5f537a6c082181
i2c_sda {
pin = 11;
port = PORT_A;
default {
function = 5;
pull-up;
};
sleep {
function = 0;
};
View gist:fb558ef83203db69b9ad983bd39b5d71
&i2c0 {
pinctrl-0 = <&I2C0_SCL_PTE24 &I2C0_SDA_PTE25>;
pinctrl-1 = <&ANALOG_PTE24 &ANALOG_PTE25>;
};
&I2C0_SCL_PTE24 {
bias-pull-up;
};