summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2018-08-13 14:23:07 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2018-09-22 20:49:59 +0200
commitb3f8e88f3c07f6c72db55faffaaa25990d316c6f (patch)
treee33e9a55eb5358f782454410ff84d63533750218 /doc
parent9dc8d155d4e88563f572ee79aab758eb4272f3fd (diff)
downloadu-boot-b3f8e88f3c07f6c72db55faffaaa25990d316c6f.tar.gz
u-boot-b3f8e88f3c07f6c72db55faffaaa25990d316c6f.tar.bz2
u-boot-b3f8e88f3c07f6c72db55faffaaa25990d316c6f.zip
pinctrl: bcm6838: add pinctrl support
Add pinctrl support for broadcom bcm6838 SoC. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/pinctrl/bcm6838-pinctrl.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/pinctrl/bcm6838-pinctrl.txt b/doc/device-tree-bindings/pinctrl/bcm6838-pinctrl.txt
new file mode 100644
index 0000000000..2034f05993
--- /dev/null
+++ b/doc/device-tree-bindings/pinctrl/bcm6838-pinctrl.txt
@@ -0,0 +1,35 @@
+* broadcom bcm6838 pinctrl
+
+Required properties for the pinctrl driver:
+- compatible: "brcm,bcm6838-pinctrl"
+- regmap: specify the gpio test port syscon
+- brcm,pins-count: the number of pin
+- brcm,functions-count: the number of function
+
+Please refer to pinctrl-bindings.txt in this directory for details of the
+common pinctrl bindings used by client devices.
+
+Example:
+
+ gpio_test_port: syscon@14e00294 {
+ compatible = "syscon";
+ reg = <0x14e00294 0x1c>;
+ };
+
+ pinctrl: pinctrl {
+ compatible = "brcm,bcm6838-pinctrl";
+ regmap = <&gpio_test_port>;
+ brcm,pins-count = <74>;
+ brcm,functions-count = <8>;
+
+ usb0: usb0 {
+ usb0_pwrflt {
+ pins = "69";
+ function = "1";
+ };
+ usb0_pwron {
+ pins = "70";
+ function = "1";
+ };
+ };
+ };