[PATCH v2 5/9] dt-bindings: spi: Add hpe gxp spi
nick.hawkins at hpe.com
nick.hawkins at hpe.com
Wed Jun 8 23:21:38 CEST 2022
From: Nick Hawkins <nick.hawkins at hpe.com>
Add support for the HPE GXP SPI Controller.
Signed-off-by: Nick Hawkins <nick.hawkins at hpe.com>
---
v2:
*Created binding documentation as it does not exist for linux.
---
doc/device-tree-bindings/spi/hpe,gxp-spi.yaml | 37 +++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 doc/device-tree-bindings/spi/hpe,gxp-spi.yaml
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 0000000000..5e23de1847
--- /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 at hpe.com>
+ - Jean-Marie Verdun <verdun at hpe.com>
+
+allOf:
+ - $ref: "spi-controller.yaml#"
+
+properties:
+ compatible:
+ const: mikrotik,rb4xx-spi
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ spi at c00000200{
+ compatible = "hpe,gxp-spi";
+ reg = <0xc0000200 0x80>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
--
2.17.1
More information about the U-Boot
mailing list