Based on kernel version 7.2. Page generated on 2026-08-20 08:41 EST.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/pinctrl/ultrarisc,dp1000-pinctrl.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: UltraRISC DP1000 Pin Controller maintainers: - Jia Wang <wangjia@ultrarisc.com> description: | UltraRISC RISC-V SoC DP1000 pin controller. The controller manages ports A, B, C, D and LPC. Ports A-D default to GPIO and provide additional SPI, UART, I2C, and PWM mux functions. LPC pins default to the LPC interface and can be muxed to eSPI. All pins also support pin configuration, including drive strength, pull-up, and pull-down settings. properties: compatible: const: ultrarisc,dp1000-pinctrl reg: items: - description: pin controller registers required: - compatible - reg patternProperties: '.*-pins$': type: object unevaluatedProperties: false allOf: - $ref: /schemas/pinctrl/pincfg-node.yaml# - $ref: /schemas/pinctrl/pinmux-node.yaml# - if: properties: pins: items: minimum: 40 maximum: 52 then: properties: function: enum: - lpc - espi else: properties: pins: items: maximum: 39 function: enum: - gpio - i2c - pwm - spi - uart properties: pins: description: | List of pins affected by this state node, using numeric pin IDs. Pins 0-39 correspond to ports A-D, and pins 40-52 correspond to LPC0-LPC12. $ref: /schemas/types.yaml#/definitions/uint32-array minItems: 1 uniqueItems: true items: minimum: 0 maximum: 52 function: description: | Mux function to select for the listed pins. Supported functions depend on the selected pins and match the DP1000 hardware mux table. enum: - gpio - i2c - pwm - spi - uart - lpc - espi bias-disable: true bias-high-impedance: true bias-pull-up: true bias-pull-down: true drive-strength: description: Output drive strength in mA. enum: [20, 27, 33, 40] required: - pins - function unevaluatedProperties: false examples: - | soc { #address-cells = <2>; #size-cells = <2>; pinctrl@11081000 { compatible = "ultrarisc,dp1000-pinctrl"; reg = <0x0 0x11081000 0x0 0x1000>; i2c0-pins { pins = <12 13>; function = "i2c"; bias-pull-up; drive-strength = <33>; }; uart0-pins { pins = <8 9>; function = "uart"; bias-pull-up; drive-strength = <33>; }; }; }; |