summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/spi/spi_oc_tiny.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/spi/spi_oc_tiny.txt')
-rw-r--r--dts/Bindings/spi/spi_oc_tiny.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/dts/Bindings/spi/spi_oc_tiny.txt b/dts/Bindings/spi/spi_oc_tiny.txt
new file mode 100644
index 0000000000..d95c0b367a
--- /dev/null
+++ b/dts/Bindings/spi/spi_oc_tiny.txt
@@ -0,0 +1,12 @@
+OpenCores tiny SPI
+
+Required properties:
+- compatible : should be "opencores,tiny-spi-rtlsvn2".
+- gpios : should specify GPIOs used for chipselect.
+Optional properties:
+- clock-frequency : input clock frequency to the core.
+- baud-width: width, in bits, of the programmable divider used to scale
+ the input clock to SCLK.
+
+The clock-frequency and baud-width properties are needed only if the divider
+is programmable. They are not needed if the divider is fixed.