1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7110-sys-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: StarFive JH7110 SYS Pin Controller
10 Bindings for the JH7110 RISC-V SoC from StarFive Technology Ltd.
12 Out of the SoC's many pins only the ones named PAD_GPIO0 to PAD_GPIO63
13 can be multiplexed and have configurable bias, drive strength,
15 Some peripherals have their I/O go through the 64 "GPIOs". This also
16 includes a number of other UARTs, I2Cs, SPIs, PWMs etc.
17 All these peripherals are connected to all 64 GPIOs such that
18 any GPIO can be set up to be controlled by any of the peripherals.
21 - Jianlong Huang <jianlong.huang@starfivetech.com>
25 const: starfive,jh7110-sys-pinctrl
39 interrupt-controller: true
52 additionalProperties: false
57 A pinctrl node should contain at least one subnode representing the
58 pinctrl groups available on the machine. Each subnode will list the
59 pins it needs, and how they should be configured, with regard to
60 muxer configuration, bias, input enable/disable, input schmitt
61 trigger enable/disable, slew-rate and drive strength.
63 - $ref: /schemas/pinctrl/pincfg-node.yaml
64 - $ref: /schemas/pinctrl/pinmux-node.yaml
65 additionalProperties: false
70 The list of GPIOs and their mux settings that properties in the
71 node apply to. This should be set using the GPIOMUX or PINMUX
89 input-schmitt-enable: true
91 input-schmitt-disable: true
101 - interrupt-controller
106 additionalProperties: false
111 compatible = "starfive,jh7110-sys-pinctrl";
112 reg = <0x13040000 0x10000>;
113 clocks = <&syscrg 112>;
114 resets = <&syscrg 2>;
116 interrupt-controller;
117 #interrupt-cells = <2>;
123 pinmux = <0xff140005>;
125 drive-strength = <12>;
127 input-schmitt-disable;
132 pinmux = <0x0E000406>;
134 drive-strength = <2>;
136 input-schmitt-enable;