Skip to content

Instantly share code, notes, and snippets.

@matthijskooijman
Created February 27, 2024 15:33
Show Gist options
  • Save matthijskooijman/1632bb60c4349697ba73e04477a428ea to your computer and use it in GitHub Desktop.
Save matthijskooijman/1632bb60c4349697ba73e04477a428ea to your computer and use it in GitHub Desktop.
Devicetree overlay to fix GPIO pullup/down control (Prototype for a few pins)
/dts-v1/;
/plugin/;
/ {
compatible = "ti,am335x-bone-black";
};
&am33xx_pinmux {
compatible = "pinconf-single";
};
&P8_17_default_pin {
pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>;
};
&P8_07_default_pin {
pinctrl-single,bias-pullup = < 0x10 0x10 0x00 0x18>;
pinctrl-single,bias-pulldown = < 0x10 0x00 0x10 0x18>;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment