~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/renesas,rzn1-pinctrl.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/pinctrl/renesas,rzn1-pinctrl.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/pinctrl/renesas,rzn1-pinctrl.yaml (Version linux-6.2.16)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php