File Index
Files and directories
Sign in
FILE

nxp,lpc3220-spi.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/spi/nxp,lpc3220-spi.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/spi/nxp,lpc3220-spi.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: NXP LPC3220 SPI controller
 8
 9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    enum:
15      - nxp,lpc3220-spi
16
17  reg:
18    maxItems: 1
19
20  clocks:
21    maxItems: 1
22
23allOf:
24  - $ref: spi-controller.yaml#
25
26unevaluatedProperties: false
27
28required:
29  - compatible
30  - reg
31  - clocks
32
33examples:
34  - |
35    #include <dt-bindings/clock/lpc32xx-clock.h>
36
37    spi@20088000 {
38        compatible = "nxp,lpc3220-spi";
39        reg = <0x20088000 0x1000>;
40        clocks = <&clk LPC32XX_CLK_SPI1>;
41        #address-cells = <1>;
42        #size-cells = <0>;
43    };
44
~/ Read-only file preview.