0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 # Copyright 2019,2020 Lubomir Rintel <lkundrak@v3.sk>
0003 %YAML 1.2
0004 ---
0005 $id: http://devicetree.org/schemas/spi/marvell,mmp2-ssp.yaml#
0006 $schema: http://devicetree.org/meta-schemas/core.yaml#
0007
0008 title: PXA2xx SSP SPI Controller bindings
0009
0010 maintainers:
0011 - Lubomir Rintel <lkundrak@v3.sk>
0012
0013 allOf:
0014 - $ref: spi-controller.yaml#
0015
0016 properties:
0017 compatible:
0018 const: marvell,mmp2-ssp
0019
0020 interrupts:
0021 maxItems: 1
0022
0023 reg:
0024 maxItems: 1
0025
0026 clocks:
0027 maxItems: 1
0028
0029 ready-gpios:
0030 description: |
0031 GPIO used to signal a SPI master that the FIFO is filled and we're
0032 ready to service a transfer. Only useful in slave mode.
0033 maxItems: 1
0034
0035 required:
0036 - compatible
0037 - reg
0038 - interrupts
0039 - clocks
0040
0041 dependencies:
0042 ready-gpios: [ spi-slave ]
0043
0044 unevaluatedProperties: false
0045
0046 examples:
0047 - |
0048 #include <dt-bindings/clock/marvell,mmp2.h>
0049 spi@d4035000 {
0050 compatible = "marvell,mmp2-ssp";
0051 #address-cells = <1>;
0052 #size-cells = <0>;
0053 reg = <0xd4035000 0x1000>;
0054 clocks = <&soc_clocks MMP2_CLK_SSP0>;
0055 interrupts = <0>;
0056 };
0057
0058 ...