summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2022-08-22 16:54:56 +1000
committerChris Johns <chrisj@rtems.org>2022-08-25 09:25:03 +1000
commita3b0f7d5a8a5df7c4ef16c0b527f56cf1d241b54 (patch)
tree563e68c55dda28016479318f5bfdeba420c5948c /spec
parentbsps/amd64: remove -Werror from ABI flags (diff)
downloadrtems-a3b0f7d5a8a5df7c4ef16c0b527f56cf1d241b54.tar.bz2
bsps/xilinx/versal: Add Cadence I2C driver support
Diffstat (limited to 'spec')
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/grp.yml4
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/grp_aiedge.yml2
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/grp_vck190.yml2
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/objcadencei2c.yml21
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml17
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml17
6 files changed, 63 insertions, 0 deletions
diff --git a/spec/build/bsps/aarch64/xilinx-versal/grp.yml b/spec/build/bsps/aarch64/xilinx-versal/grp.yml
index 27a77e9e6f..262278f214 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/grp.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/grp.yml
@@ -33,6 +33,10 @@ links:
- role: build-dependency
uid: optramori
- role: build-dependency
+ uid: optclki2c0
+- role: build-dependency
+ uid: optclki2c1
+- role: build-dependency
uid: optclkuart
- role: build-dependency
uid: optconminor
diff --git a/spec/build/bsps/aarch64/xilinx-versal/grp_aiedge.yml b/spec/build/bsps/aarch64/xilinx-versal/grp_aiedge.yml
index 680584f36c..30f5852ac4 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/grp_aiedge.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/grp_aiedge.yml
@@ -13,6 +13,8 @@ links:
- role: build-dependency
uid: grp
- role: build-dependency
+ uid: objcadencei2c
+- role: build-dependency
uid: tstaiedge
type: build
use-after: []
diff --git a/spec/build/bsps/aarch64/xilinx-versal/grp_vck190.yml b/spec/build/bsps/aarch64/xilinx-versal/grp_vck190.yml
index 661a528038..2f9662c597 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/grp_vck190.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/grp_vck190.yml
@@ -13,6 +13,8 @@ links:
- role: build-dependency
uid: grp
- role: build-dependency
+ uid: objcadencei2c
+- role: build-dependency
uid: tstvck190
type: build
use-after: []
diff --git a/spec/build/bsps/aarch64/xilinx-versal/objcadencei2c.yml b/spec/build/bsps/aarch64/xilinx-versal/objcadencei2c.yml
new file mode 100644
index 0000000000..f290d433e7
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-versal/objcadencei2c.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2021 On-Line Applications Research (OAR)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/aarch64/xilinx-versal/include/bsp/i2c.h
+- destination: ${BSP_INCLUDEDIR}/dev/i2c
+ source:
+ - bsps/include/dev/i2c/cadence-i2c-regs.h
+ - bsps/include/dev/i2c/cadence-i2c.h
+links: []
+source:
+- bsps/shared/dev/i2c/cadence-i2c.c
+type: build
diff --git a/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml b/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml
new file mode 100644
index 0000000000..3d567c961c
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2022 Chris Johns <chris@contemporary.software>
+default: 99999001
+default-by-variant: []
+description: |
+ Versal i2c0 clock frequency in Hz. This is the frequency after the signal
+ has been processed using the values passed to the I2C0_REF_CTRL register.
+enabled-by: true
+format: '{}'
+links: []
+name: VERSAL_CLOCK_I2C0
+type: build
diff --git a/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml b/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml
new file mode 100644
index 0000000000..4f67f3ee95
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2022 Chris Johns <chris@contemporary.software>
+default: 99999001
+default-by-variant: []
+description: |
+ Versal i2c1 clock frequency in Hz. This is the frequency after the signal
+ has been processed using the values passed to the I2C1_REF_CTRL register.
+enabled-by: true
+format: '{}'
+links: []
+name: VERSAL_CLOCK_I2C1
+type: build