Merge tag 'nfs-for-4.21-1' of git://git.linux-nfs.org/projects/anna/linux-nfs
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / pinctrl / brcm,bcm4708-pinmux.txt
1 Broadcom Northstar pins mux controller
2
3 Some of Northstar SoCs's pins can be used for various purposes thanks to the mux
4 controller. This binding allows describing mux controller and listing available
5 functions. They can be referenced later by other bindings to let system
6 configure controller correctly.
7
8 A list of pins varies across chipsets so few bindings are available.
9
10 Node of the pinmux must be nested in the CRU (Central Resource Unit) "syscon"
11 noce.
12
13 Required properties:
14 - compatible: must be one of:
15         "brcm,bcm4708-pinmux"
16         "brcm,bcm4709-pinmux"
17         "brcm,bcm53012-pinmux"
18 - offset: offset of pin registers in the CRU block
19
20 Functions and their groups available for all chipsets:
21 - "spi": "spi_grp"
22 - "i2c": "i2c_grp"
23 - "pwm": "pwm0_grp", "pwm1_grp", "pwm2_grp", "pwm3_grp"
24 - "uart1": "uart1_grp"
25
26 Additionally available on BCM4709 and BCM53012:
27 - "mdio": "mdio_grp"
28 - "uart2": "uart2_grp"
29 - "sdio": "sdio_pwr_grp", "sdio_1p8v_grp"
30
31 For documentation of subnodes see:
32 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
33
34 Example:
35         dmu@1800c000 {
36                 compatible = "simple-bus";
37                 ranges = <0 0x1800c000 0x1000>;
38                 #address-cells = <1>;
39                 #size-cells = <1>;
40
41                 cru@100 {
42                         compatible = "syscon", "simple-mfd";
43                         reg = <0x100 0x1a4>;
44
45                         pinctrl {
46                                 compatible = "brcm,bcm4708-pinmux";
47                                 offset = <0xc0>;
48
49                                 spi-pins {
50                                         function = "spi";
51                                         groups = "spi_grp";
52                                 };
53                         };
54                 };
55         };