blob: ace66ead5cd0bda0a1a92abc512290d49e5bff85 [file] [log] [blame]
Philippe Reynesaa9b3de2018-08-13 14:23:07 +02001* broadcom bcm6838 pinctrl
2
3Required properties for the pinctrl driver:
4- compatible: "brcm,bcm6838-pinctrl"
Wolfgang Denk62fb2b42021-09-27 17:42:39 +02005- regmap: specify the gpio test port syscon
Philippe Reynesaa9b3de2018-08-13 14:23:07 +02006- brcm,pins-count: the number of pin
7- brcm,functions-count: the number of function
8
9Please refer to pinctrl-bindings.txt in this directory for details of the
10common pinctrl bindings used by client devices.
11
12Example:
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 };