Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / pinctrl / nxp,lpc1850-scu.txt
blobbd8b0c69fa447b056221814d1c0a25375d18620b
1 NXP LPC18xx/43xx SCU pin controller Device Tree Bindings
2 --------------------------------------------------------
4 Required properties:
5 - compatible            : Should be "nxp,lpc1850-scu"
6 - reg                   : Address and length of the register set for the device
7 - clocks                : Clock specifier (see clock bindings for details)
9 The lpc1850-scu driver uses the generic pin multiplexing and generic pin
10 configuration documented in pinctrl-bindings.txt.
12 The following generic nodes are supported:
13  - function
14  - pins
15  - bias-disable
16  - bias-pull-up
17  - bias-pull-down
18  - drive-strength
19  - input-enable
20  - input-disable
21  - input-schmitt-enable
22  - input-schmitt-disable
23  - slew-rate
25 NXP specific properties:
26  - nxp,gpio-pin-interrupt : Assign pin to gpio pin interrupt controller
27                             irq number 0 to 7. See example below.
29 Not all pins support all properties so either refer to the NXP 1850/4350
30 user manual or the pin table in the pinctrl-lpc18xx driver for supported
31 pin properties.
33 Example:
34 pinctrl: pinctrl@40086000 {
35         compatible = "nxp,lpc1850-scu";
36         reg = <0x40086000 0x1000>;
37         clocks = <&ccu1 CLK_CPU_SCU>;
39         i2c0_pins: i2c0-pins {
40                 i2c0_pins_cfg {
41                         pins = "i2c0_scl", "i2c0_sda";
42                         function = "i2c0";
43                         input-enable;
44                 };
45         };
47         uart0_pins: uart0-pins {
48                 uart0_rx_cfg {
49                         pins = "pf_11";
50                         function = "uart0";
51                         bias-disable;
52                         input-enable;
53                 };
55                 uart0_tx_cfg {
56                         pins = "pf_10";
57                         function = "uart0";
58                         bias-disable;
59                 };
60         };
62         gpio_joystick_pins: gpio-joystick-pins {
63                 gpio_joystick_1_cfg {
64                         pins =  "p9_0";
65                         function = "gpio";
66                         nxp,gpio-pin-interrupt = <0>;
67                         input-enable;
68                         bias-disable;
69                 };
70         };