marvell,mvebu-pinctrl.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. * Marvell SoC pinctrl core driver for mpp
  2. The pinctrl driver enables Marvell SoCs to configure the multi-purpose pins
  3. (mpp) to a specific function. For each SoC family there is a SoC specific
  4. driver using this core driver.
  5. Please refer to pinctrl-bindings.txt in this directory for details of the
  6. common pinctrl bindings used by client devices, including the meaning of the
  7. phrase "pin configuration node".
  8. A Marvell SoC pin configuration node is a node of a group of pins which can
  9. be used for a specific device or function. Each node requires one or more
  10. mpp pins or group of pins and a mpp function common to all pins.
  11. Required properties for pinctrl driver:
  12. - compatible: "marvell,<soc>-pinctrl"
  13. Please refer to each marvell,<soc>-pinctrl.txt binding doc for supported SoCs.
  14. Required properties for pin configuration node:
  15. - marvell,pins: string array of mpp pins or group of pins to be muxed.
  16. - marvell,function: string representing a function to mux to for all
  17. marvell,pins given in this pin configuration node. The function has to be
  18. common for all marvell,pins. Please refer to marvell,<soc>-pinctrl.txt for
  19. valid pin/pin group names and available function names for each SoC.
  20. Examples:
  21. uart1: serial@12100 {
  22. compatible = "ns16550a";
  23. reg = <0x12100 0x100>;
  24. reg-shift = <2>;
  25. interrupts = <7>;
  26. pinctrl-0 = <&pmx_uart1_sw>;
  27. pinctrl-names = "default";
  28. };
  29. pinctrl: pinctrl@d0200 {
  30. compatible = "marvell,dove-pinctrl";
  31. reg = <0xd0200 0x14>, <0xd0440 0x04>, <0xd802c 0x08>;
  32. pmx_uart1_sw: pmx-uart1-sw {
  33. marvell,pins = "mpp_uart1";
  34. marvell,function = "uart1";
  35. };
  36. };