aboutsummaryrefslogtreecommitdiff
path: root/Bindings/spi/spi-bcm63xx.txt
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2017-07-09 13:12:48 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2017-07-09 13:12:48 +0000
commitf3f213a6f94d330b77b3910f4c66b62aeec50645 (patch)
treec3f9fb9d237fa970fbe2a2d425d0be312d0e86a7 /Bindings/spi/spi-bcm63xx.txt
parent8fdc67f730291b64de002bf95d19ae75e058b8ce (diff)
downloadsrc-f3f213a6f94d330b77b3910f4c66b62aeec50645.tar.gz
src-f3f213a6f94d330b77b3910f4c66b62aeec50645.zip
Update the DTS file from Linux 4.12vendor/device-tree/4.12
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=320832 svn path=/vendor/device-tree/4.12/; revision=320833; tag=vendor/device-tree/4.12
Diffstat (limited to 'Bindings/spi/spi-bcm63xx.txt')
-rw-r--r--Bindings/spi/spi-bcm63xx.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/Bindings/spi/spi-bcm63xx.txt b/Bindings/spi/spi-bcm63xx.txt
new file mode 100644
index 000000000000..1c16f6692613
--- /dev/null
+++ b/Bindings/spi/spi-bcm63xx.txt
@@ -0,0 +1,33 @@
+Binding for Broadcom BCM6348/BCM6358 SPI controller
+
+Required properties:
+- compatible: must contain one of "brcm,bcm6348-spi", "brcm,bcm6358-spi".
+- reg: Base address and size of the controllers memory area.
+- interrupts: Interrupt for the SPI block.
+- clocks: phandle of the SPI clock.
+- clock-names: has to be "spi".
+- #address-cells: <1>, as required by generic SPI binding.
+- #size-cells: <0>, also as required by generic SPI binding.
+
+Optional properties:
+- num-cs: some controllers have less than 8 cs signals. Defaults to 8
+ if absent.
+
+Child nodes as per the generic SPI binding.
+
+Example:
+
+ spi@10000800 {
+ compatible = "brcm,bcm6368-spi", "brcm,bcm6358-spi";
+ reg = <0x10000800 0x70c>;
+
+ interrupts = <1>;
+
+ clocks = <&clkctl 9>;
+ clock-names = "spi";
+
+ num-cs = <5>;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };