ti,da850-pupd.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. * Pin configuration for TI DA850/OMAP-L138/AM18x
  2. These SoCs have a separate controller for setting bias (internal pullup/down).
  3. Bias can only be selected for groups rather than individual pins.
  4. Required Properties:
  5. - compatible: Must be "ti,da850-pupd"
  6. - reg: Base address and length of the memory resource used by the pullup/down
  7. controller hardware module.
  8. The controller node also acts as a container for pin group configuration nodes.
  9. The names of these groups are ignored.
  10. Pin Group Node Properties:
  11. - groups: An array of strings, each string containing the name of a pin group.
  12. Valid names are "cp0".."cp31".
  13. The pin configuration parameters use the generic pinconf bindings defined in
  14. pinctrl-bindings.txt in this directory. The supported parameters are
  15. bias-disable, bias-pull-up, bias-pull-down.
  16. Example
  17. -------
  18. In common dtsi file:
  19. pinconf: pin-controller@22c00c {
  20. compatible = "ti,da850-pupd";
  21. reg = <0x22c00c 0x8>;
  22. };
  23. In board-specific file:
  24. &pinconf {
  25. pinctrl-0 = <&pinconf_bias_groups>;
  26. pinctrl-names = "default";
  27. pinconf_bias_groups: bias-groups {
  28. pull-up {
  29. groups = "cp30", "cp31";
  30. bias-pull-up;
  31. };
  32. pull-down {
  33. groups = "cp29", "cp28";
  34. bias-pull-down;
  35. };
  36. disable {
  37. groups = "cp27", "cp26";
  38. bias-disable;
  39. };
  40. };
  41. };