summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hawkins <nick.hawkins@hpe.com>2022-06-08 16:21:38 -0500
committerTom Rini <trini@konsulko.com>2022-06-22 21:30:05 -0400
commit63ff9d91348a95fb21bc97b3d757fd68462b9910 (patch)
treea93b2185a2ca704762f620f1f3eca386f53c4f4d
parente7ea0a2ba3ec6bc9392270aa97e4d3f8a196d91a (diff)
dt-bindings: spi: Add hpe gxp spi
Add support for the HPE GXP SPI Controller. Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com>
-rw-r--r--doc/device-tree-bindings/spi/hpe,gxp-spi.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/spi/hpe,gxp-spi.yaml b/doc/device-tree-bindings/spi/hpe,gxp-spi.yaml
new file mode 100644
index 00000000000..5e23de1847c
--- /dev/null
+++ b/doc/device-tree-bindings/spi/hpe,gxp-spi.yaml
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/spi/hpe,gxp-spi.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: HPE GXP SPI Controller
+
+maintainers:
+ - Nick Hawkins <nick.hawkins@hpe.com>
+ - Jean-Marie Verdun <verdun@hpe.com>
+
+allOf:
+ - $ref: "spi-controller.yaml#"
+
+properties:
+ compatible:
+ const: mikrotik,rb4xx-spi
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ spi@c00000200{
+ compatible = "hpe,gxp-spi";
+ reg = <0xc0000200 0x80>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+