1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pinctrl/ingenic,pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs pin controller devicetree bindings
10 Please refer to pinctrl-bindings.txt in this directory for details of the
11 common pinctrl bindings used by client devices, including the meaning of the
12 phrase "pin configuration node".
14 For the Ingenic SoCs, pin control is tightly bound with GPIO ports. All pins
15 may be used as GPIOs, multiplexed device functions are configured within the
16 GPIO port configuration registers and it is typical to refer to pins using the
17 naming scheme "PxN" where x is a character identifying the GPIO port with
18 which the pin is associated and N is an integer from 0 to 31 identifying the
19 pin within that GPIO port. For example PA0 is the first pin in GPIO port A,
20 and PB31 is the last pin in GPIO port B. The JZ4730, the JZ4740, the JZ4725B,
21 the X1000 and the X1830 contains 4 GPIO ports, PA to PD, for a total of 128
22 pins. The X2000 contains 5 GPIO ports, PA to PE, for a total of 160 pins.
23 The JZ4750, the JZ4755 the JZ4760, the JZ4770 and the JZ4780 contains 6 GPIO
24 ports, PA to PF, for a total of 192 pins. The JZ4775 contains 7 GPIO ports,
25 PA to PG, for a total of 224 pins.
28 - Paul Cercueil <paul@crapouillou.net>
32 pattern: "^pinctrl@[0-9a-f]+$"
37 - ingenic,jz4730-pinctrl
38 - ingenic,jz4740-pinctrl
39 - ingenic,jz4725b-pinctrl
40 - ingenic,jz4750-pinctrl
41 - ingenic,jz4755-pinctrl
42 - ingenic,jz4760-pinctrl
43 - ingenic,jz4770-pinctrl
44 - ingenic,jz4775-pinctrl
45 - ingenic,jz4780-pinctrl
46 - ingenic,x1000-pinctrl
47 - ingenic,x1500-pinctrl
48 - ingenic,x1830-pinctrl
49 - ingenic,x2000-pinctrl
51 - const: ingenic,jz4760b-pinctrl
52 - const: ingenic,jz4760-pinctrl
54 - const: ingenic,x1000e-pinctrl
55 - const: ingenic,x1000-pinctrl
57 - const: ingenic,x2000e-pinctrl
58 - const: ingenic,x2000-pinctrl
77 - ingenic,jz4725b-gpio
91 - description: The GPIO bank number
101 interrupt-controller: true
106 Refer to ../interrupt-controller/interrupts.txt for more details.
117 - interrupt-controller
120 additionalProperties: false
128 additionalProperties:
132 - $ref: pincfg-node.yaml#
133 - $ref: pinmux-node.yaml#
145 additionalProperties: false
150 additionalProperties:
153 - $ref: pincfg-node.yaml#
154 - $ref: pinmux-node.yaml#
166 additionalProperties: false
170 pin-controller@10010000 {
171 compatible = "ingenic,jz4770-pinctrl";
172 reg = <0x10010000 0x600>;
174 #address-cells = <1>;
178 compatible = "ingenic,jz4770-gpio";
182 gpio-ranges = <&pinctrl 0 0 32>;
185 interrupt-controller;
186 #interrupt-cells = <2>;
188 interrupt-parent = <&intc>;