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