summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-02-15 11:37:41 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-02-19 10:23:21 +0000
commit4275ebc31dc3de3fcde9991b03fb4c9ddf611a2b (patch)
tree3bf119c420803cbb4571bc0c5d23b12c4b8740a7
parentaf6f77005428d3cddf9f80e2625b8be0afa08078 (diff)
downloadedk2-platforms-4275ebc31dc3de3fcde9991b03fb4c9ddf611a2b.tar.xz
Silicon/SynQuacer/DeviceTree: add node for SPI controller
Add a node for the SPI controller to the device tree so the OS may attach to it. This is the SPI controller that is attached to the 96boards mezzanine connector on Developer Box. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r--Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi18
1 files changed, 18 insertions, 0 deletions
diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
index 9085adb326..ba445a50f1 100644
--- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
+++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
@@ -538,4 +538,22 @@
clock-names = "core", "iface";
dma-coherent;
};
+
+ clk_alw_1_8: spi_ihclk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <125000000>;
+ clock-output-names = "iHCLK";
+ };
+
+ spi: spi@54810000 {
+ compatible = "socionext,synquacer-spi";
+ reg = <0x0 0x54810000 0x0 0x1000>;
+ clocks = <&clk_alw_1_8>;
+ clock-names = "iHCLK";
+ socionext,use-rtm;
+ socionext,set-aces;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
};