1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/ren 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: Renesas RZ/N1 Pin Controller 8 9 maintainers: 10 - Fabrizio Castro <fabrizio.castro.jz@renesas 11 - Geert Uytterhoeven <geert+renesas@glider.be 12 13 properties: 14 compatible: 15 items: 16 - enum: 17 - renesas,r9a06g032-pinctrl # RZ/N1D 18 - renesas,r9a06g033-pinctrl # RZ/N1S 19 - const: renesas,rzn1-pinctrl # Generi 20 21 reg: 22 items: 23 - description: GPIO Multiplexing Level1 24 - description: GPIO Multiplexing Level2 25 26 clocks: 27 maxItems: 1 28 29 clock-names: 30 const: bus 31 description: 32 The bus clock, sometimes described as pc 33 34 allOf: 35 - $ref: pinctrl.yaml# 36 37 required: 38 - compatible 39 - reg 40 - clocks 41 - clock-names 42 43 additionalProperties: 44 anyOf: 45 - type: object 46 allOf: 47 - $ref: pincfg-node.yaml# 48 - $ref: pinmux-node.yaml# 49 50 description: 51 A pin multiplexing sub-node describes 52 single) pin in some desired alternate 53 A single sub-node may define several p 54 55 properties: 56 pinmux: 57 description: | 58 Integer array representing pin num 59 configuration. 60 When a pin has to be configured in 61 this property to identify the pin 62 its alternate function configurati 63 When multiple pins are required to 64 same alternate function they shall 65 same argument list of a single "pi 66 Integers values in the "pinmux" ar 67 (PIN | MUX_FUNC << 8) 68 where PIN directly corresponds to 69 MUX_FUNC is one of the alternate f 70 <include/dt-bindings/pinctrl/rzn1- 71 These identifiers collapse the IO 72 and Level 2 numbers that are detai 73 manual into a single number. The i 74 offset by 10. Additional identifi 75 MDIO source peripheral. 76 77 bias-disable: true 78 bias-pull-up: 79 description: Pull up the pin with 50 80 bias-pull-down: 81 description: Pull down the pin with 82 bias-high-impedance: true 83 drive-strength: 84 enum: [ 4, 6, 8, 12 ] 85 86 required: 87 - pinmux 88 89 additionalProperties: 90 $ref: "#/additionalProperties/anyOf/0" 91 92 - type: object 93 additionalProperties: 94 $ref: "#/additionalProperties/anyOf/0" 95 96 examples: 97 - | 98 #include <dt-bindings/clock/r9a06g032-sysc 99 #include <dt-bindings/pinctrl/rzn1-pinctrl 100 pinctrl: pinctrl@40067000 { 101 compatible = "renesas,r9a06g032-pi 102 reg = <0x40067000 0x1000>, <0x5100 103 clocks = <&sysctrl R9A06G032_HCLK_ 104 clock-names = "bus"; 105 106 /* 107 * A serial communication interfac 108 * input pin. 109 */ 110 pins_uart0: pins_uart0 { 111 pinmux = < 112 RZN1_PINMUX(103, R 113 RZN1_PINMUX(104, R 114 >; 115 }; 116 117 /* 118 * Set the pull-up on the RXD pin 119 */ 120 pins_uart0_alt: pins_uart0_alt { 121 pinmux = <RZN1_PINMUX(103, 122 123 pins_uart6_rx { 124 pinmux = <RZN1_PIN 125 bias-pull-up; 126 }; 127 }; 128 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.