View gist:86c8c2cb5256e13ca136f975564c8f13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i2c_sda { | |
pin = 11; | |
port = PORT_A; | |
default { | |
function = 5; | |
pull-up; | |
}; | |
sleep { | |
function = 0; | |
}; |
View gist:fb558ef83203db69b9ad983bd39b5d71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&i2c0 { | |
pinctrl-0 = <&I2C0_SCL_PTE24 &I2C0_SDA_PTE25>; | |
pinctrl-1 = <&ANALOG_PTE24 &ANALOG_PTE25>; | |
}; | |
&I2C0_SCL_PTE24 { | |
bias-pull-up; | |
}; |