Philippe Reynes | aa9b3de | 2018-08-13 14:23:07 +0200 | [diff] [blame] | 1 | * broadcom bcm6838 pinctrl |
| 2 | |
| 3 | Required properties for the pinctrl driver: |
| 4 | - compatible: "brcm,bcm6838-pinctrl" |
| 5 | - regmap: specify the gpio test port syscon |
| 6 | - brcm,pins-count: the number of pin |
| 7 | - brcm,functions-count: the number of function |
| 8 | |
| 9 | Please refer to pinctrl-bindings.txt in this directory for details of the |
| 10 | common pinctrl bindings used by client devices. |
| 11 | |
| 12 | Example: |
| 13 | |
| 14 | gpio_test_port: syscon@14e00294 { |
| 15 | compatible = "syscon"; |
| 16 | reg = <0x14e00294 0x1c>; |
| 17 | }; |
| 18 | |
| 19 | pinctrl: pinctrl { |
| 20 | compatible = "brcm,bcm6838-pinctrl"; |
| 21 | regmap = <&gpio_test_port>; |
| 22 | brcm,pins-count = <74>; |
| 23 | brcm,functions-count = <8>; |
| 24 | |
| 25 | usb0: usb0 { |
| 26 | usb0_pwrflt { |
| 27 | pins = "69"; |
| 28 | function = "1"; |
| 29 | }; |
| 30 | usb0_pwron { |
| 31 | pins = "70"; |
| 32 | function = "1"; |
| 33 | }; |
| 34 | }; |
| 35 | }; |