aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/e31x/dts/e31x-common.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/usrp3/top/e31x/dts/e31x-common.dtsi')
-rw-r--r--fpga/usrp3/top/e31x/dts/e31x-common.dtsi27
1 files changed, 27 insertions, 0 deletions
diff --git a/fpga/usrp3/top/e31x/dts/e31x-common.dtsi b/fpga/usrp3/top/e31x/dts/e31x-common.dtsi
new file mode 100644
index 000000000..63cae413f
--- /dev/null
+++ b/fpga/usrp3/top/e31x/dts/e31x-common.dtsi
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2018 National Instruments Corp
+ *
+ * SPDX-License-Identifier: GPL-2.0 OR X11
+ */
+
+&fpga_full {
+ uio@40010000 {
+ compatible = "usrp-uio";
+ reg = <0x40010000 0x2000>;
+ reg-names = "mboard-regs";
+ status = "okay";
+ };
+};
+
+&spi0 {
+ status = "okay";
+
+ cs-gpios = <0>;
+
+ spidev0: spidev@0 {
+ compatible = "rohm,dh2228fv";
+ reg = <0>;
+ status = "okay";
+ spi-max-frequency = <1000000>;
+ };
+};