forked from Imagelibrary/rtems
bsps/xilinx/versal: Add Cadence I2C driver support
This commit is contained in:
@@ -32,6 +32,10 @@ links:
|
||||
uid: optramlen
|
||||
- role: build-dependency
|
||||
uid: optramori
|
||||
- role: build-dependency
|
||||
uid: optclki2c0
|
||||
- role: build-dependency
|
||||
uid: optclki2c1
|
||||
- role: build-dependency
|
||||
uid: optclkuart
|
||||
- role: build-dependency
|
||||
|
||||
@@ -12,6 +12,8 @@ ldflags: []
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: grp
|
||||
- role: build-dependency
|
||||
uid: objcadencei2c
|
||||
- role: build-dependency
|
||||
uid: tstaiedge
|
||||
type: build
|
||||
|
||||
@@ -12,6 +12,8 @@ ldflags: []
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: grp
|
||||
- role: build-dependency
|
||||
uid: objcadencei2c
|
||||
- role: build-dependency
|
||||
uid: tstvck190
|
||||
type: build
|
||||
|
||||
21
spec/build/bsps/aarch64/xilinx-versal/objcadencei2c.yml
Normal file
21
spec/build/bsps/aarch64/xilinx-versal/objcadencei2c.yml
Normal file
@@ -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
|
||||
17
spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml
Normal file
17
spec/build/bsps/aarch64/xilinx-versal/optclki2c0.yml
Normal file
@@ -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
|
||||
17
spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml
Normal file
17
spec/build/bsps/aarch64/xilinx-versal/optclki2c1.yml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user