Skip to content

Instantly share code, notes, and snippets.

@yashi
Created May 31, 2023 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yashi/e4a492219d23d4bfbcc289b90f8f8465 to your computer and use it in GitHub Desktop.
Save yashi/e4a492219d23d4bfbcc289b90f8f8465 to your computer and use it in GitHub Desktop.
&spi4 {
pinctrl-0 = <&spi4_sck_pe2 &spi4_miso_pe5 &spi4_mosi_pe6>;
pinctrl-names = "default";
cs-gpios = <&gpioe 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
status = "okay";
};
&spi4_sck_pe2 {
bias-pull-up;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment