aboutsummaryrefslogtreecommitdiff
path: root/sys/dts
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-02-28 10:57:23 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-02-28 10:57:23 +0000
commit3f9309e5713e499b487ac2c5c20a5c3d521527c1 (patch)
tree65a53672ed25959aba7255124561232708e1898c /sys/dts
parent762f1f6b6844ec8f08f9cd734f0e2de927711f4d (diff)
downloadsrc-3f9309e5713e499b487ac2c5c20a5c3d521527c1.tar.gz
src-3f9309e5713e499b487ac2c5c20a5c3d521527c1.zip
arm: zynq: An SPI driver for Zynq platforms
Submitted by: Thomas Skibo Differential Revision: https://reviews.freebsd.org/D23319
Notes
Notes: svn path=/head/; revision=358426
Diffstat (limited to 'sys/dts')
-rw-r--r--sys/dts/arm/zynq-7000.dtsi17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/dts/arm/zynq-7000.dtsi b/sys/dts/arm/zynq-7000.dtsi
index a48d28e4c199..a48c7bb732a1 100644
--- a/sys/dts/arm/zynq-7000.dtsi
+++ b/sys/dts/arm/zynq-7000.dtsi
@@ -206,6 +206,23 @@
spi-clock = <50000000>; // 50 Mhz
};
+ // SPI controllers
+ spi0: spi0@6000 {
+ compatible = "xlnx,zy7_spi";
+ status = "disabled";
+ reg = <0x6000 0x100>;
+ interrupts = <0 26 4>;
+ interrupt-parent = <&GIC>;
+ };
+
+ spi1: spi0@7000 {
+ compatible = "xlnx,zy7_spi";
+ status = "disabled";
+ reg = <0x7000 0x100>;
+ interrupts = <0 49 4>;
+ interrupt-parent = <&GIC>;
+ };
+
// SDIO controllers
sdhci0: sdhci@100000 {
compatible = "xlnx,zy7_sdhci";