Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / pinctrl / brcm,bcm4708-pinmux.txt
blob8ab2d468dbdb8869e3f7ae98344aaf1111ad7792
1 Broadcom Northstar pins mux controller
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.
8 A list of pins varies across chipsets so few bindings are available.
10 Node of the pinmux must be nested in the CRU (Central Resource Unit) "syscon"
11 noce.
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
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"
26 Additionally available on BCM4709 and BCM53012:
27 - "mdio": "mdio_grp"
28 - "uart2": "uart2_grp"
29 - "sdio": "sdio_pwr_grp", "sdio_1p8v_grp"
31 For documentation of subnodes see:
32 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
34 Example:
35         dmu@1800c000 {
36                 compatible = "simple-bus";
37                 ranges = <0 0x1800c000 0x1000>;
38                 #address-cells = <1>;
39                 #size-cells = <1>;
41                 cru@100 {
42                         compatible = "syscon", "simple-mfd";
43                         reg = <0x100 0x1a4>;
45                         pinctrl {
46                                 compatible = "brcm,bcm4708-pinmux";
47                                 offset = <0xc0>;
49                                 spi-pins {
50                                         function = "spi";
51                                         groups = "spi_grp";
52                                 };
53                         };
54                 };
55         };