133-Documentation-add-BCM6348-pincontroller-binding-docu.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. From 962c46bf7f43df730e2d3698930e77958cc6b191 Mon Sep 17 00:00:00 2001
  2. From: Jonas Gorski <[email protected]>
  3. Date: Wed, 27 Jul 2016 11:35:45 +0200
  4. Subject: [PATCH 04/16] Documentation: add BCM6348 pincontroller binding
  5. documentation
  6. Add binding documentation for the pincontrol core found in BCM6348 SoCs.
  7. Signed-off-by: Jonas Gorski <[email protected]>
  8. ---
  9. .../bindings/pinctrl/brcm,bcm6348-pinctrl.txt | 32 ++++++++++++++++++++++
  10. 1 file changed, 32 insertions(+)
  11. create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6348-pinctrl.txt
  12. --- /dev/null
  13. +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm6348-pinctrl.txt
  14. @@ -0,0 +1,32 @@
  15. +* Broadcom BCM6348 pin controller
  16. +
  17. +Required properties:
  18. +- compatible: Must be "brcm,bcm6348-pinctrl".
  19. +- reg: register Specifiers of dirout, dat, mode registers.
  20. +- reg-names: Must be "dirout", "dat", "mode".
  21. +- gpio-controller: Identifies this node as a GPIO controller.
  22. +- #gpio-cells: Must be <2>.
  23. +
  24. +Example:
  25. +
  26. +pinctrl: pin-controller@fffe0080 {
  27. + compatible = "brcm,bcm6348-pinctrl";
  28. + reg = <0xfffe0080 0x8>,
  29. + <0xfffe0088 0x8>,
  30. + <0xfffe0098 0x4>;
  31. + reg-names = "dirout", "dat", "mode";
  32. +
  33. + gpio-controller;
  34. + #gpio-cells = <2>;
  35. +};
  36. +
  37. +Available pins/groups and functions:
  38. +
  39. +name pins functions
  40. +-----------------------------------------------------------
  41. +group0 32-36 ext_mii, utopia, diag
  42. +group1 22-31 ext_ephy, mii_snoop, mii_pccard,
  43. + spi_master_uart, utopia, diag
  44. +group2 16-21 pci, diag
  45. +group3 8-15 ext_mii, utopia
  46. +group4 0-7 ext_ephy, mii_snoop, legacy_led, diag