Lines Matching +full:shared +full:- +full:pin
10 Please refer to pinctrl-bindings.txt in this directory for details of the
12 phrase "pin configuration node".
14 Atmel AT91 pin configuration node is a node of a group of pins which can be
16 of the pins in that group. The 'pins' selects the function mode(also named pin
17 mode) this pin can work on and the 'config' configures various pad settings
18 such as pull-up, multi drive, etc.
21 - compatible: "atmel,at91rm9200-pinctrl" or "atmel,at91sam9x5-pinctrl"
22 or "atmel,sama5d3-pinctrl" or "microchip,sam9x60-pinctrl"
23 - atmel,mux-mask: array of mask (periph per bank) to describe if a pin can be
41 For each peripheral/bank we will describe in a u32 if a pin can be
42 configured in it by putting 1 to the pin bit (1 << pin)
45 From the datasheet Table 10-2.
82 Required properties for pin configuration node:
83 - atmel,pins: 4 integers array, represents a group of pins mux and config
89 PULL_UP (1 << 0): indicate this pin needs a pull up.
90 MULTIDRIVE (1 << 1): indicate this pin needs to be configured as multi-drive.
91 Multi-drive is equivalent to open-drain type output.
92 DEGLITCH (1 << 2): indicate this pin needs deglitch.
93 PULL_DOWN (1 << 3): indicate this pin needs a pull down.
94 DIS_SCHMIT (1 << 4): indicate this pin needs to the disable schmitt trigger.
95 DRIVE_STRENGTH (3 << 5): indicate the drive strength of the pin using the
97 00 - No change (reset state value kept)
98 01 - Low
99 10 - Medium
100 11 - High
101 OUTPUT (1 << 7): indicate this pin need to be configured as an output.
103 SLEWRATE (1 << 9): slew rate of the pin: 0 = disable, 1 = enable
104 DEBOUNCE (1 << 16): indicate this pin needs debounce.
108 Some requirements for using atmel,at91rm9200-pinctrl binding:
109 1. We have pin function node defined under at91 controller node to represent
111 2. The driver can use the function node's name and pin configuration node's
112 name describe the pin function and group hierarchy.
114 as the function name and pin configuration node's name as group name to
116 3. Each pin configuration node should have a phandle, devices can set pins
117 configurations by referring to the phandle of that pin configuration node.
118 4. The gpio controller must be describe in the pinctrl simple-bus.
121 - compatible: "atmel,at91sam9x5-gpio" or "atmel,at91rm9200-gpio" or
122 "microchip,sam9x60-gpio"
123 - reg: physical base address and length of the controller's registers
124 - interrupts: interrupt outputs from the controller
125 - interrupt-controller: marks the device node as an interrupt controller
126 - #interrupt-cells: should be 2; refer to ../interrupt-controller/interrupts.txt
128 - gpio-controller
129 - #gpio-cells: should be 2; the first cell is the GPIO number and the second
130 cell specifies GPIO flags as defined in <dt-bindings/gpio/gpio.h>.
131 - clocks: bank clock
136 #address-cells = <1>;
137 #size-cells = <1>;
139 compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
143 compatible = "atmel,at91sam9x5-gpio";
146 #gpio-cells = <2>;
147 gpio-controller;
148 interrupt-controller;
149 #interrupt-cells = <2>;
153 atmel,mux-mask = <
160 /* shared pinctrl settings */
162 pinctrl_dbgu: dbgu-0 {
171 compatible = "atmel,at91sam9260-usart";
174 pinctrl-names = "default";
175 pinctrl-0 = <&pinctrl_dbgu>;