Lines Matching +full:sub +full:- +full:nodes

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/canaan,k210-fpioa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Damien Le Moal <dlemoal@kernel.org>
16 a per-pin basis.
20 const: canaan,k210-fpioa
29 - description: Controller reference clock source
30 - description: APB interface clock source
32 clock-names:
34 - const: ref
35 - const: pclk
40 canaan,k210-sysctl-power:
41 $ref: /schemas/types.yaml#/definitions/phandle-array
43 - items:
44 - description: phandle of the K210 system controller node
45 - description: offset of its power domain control register
51 '-pinmux$':
53 $ref: /schemas/pinctrl/pinmux-node.yaml
55 FPIOA client devices use sub-nodes to define the desired pin
56 configuration. Client device sub-nodes use the pinux property
65 macros in include/dt-bindings/pinctrl/k210-fpioa.h.
70 - pinmux
74 '-pins$':
76 $ref: /schemas/pinctrl/pincfg-node.yaml
78 FPIOA client devices use sub-nodes to define the desired
79 configuration of pins. Client device sub-nodes use the
87 Pin configuration nodes can also define the power domain to
88 be used for the SoC pin groups A0 (IO pins 0-5),
89 A1 (IO pins 6-11), A2 (IO pins 12-17), B0 (IO pins 18-23),
90 B1 (IO pins 24-29), B2 (IO pins 30-35), B3 (IO pins 30-35),
91 C0 (IO pins 36-41) and C1 (IO pins 42-47) using the
92 power-source property.
95 - pattern: "^(IO_([0-9]*))|(A[0-2])|(B[3-5])|(C[6-7])$"
96 - enum: [ IO_0, IO_1, IO_2, IO_3, IO_4, IO_5, IO_6, IO_7,
104 bias-disable: true
106 bias-pull-down: true
108 bias-pull-up: true
110 drive-strength: true
112 drive-strength-microamp: true
114 input-enable: true
116 input-disable: true
118 input-schmitt-enable: true
120 input-schmitt-disable: true
122 input-polarity-invert:
127 output-enable: true
129 output-disable: true
131 output-high: true
133 output-low: true
135 output-polarity-invert:
140 slew-rate: true
142 power-source: true
147 - $ref: pinctrl.yaml#
150 - compatible
151 - reg
152 - clocks
153 - canaan,k210-sysctl-power
158 - |
159 #include <dt-bindings/pinctrl/k210-fpioa.h>
160 #include <dt-bindings/clock/k210-clk.h>
161 #include <dt-bindings/reset/k210-rst.h>
164 compatible = "canaan,k210-fpioa";
168 clock-names = "ref", "pclk";
170 canaan,k210-sysctl-power = <&sysctl 108>;
171 pinctrl-0 = <&jtag_pinctrl>;
172 pinctrl-names = "default";
174 jtag_pinctrl: jtag-pinmux {