Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
NXP DTS Pin - Option 1
&i2c0 {
pinctrl-0 = <&i2c0_default>;
pinctrl-1 = <&i2c0_sleep>;
};
pinctrl {
i2c0_default: i2c_default {
pins1 {
pinmux = <I2C0_SCL_PTE24>, <I2C0_SDA_PTE25>;
bias-pull-up;
};
};
i2c0_sleep: i2c_sleep {
pins1 {
pinmux = <ANALOG_PTE24>, <ANALOG_PTE25>;
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment