mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
Compare commits
200 Commits
ti2017.02-
...
morty
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92ef1e0b22 | ||
|
|
aba055b049 | ||
|
|
3dc0847752 | ||
|
|
4f26e88b5c | ||
|
|
59392e8200 | ||
|
|
e00952ee61 | ||
|
|
7d52a5bde0 | ||
|
|
d2568081f8 | ||
|
|
e4dc9880dd | ||
|
|
d6f38aac24 | ||
|
|
8564d6d77d | ||
|
|
2bcbde7b8a | ||
|
|
866c75e967 | ||
|
|
3e09f4472f | ||
|
|
30fa91cdc1 | ||
|
|
7b02c6126c | ||
|
|
b34db22b07 | ||
|
|
02f83d69e5 | ||
|
|
4b25bf89ed | ||
|
|
1f1376c057 | ||
|
|
cb8ac4d500 | ||
|
|
fc2efd59dc | ||
|
|
ceec21bf0c | ||
|
|
ad2a2da1ba | ||
|
|
c8dafb6cbc | ||
|
|
3b2426cec0 | ||
|
|
2ae45b37dd | ||
|
|
da38a62458 | ||
|
|
aeb0123377 | ||
|
|
2e7ddf41ab | ||
|
|
133c682a3d | ||
|
|
821565cb0c | ||
|
|
a3289d542c | ||
|
|
3d68560f74 | ||
|
|
ed034f8424 | ||
|
|
15279116f4 | ||
|
|
a2f9907fd5 | ||
|
|
096c8605c4 | ||
|
|
5b3fbff07e | ||
|
|
8419cc1511 | ||
|
|
426878c1d1 | ||
|
|
6309033a84 | ||
|
|
df93b96831 | ||
|
|
f6410fa53e | ||
|
|
40a391f8bb | ||
|
|
1364d7bb18 | ||
|
|
6aa72d525f | ||
|
|
926e53ba27 | ||
|
|
5f17c9925e | ||
|
|
aeb38257d3 | ||
|
|
2c505db5e6 | ||
|
|
49be168842 | ||
|
|
c6bfa68eff | ||
|
|
db41321fad | ||
|
|
d3b90b8bce | ||
|
|
6ae3a940a7 | ||
|
|
f08e7fdc04 | ||
|
|
8c6cfd7cc2 | ||
|
|
c98c0b7767 | ||
|
|
e05452107f | ||
|
|
94dd3d7031 | ||
|
|
f92f890604 | ||
|
|
ebebaae69d | ||
|
|
bb1816021b | ||
|
|
18e7dab96d | ||
|
|
ec42e92544 | ||
|
|
351ccf1928 | ||
|
|
fece8c4bae | ||
|
|
fb6e1c696f | ||
|
|
acc63501dd | ||
|
|
2e6b1111fb | ||
|
|
a74e634032 | ||
|
|
a2f7a2aff7 | ||
|
|
f4f2acf001 | ||
|
|
dd212516e3 | ||
|
|
490bed288a | ||
|
|
5df3f14c15 | ||
|
|
08de99ef26 | ||
|
|
2e4703bcf3 | ||
|
|
0733c2299c | ||
|
|
7ac0d6d4bb | ||
|
|
2ee491283b | ||
|
|
02008598e0 | ||
|
|
b0531c2266 | ||
|
|
b878982480 | ||
|
|
3544f073c7 | ||
|
|
17dea4369e | ||
|
|
9e788a0a59 | ||
|
|
de660bbeff | ||
|
|
dfea11fa7d | ||
|
|
cb0ae99852 | ||
|
|
7136eed3f5 | ||
|
|
a5e4b70409 | ||
|
|
a7849a82f1 | ||
|
|
d6c7eccd56 | ||
|
|
55e06948b5 | ||
|
|
92f8ffd27b | ||
|
|
ccd81fcdd7 | ||
|
|
70858750f2 | ||
|
|
d8f1a23c5a | ||
|
|
1cfec69db9 | ||
|
|
9a3ab72144 | ||
|
|
7823875689 | ||
|
|
3bbb53087f | ||
|
|
da84b67552 | ||
|
|
adce45c8dd | ||
|
|
2c63df2dd5 | ||
|
|
12d00048d4 | ||
|
|
aa3824456f | ||
|
|
705e65e0a6 | ||
|
|
95729130db | ||
|
|
6067423927 | ||
|
|
3c053981b3 | ||
|
|
a2743f55c3 | ||
|
|
2e0b2073c7 | ||
|
|
1561b4c137 | ||
|
|
e55936516c | ||
|
|
5dd6a49b64 | ||
|
|
04245e65f2 | ||
|
|
54211dadbd | ||
|
|
d959ca1fb0 | ||
|
|
1b5fc859fa | ||
|
|
c324547739 | ||
|
|
65f530a301 | ||
|
|
a5a102ff0e | ||
|
|
a9e7b5b586 | ||
|
|
d8b71f1b64 | ||
|
|
99120fea94 | ||
|
|
620082f919 | ||
|
|
937b5f5dff | ||
|
|
cd9c97c4c1 | ||
|
|
6a6c603a81 | ||
|
|
88ef434d3d | ||
|
|
5f81b55394 | ||
|
|
16c4f627b6 | ||
|
|
32c9233f4d | ||
|
|
e60da0bbb2 | ||
|
|
c421211ff0 | ||
|
|
9a02ab782d | ||
|
|
a808c89405 | ||
|
|
bdf52fb165 | ||
|
|
9aa3d729f6 | ||
|
|
f6aa8cf323 | ||
|
|
fbf2c859e1 | ||
|
|
9150a13228 | ||
|
|
a653d781f6 | ||
|
|
746fd15d2a | ||
|
|
dcb37f56dd | ||
|
|
e282ad0bf5 | ||
|
|
48a0462b34 | ||
|
|
d06354e736 | ||
|
|
fa44afcc47 | ||
|
|
917e430fc0 | ||
|
|
967145d886 | ||
|
|
bc7cb9470a | ||
|
|
c0bfe52860 | ||
|
|
1eff66100f | ||
|
|
f315643509 | ||
|
|
51a39f9557 | ||
|
|
6ae83c332d | ||
|
|
a18d57af83 | ||
|
|
ee2c1d67ff | ||
|
|
cbeff59a4d | ||
|
|
f63159d960 | ||
|
|
c3dac59a54 | ||
|
|
29f68fc20e | ||
|
|
99e924916c | ||
|
|
018bbc293d | ||
|
|
e03184c91b | ||
|
|
0eff3344ab | ||
|
|
4da17581bd | ||
|
|
a61bd0acf1 | ||
|
|
aecc85c084 | ||
|
|
107b56788d | ||
|
|
69104e2c25 | ||
|
|
68db8a3e94 | ||
|
|
cf51fca6ca | ||
|
|
c1494032a1 | ||
|
|
6639ece960 | ||
|
|
fd6d403c90 | ||
|
|
e8a14576fe | ||
|
|
0dbfbfed37 | ||
|
|
22c36324b2 | ||
|
|
019fbf803f | ||
|
|
b8548c575d | ||
|
|
d552e378f3 | ||
|
|
fc1ad8a584 | ||
|
|
8d737c3236 | ||
|
|
467fc31d38 | ||
|
|
aa59fc1503 | ||
|
|
d4e2ecba1a | ||
|
|
f2cd25abd2 | ||
|
|
d3d5c5c513 | ||
|
|
71f6beaa00 | ||
|
|
7b51cf71bf | ||
|
|
0bd61341b7 | ||
|
|
ec17a80bfe | ||
|
|
f4e6927225 | ||
|
|
e3a70e9314 | ||
|
|
1b90f9efa6 |
@@ -3,11 +3,12 @@ require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
inherit perlnative
|
||||
|
||||
DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-pdk-build-rtos"
|
||||
DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos"
|
||||
|
||||
DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
|
||||
DEPENDS_remove_ti33x = "ti-cgt6x-native"
|
||||
DEPENDS_remove_ti43x = "ti-cgt6x-native"
|
||||
DEPENDS_append_omapl1 = " ti-cgt-arm-native"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${WORKDIR}/build"
|
||||
@@ -38,7 +39,9 @@ export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
|
||||
export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
|
||||
|
||||
export ROOTDIR = "${B}"
|
||||
export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
|
||||
@@ -51,7 +54,7 @@ export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl"
|
||||
TI_PDK_XDCMAKE ?= "1"
|
||||
|
||||
# By default, only build the cores with available toolchains
|
||||
TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 c66x c66xdsp_1 c66xdsp_2 arm9_0 c674x"
|
||||
TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 c66x c66xdsp_1 c66xdsp_2 arm9_0 c674x a9host a8host pru_0 pru_1"
|
||||
TI_PDK_LIMIT_SOCS ?= ""
|
||||
TI_PDK_LIMIT_BOARDS ?= ""
|
||||
TI_PDK_MAKE_TARGET ?= "release"
|
||||
@@ -60,6 +63,14 @@ TI_PDK_EXTRA_MAKE ?= ""
|
||||
TI_PDK_XDC_ARGS ?= "${TI_PDK_LIMIT_SOCS}"
|
||||
|
||||
PARALLEL_XDC = "--jobs=${BB_NUMBER_THREADS}"
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
EXTRA_OEMAKE = " \
|
||||
LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" \
|
||||
LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" \
|
||||
LIMIT_CORES="${TI_PDK_LIMIT_CORES}" \
|
||||
${TI_PDK_EXTRA_MAKE} \
|
||||
"
|
||||
|
||||
do_configure() {
|
||||
BUILD_DIR=${B}/`get_build_dir_bash`
|
||||
@@ -76,25 +87,31 @@ do_configure() {
|
||||
find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
|
||||
find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
|
||||
find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
|
||||
|
||||
cd ${B}
|
||||
${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR .
|
||||
else
|
||||
if [ "${CLEANBROKEN}" != "1" ]
|
||||
then
|
||||
cd ${BUILD_DIR}
|
||||
oe_runmake clean
|
||||
cd "${B}"
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
|
||||
if [ "${TI_PDK_XDCMAKE}" == "1" ]
|
||||
then
|
||||
${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR .
|
||||
${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC} XDCARGS="${TI_PDK_XDC_ARGS}" ROOTDIR="${ROOTDIR}" -PR .
|
||||
${XDC_INSTALL_DIR}/xdc release XDCARGS="${TI_PDK_XDC_ARGS}" -PR .
|
||||
else
|
||||
BUILD_DIR=${B}/`get_build_dir_bash`
|
||||
cd ${BUILD_DIR}
|
||||
|
||||
make ${TI_PDK_MAKE_TARGET} \
|
||||
LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" \
|
||||
LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" \
|
||||
LIMIT_CORES="${TI_PDK_LIMIT_CORES}" \
|
||||
${TI_PDK_EXTRA_MAKE}
|
||||
oe_runmake ${TI_PDK_MAKE_TARGET}
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -10,11 +10,13 @@ IMAGE_FSTYPES += "tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS2"
|
||||
|
||||
KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb \
|
||||
KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-beagle-x15-revc.dtb \
|
||||
am57xx-evm.dtb am57xx-evm-cam-mt9t111.dtb am57xx-evm-cam-ov10635.dtb \
|
||||
am57xx-evm-reva3.dtb am57xx-evm-reva3-cam-mt9t111.dtb am57xx-evm-reva3-cam-ov10635.dtb \
|
||||
am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-osd101t2587.dtb \
|
||||
am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb"
|
||||
am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb \
|
||||
am574x-idk.dtb am574x-idk-lcd-osd101t2587.dtb \
|
||||
${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
|
||||
|
||||
UBOOT_MACHINE = "am57xx_evm_config"
|
||||
|
||||
@@ -40,4 +42,5 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x"
|
||||
TI_PDK_LIMIT_SOCS = "am571x am572x am574x"
|
||||
TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x idkAM574x"
|
||||
|
||||
@@ -16,3 +16,4 @@ TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
|
||||
OPTEEMACHINE = "ti"
|
||||
OPTEEFLAVOR = "am57xx"
|
||||
OPTEEOUTPUTMACHINE = "ti"
|
||||
OPTEEPAGER = "y"
|
||||
|
||||
@@ -13,7 +13,7 @@ SERIAL_CONSOLE = "115200 ttyS0"
|
||||
KERNEL_DEVICETREE = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd101t2045.dtb dra7-evm-lcd-osd101t2587.dtb \
|
||||
dra72-evm.dtb dra72-evm-lcd-lg.dtb dra72-evm-lcd-osd101t2045.dtb dra72-evm-lcd-osd101t2587.dtb \
|
||||
dra72-evm-revc.dtb dra72-evm-revc-lcd-osd101t2045.dtb dra72-evm-revc-lcd-osd101t2587.dtb \
|
||||
dra71-evm.dtb dra71-evm-lcd-auo-g101evn01.0.dtb"
|
||||
dra71-evm.dtb dra71-evm-lcd-auo-g101evn01.0.dtb dra76-evm.dtb dra76-evm-tfp410.dtb"
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_evm_config"
|
||||
|
||||
@@ -40,4 +40,4 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x"
|
||||
TI_PDK_LIMIT_SOCS_append = " dra72x dra75x dra78x"
|
||||
TI_PDK_LIMIT_SOCS = "dra72x dra75x dra78x"
|
||||
|
||||
@@ -16,3 +16,4 @@ TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
|
||||
OPTEEMACHINE = "ti"
|
||||
OPTEEFLAVOR = "dra7xx"
|
||||
OPTEEOUTPUTMACHINE = "ti"
|
||||
OPTEEPAGER = "y"
|
||||
|
||||
@@ -34,6 +34,3 @@ UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip dsp"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am571x am572x"
|
||||
|
||||
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb"
|
||||
KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl-uio.dtb', '', d)}"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am335x_evm_config"
|
||||
|
||||
@@ -26,7 +26,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb"
|
||||
KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am43xx_evm_config"
|
||||
|
||||
@@ -6,7 +6,8 @@ require conf/machine/include/k2g.inc
|
||||
|
||||
MACHINE_FEATURES += "alsa"
|
||||
|
||||
KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb"
|
||||
KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb \
|
||||
${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'keystone-k2g-ice-pru-excl-uio.dtb', '', d)}"
|
||||
|
||||
UBOOT_MACHINE = "k2g_evm_config"
|
||||
|
||||
|
||||
16
recipes-bsp/aif2-lld/aif2-lld-rtos_git.bb
Normal file
16
recipes-bsp/aif2-lld/aif2-lld-rtos_git.bb
Normal file
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "TI RTOS low level driver for Antenna Interface"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
require recipes-bsp/aif2-lld/aif2-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS_append = " qmss-lld-rtos \
|
||||
cppi-lld-rtos \
|
||||
"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "AIF2 LLD"
|
||||
38
recipes-bsp/audk2g-addon/audk2g-addon-rtos_git.bb
Normal file
38
recipes-bsp/audk2g-addon/audk2g-addon-rtos_git.bb
Normal file
@@ -0,0 +1,38 @@
|
||||
SUMMARY = "TI RTOS Audio add-on software for k2g"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://audk2gaddonver.h;beginline=8;endline=47;md5=7a3996aaf1a3d3ca87358cf9b89bce3d"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2g"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
AUDK2G_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/audk2g-addon.git"
|
||||
AUDK2G_ADDON_GIT_PROTOCOL = "git"
|
||||
AUDK2G_ADDON_GIT_BRANCH = "master"
|
||||
AUDK2G_ADDON_GIT_DESTSUFFIX = "git/ti/addon/audk2g"
|
||||
|
||||
# Below commit ID corresponds to "DEV.AUDK2G.01.04.00.00"
|
||||
AUDK2G_ADDON_SRCREV = "815180b45ceb1fa3c110f9979106c7f5aa8b3ca2"
|
||||
|
||||
BRANCH = "${AUDK2G_ADDON_GIT_BRANCH}"
|
||||
SRC_URI = "${AUDK2G_ADDON_GIT_URI};destsuffix=${AUDK2G_ADDON_GIT_DESTSUFFIX};protocol=${AUDK2G_ADDON_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${AUDK2G_ADDON_SRCREV}"
|
||||
PV = "01.04.00.00"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git/ti/addon/audk2g"
|
||||
|
||||
DEPENDS_append = " ti-sysbios \
|
||||
gpio-lld-rtos \
|
||||
i2c-lld-rtos \
|
||||
board-rtos \
|
||||
"
|
||||
|
||||
export PDK_AUDK2G_ROOT_PATH = "${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
33
recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
Normal file
33
recipes-bsp/bcp-lld/bcp-lld-rtos_git.bb
Normal file
@@ -0,0 +1,33 @@
|
||||
SUMMARY = "TI Bit Coprocessor (BCP) low level driver"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://bcp.h;beginline=1;endline=40;md5=4f6e6128dd075a89548c0287a39b8896"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm|c667x-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
BCP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/bcp-lld.git"
|
||||
BCP_LLD_GIT_PROTOCOL = "git"
|
||||
BCP_LLD_GIT_BRANCH = "master"
|
||||
BCP_LLD_GIT_DESTSUFFIX = "git/ti/drv/bcp"
|
||||
|
||||
# Below commit ID corresponds to "DEV.BCP_LLD.02.01.00.06"
|
||||
BCP_LLD_SRCREV = "44e2ffcb6fd236c41f7ea8f9a1684833f5361daa"
|
||||
|
||||
BRANCH = "${BCP_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${BCP_LLD_GIT_URI};destsuffix=${BCP_LLD_GIT_DESTSUFFIX};protocol=${BCP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${BCP_LLD_SRCREV}"
|
||||
PV = "02.01.00.06"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${BCP_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append = " qmss-lld-rtos \
|
||||
cppi-lld-rtos \
|
||||
"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "BCP LLD"
|
||||
72
recipes-bsp/board-rtos/board-rtos_git.bb
Normal file
72
recipes-bsp/board-rtos/board-rtos_git.bb
Normal file
@@ -0,0 +1,72 @@
|
||||
SUMMARY = "TI RTOS Board Library"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://board.h;beginline=1;endline=32;md5=0e3182ba6a963da159c37eafa9752ade"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
BOARD_GIT_URI = "git://git.ti.com/keystone-rtos/board.git"
|
||||
BOARD_GIT_PROTOCOL = "git"
|
||||
BOARD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.BOARD.01.00.09.00A"
|
||||
BOARD_SRCREV = "387d77aff6e36af54c239a315cb2d477f1466f4d"
|
||||
|
||||
BRANCH ="${BOARD_GIT_BRANCH}"
|
||||
SRC_URI = "${BOARD_GIT_URI};protocol=${BOARD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${BOARD_SRCREV}"
|
||||
PV = "01.00.09.00A"
|
||||
PR = "r1"
|
||||
|
||||
DEPENDS_append = " i2c-lld-rtos \
|
||||
spi-lld-rtos \
|
||||
uart-lld-rtos \
|
||||
"
|
||||
|
||||
DEPENDS_append_omap-a15 = " osal-rtos \
|
||||
ti-ndk \
|
||||
mmcsd-lld-rtos \
|
||||
pm-lld-rtos \
|
||||
"
|
||||
|
||||
DEPENDS_append_am57xx-evm = " gpio-lld-rtos \
|
||||
icss-emac-lld-rtos \
|
||||
pruss-lld-rtos \
|
||||
"
|
||||
|
||||
|
||||
DEPENDS_append_ti33x = " gpio-lld-rtos \
|
||||
gpmc-lld-rtos \
|
||||
icss-emac-lld-rtos \
|
||||
mmcsd-lld-rtos \
|
||||
osal-rtos \
|
||||
pruss-lld-rtos \
|
||||
starterware-rtos \
|
||||
ti-ndk \
|
||||
"
|
||||
|
||||
DEPENDS_append_ti43x = " gpio-lld-rtos \
|
||||
gpmc-lld-rtos \
|
||||
icss-emac-lld-rtos \
|
||||
mmcsd-lld-rtos \
|
||||
osal-rtos \
|
||||
pruss-lld-rtos \
|
||||
starterware-rtos \
|
||||
ti-ndk \
|
||||
"
|
||||
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
||||
export PDK_BOARD_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
XDCPATH_append = ";${PDK_INSTALL_DIR}/packages/ti/csl;${NDK_INSTALL_DIR}/packages"
|
||||
41
recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
Normal file
41
recipes-bsp/cmb-addon/cmb-addon-rtos_git.bb
Normal file
@@ -0,0 +1,41 @@
|
||||
SUMMARY = "TI RTOS software supporting circular microphone array board"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://cmbaddonver.h;beginline=8;endline=47;md5=d0cb159bf210cfafed63042da01c83e0"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2g|omapl137-evm"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
CMB_ADDON_GIT_URI = "git://git.ti.com/processor-sdk/circmicarray-addon.git"
|
||||
CMB_ADDON_GIT_PROTOCOL = "git"
|
||||
CMB_ADDON_GIT_BRANCH = "master"
|
||||
CMB_ADDON_GIT_DESTSUFFIX = "git/ti/addon"
|
||||
|
||||
# Below commit ID corresponds to "DEV.CMB.01.01.00.00"
|
||||
CMB_ADDON_SRCREV = "29c05572b82251bac73cd685afcffdb8549eaaaf"
|
||||
|
||||
SRCREV = "${CMB_ADDON_SRCREV}"
|
||||
PV = "01.01.00.00"
|
||||
PR = "r0"
|
||||
|
||||
BRANCH = "${CMB_ADDON_GIT_BRANCH}"
|
||||
SRC_URI = "${CMB_ADDON_GIT_URI};destsuffix=${CMB_ADDON_GIT_DESTSUFFIX};protocol=${CMB_ADDON_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
|
||||
S = "${WORKDIR}/git/ti/addon/cmb"
|
||||
|
||||
DEPENDS_append = " ti-sysbios \
|
||||
gpio-lld-rtos \
|
||||
i2c-lld-rtos \
|
||||
mcasp-lld-rtos \
|
||||
board-rtos \
|
||||
"
|
||||
|
||||
export PDK_CMB_ROOT_PATH = "${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
@@ -4,10 +4,10 @@ LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
|
||||
|
||||
BRANCH = "lu-next"
|
||||
# This corresponds to version 4.14.00.00
|
||||
SRCREV = "b514a99ac45c64f0439282d0774d7cff5def4c6f"
|
||||
# This corresponds to version 4.14.01.00
|
||||
SRCREV = "b687f3c3658221cdb2731e2421a26004ee7193b8"
|
||||
|
||||
PV = "4.14.00.00+git${SRCPV}"
|
||||
PV = "4.14.01.00+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
require common-csl-ip.inc
|
||||
PR = "${INC_PR}.4"
|
||||
PR = "${INC_PR}.6"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE_append = "|c66x"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
@@ -12,3 +13,9 @@ TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_CSL_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "CSL-Chip Support Library"
|
||||
|
||||
# Workaround: dra7xx build requires am57xx CSL libraries for opencl-monitor
|
||||
TI_PDK_LIMIT_SOCS_append_dra7xx = " am571x am572x"
|
||||
|
||||
@@ -2,9 +2,9 @@ DESCRIPTION = "Chip support library low level interface"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone|dra7xx"
|
||||
COMPATIBLE_MACHINE = "keystone|dra7xx|ti33x|ti43x|omapl1"
|
||||
|
||||
PV = "03.03.00.06C"
|
||||
PV = "03.03.00.09"
|
||||
INC_PR = "r0"
|
||||
|
||||
CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git"
|
||||
@@ -12,8 +12,8 @@ CSL_GIT_PROTOCOL ="git"
|
||||
CSL_GIT_BRANCH = "master"
|
||||
CSL_GIT_DESTSUFFIX = "git"
|
||||
|
||||
# Below commit ID corresponding to "DEV.CSL_PROCESSOR-SDK.03.03.00.06C"
|
||||
CSL_SRCREV = "ce2bbf96b08fa69eda7bfc92aa7760b7ca70dddf"
|
||||
# Below commit ID corresponding to "DEV.CSL_PROCESSOR-SDK.03.03.00.09"
|
||||
CSL_SRCREV = "7a7ef0633d9e305072b79ac978738c48e46583cc"
|
||||
|
||||
BRANCH="${CSL_GIT_BRANCH}"
|
||||
SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
inherit ti-pdk
|
||||
require cppi-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_append = "|c66x"
|
||||
|
||||
DEPENDS_append = " rm-lld-rtos \
|
||||
qmss-lld-rtos \
|
||||
|
||||
12
recipes-bsp/dfe-lld/dfe-lld-rtos_git.bb
Normal file
12
recipes-bsp/dfe-lld/dfe-lld-rtos_git.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
SUMMARY = "TI RTOS level driver for Digital Radio Front End"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
require recipes-bsp/dfe-lld/dfe-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "DFE LLD"
|
||||
@@ -13,12 +13,11 @@ PV = "1.00.00.07"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
PR = "r4"
|
||||
inherit update-alternatives
|
||||
|
||||
DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
|
||||
DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
|
||||
|
||||
export HWVERSION = "ES10"
|
||||
export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"
|
||||
|
||||
@@ -21,7 +21,7 @@ do_install() {
|
||||
COMPATIBLE_MACHINE = "dra7xx|keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
RDEPENDS_${PN} = "debugss-module-drv"
|
||||
RDEPENDS_${PN} = "debugss-module-drv bash"
|
||||
RDEPENDS_${PN}_append_keystone = " temperature-module-drv"
|
||||
|
||||
include dsptop.inc
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
require edma3-lld.inc
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
|
||||
DEPENDS = "ti-sysbios ti-xdctools-native gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PLATFORMLIST = ""
|
||||
@@ -51,6 +50,33 @@ TARGETLIST_keystone = " \
|
||||
a15 \
|
||||
"
|
||||
|
||||
PLATFORMLIST_append_dra7xx-evm = " \
|
||||
tda3xx-evm \
|
||||
"
|
||||
|
||||
TARGETLIST_c66x = " \
|
||||
66 \
|
||||
"
|
||||
|
||||
PLATFORMLIST_c665x-evm = " \
|
||||
c6657-evm \
|
||||
"
|
||||
|
||||
PLATFORMLIST_c667x-evm = " \
|
||||
c6678-evm \
|
||||
"
|
||||
|
||||
PLATFORMLIST_omapl1 = " \
|
||||
omapl137-evm \
|
||||
omapl138-evm \
|
||||
"
|
||||
|
||||
TARGETLIST_omapl1 = " \
|
||||
arm9 \
|
||||
674 \
|
||||
"
|
||||
|
||||
EXTRA_OEMAKE_remove = "TARGET=66"
|
||||
FORMAT="ELF"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -74,6 +100,8 @@ export CROSSAR="${TARGET_PREFIX}ar"
|
||||
export CROSSLNK="${TARGET_PREFIX}gcc"
|
||||
|
||||
do_configure () {
|
||||
rm -rf ${S}/examples/edma3_driver/evmTCI6614
|
||||
rm -rf ${S}/examples/edma3_driver/evmTCI6614BE
|
||||
sed -i -e "s|_config.bld|config.bld|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^edma3_lld_PATH =.*$|edma3_lld_PATH = ${S}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_M3 =.*$|CODEGEN_PATH_M3 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
|
||||
@@ -111,7 +139,7 @@ do_install () {
|
||||
cp ${CP_ARGS} ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
|
||||
}
|
||||
|
||||
INSANE_SKIP_${PN}-dev = "arch ldflags"
|
||||
INSANE_SKIP_${PN}-dev = "arch ldflags file-rdeps"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
FILES_${PN}-dev += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
|
||||
|
||||
@@ -6,12 +6,12 @@ EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
|
||||
EDMA3_LLD_GIT_PROTOCOL = "git"
|
||||
EDMA3_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_03_27"
|
||||
EDMA3_LLD_SRCREV = "ed434ef4019b696b753dae0f98fe6594a7ce35a3"
|
||||
# Below commit ID corresponds to version 2.12.05.30B
|
||||
EDMA3_LLD_SRCREV = "f0179381d5b18a1aea2c13ec29e9d45e419153d6"
|
||||
|
||||
BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${EDMA3_LLD_SRCREV}"
|
||||
|
||||
PV = "2.12.03.27"
|
||||
PV = "2.12.05.30B"
|
||||
INC_PR = "r0"
|
||||
|
||||
@@ -24,41 +24,43 @@ do_compile () {
|
||||
cd ${S}/packages
|
||||
for platform in ${PLATFORMLIST}
|
||||
do
|
||||
ROOTDIR=${S} CROSSCC="${TARGET_PREFIX}gcc" CROSSAR="${TARGET_PREFIX}ar" \
|
||||
CROSSLNK="${TARGET_PREFIX}gcc" INTERNAL_SW_ROOT="${S}" make \
|
||||
ROOTDIR=${S} CROSSCC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" CROSSAR="${TARGET_PREFIX}ar" \
|
||||
CROSSLNK="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" INTERNAL_SW_ROOT="${S}" make \
|
||||
PLATFORM="$platform" TARGET=a15 TOOLCHAIN_a15=GCC FORMAT=ELF \
|
||||
SONAME=libedma3.so all
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
|
||||
|
||||
install -d ${D}/${libdir}
|
||||
|
||||
# Static Libraries
|
||||
cp ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/edma3_lld_drv.aa15fg \
|
||||
cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/edma3_lld_drv.aa15fg \
|
||||
${D}/${libdir}/libedma3.a
|
||||
cp ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/edma3_lld_rm.aa15fg \
|
||||
cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/edma3_lld_rm.aa15fg \
|
||||
${D}/${libdir}/libedma3rm.a
|
||||
|
||||
# Shared Libraries
|
||||
cp -a ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/libedma* ${D}/${libdir}
|
||||
cp -a ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/libedma* ${D}/${libdir}
|
||||
cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/libedma* ${D}/${libdir}
|
||||
cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/libedma* ${D}/${libdir}
|
||||
|
||||
# Copy Headers
|
||||
install -d ${D}/${includedir}/ti/sdo/edma3/drv/
|
||||
install -d ${D}/${includedir}/ti/sdo/edma3/rm
|
||||
cp ${S}/packages/ti/sdo/edma3/drv/*.h ${D}/${includedir}/ti/sdo/edma3/drv/
|
||||
cp ${S}/packages/ti/sdo/edma3/rm/*.h ${D}/${includedir}/ti/sdo/edma3/rm/
|
||||
cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/drv/*.h ${D}/${includedir}/ti/sdo/edma3/drv/
|
||||
cp ${CP_ARGS} ${S}/packages/ti/sdo/edma3/rm/*.h ${D}/${includedir}/ti/sdo/edma3/rm/
|
||||
|
||||
# Copy Sample Config
|
||||
install -d ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/evmTCI6636K2HSample.c \
|
||||
cp ${CP_ARGS} ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/evmTCI6636K2HSample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/evmTCI6638K2KSample.c \
|
||||
cp ${CP_ARGS} ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/evmTCI6638K2KSample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/evmTCI6630K2LSample.c \
|
||||
cp ${CP_ARGS} ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/evmTCI6630K2LSample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmC66AK2E/evmC66AK2ESample.c \
|
||||
cp ${CP_ARGS} ${S}/examples/edma3_user_space_driver/evmC66AK2E/evmC66AK2ESample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
|
||||
install -d ${D}/${bindir}
|
||||
|
||||
37
recipes-bsp/emac-lld/emac-lld-rtos_git.bb
Normal file
37
recipes-bsp/emac-lld/emac-lld-rtos_git.bb
Normal file
@@ -0,0 +1,37 @@
|
||||
SUMMARY = "TI RTOS low level driver for Ethernet MAC (EMAC) peripheral"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://emacver.h;beginline=1;endline=47;md5=f66bb3695972ca2a85d990a390f45d88"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|c665x-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/emac-lld.git"
|
||||
EMAC_LLD_GIT_PROTOCOL = "git"
|
||||
EMAC_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.EMAC_LLD.01.00.03.08"
|
||||
EMAC_LLD_SRCREV = "20b30c9dd37ae1f899e93b560dce41f804e43317"
|
||||
|
||||
BRANCH ="${EMAC_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${EMAC_LLD_GIT_URI};protocol=${EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${EMAC_LLD_SRCREV}"
|
||||
PV = "01.00.03.08"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " board-rtos osal-rtos"
|
||||
DEPENDS_append_ti33x = " starterware-rtos"
|
||||
DEPENDS_append_ti43x = " starterware-rtos"
|
||||
DEPENDS_append_k2g = " cppi-lld-rtos qmss-lld-rtos"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_EMAC_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "EMAC LLD"
|
||||
34
recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
Normal file
34
recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "TI RTOS driver for FAT filesystem"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://FATFS.h;beginline=1;endline=32;md5=6619832755598d1cc2b01f2e6a1801d6"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FATFS_GIT_URI = "git://git.ti.com/keystone-rtos/fatfs.git"
|
||||
FATFS_GIT_PROTOCOL = "git"
|
||||
FATFS_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.FATFS_LLD.01.00.00.08"
|
||||
FATFS_SRCREV = "374ae86c9b1f3a4ffbbb09c739e6e5d6709afd09"
|
||||
|
||||
BRANCH ="${FATFS_GIT_BRANCH}"
|
||||
SRC_URI = "${FATFS_GIT_URI};protocol=${FATFS_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${FATFS_SRCREV}"
|
||||
PV = "01.00.00.08"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " mmcsd-lld-rtos \
|
||||
"
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_FATFS_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "FATFS Library"
|
||||
36
recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb
Normal file
36
recipes-bsp/faultmanagement/faultmanagement-rtos_git.bb
Normal file
@@ -0,0 +1,36 @@
|
||||
SUMMARY = "TI Fault management module for keystone devices"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://fault_mgmt.h;beginline=1;endline=41;md5=4be5df2b9c314da729e9e4f6cc0b2979"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm|k2l-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FAULT_MANAGEMENT_GIT_URI = "git://git.ti.com/keystone-rtos/fault_mgmt.git"
|
||||
FAULT_MANAGEMENT_GIT_PROTOCOL = "git"
|
||||
FAULT_MANAGEMENT_GIT_BRANCH = "master"
|
||||
FAULT_MANAGEMENT_GIT_DESTSUFFIX = "git/ti/instrumentation/fault_mgmt"
|
||||
|
||||
# Below commit ID corresponds to "DEV.FAULT_MGMT.01.00.01.03"
|
||||
FAULT_MANAGEMENT_SRCREV = "a300e7d1f262bdfa48c92851bad0da228a41acc3"
|
||||
|
||||
BRANCH = "${FAULT_MANAGEMENT_GIT_BRANCH}"
|
||||
SRC_URI = "${FAULT_MANAGEMENT_GIT_URI};destsuffix=${FAULT_MANAGEMENT_GIT_DESTSUFFIX};protocol=${FAULT_MANAGEMENT_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${FAULT_MANAGEMENT_SRCREV}"
|
||||
PV = "01.00.01.03"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${FAULT_MANAGEMENT_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append_keystone = " qmss-lld-rtos \
|
||||
cppi-lld-rtos \
|
||||
pa-lld-rtos \
|
||||
"
|
||||
|
||||
DEPENDS_append_k2hk-evm = " aif2-lld-rtos \
|
||||
"
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "Fault Management"
|
||||
34
recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
Normal file
34
recipes-bsp/fftc-lld/fftc-lld-rtos_git.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "TI FFT Coprocessor (FFTC) low level driver "
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://fftc.h;beginline=1;endline=39;md5=2f1010c47d364414644caf6d30a2b7df"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FFTC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/fftc-lld.git"
|
||||
FFTC_LLD_GIT_PROTOCOL = "git"
|
||||
FFTC_LLD_GIT_BRANCH = "master"
|
||||
FFTC_LLD_GIT_DESTSUFFIX = "git/ti/drv/fftc"
|
||||
|
||||
# Below commit ID corresponds to "DEV.FFTC_LLD.02.02.00.06A"
|
||||
FFTC_LLD_SRCREV = "96e8839a2de5f15ba8765f4a6a4fd499689c496d"
|
||||
|
||||
BRANCH = "${FFTC_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${FFTC_LLD_GIT_URI};destsuffix=${FFTC_LLD_GIT_DESTSUFFIX};protocol=${FFTC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${FFTC_LLD_SRCREV}"
|
||||
PV = "02.02.00.06A"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${FFTC_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
|
||||
DEPENDS_append= " qmss-lld-rtos \
|
||||
cppi-lld-rtos \
|
||||
"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "FFTC LLD"
|
||||
42
recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
Normal file
42
recipes-bsp/gpio-lld/gpio-lld-rtos_git.bb
Normal file
@@ -0,0 +1,42 @@
|
||||
SUMMARY = "TI RTOS driver for General Purpose IO (GPIO)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://GPIO.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c667x-evm|c665x-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
GPIO_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/gpio-lld.git"
|
||||
GPIO_LLD_GIT_PROTOCOL = "git"
|
||||
GPIO_LLD_GIT_BRANCH = "master"
|
||||
GPIO_LLD_GIT_DESTSUFFIX = "git/ti/drv/gpio"
|
||||
|
||||
# Below commit ID corresponds to "DEV.GPIO_LLD.01.00.00.09"
|
||||
GPIO_LLD_SRCREV = "99a20a668f36217705d57f7cc2f7faf1a5533bbe"
|
||||
|
||||
BRANCH = "${GPIO_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${GPIO_LLD_GIT_URI};destsuffix=${GPIO_LLD_GIT_DESTSUFFIX};protocol=${GPIO_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${GPIO_LLD_SRCREV}"
|
||||
PV = "01.00.00.09"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${GPIO_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append = " osal-rtos \
|
||||
"
|
||||
DEPENDS_append_ti33x = " starterware-rtos \
|
||||
"
|
||||
DEPENDS_append_ti43x = " starterware-rtos \
|
||||
"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_GPIO_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "GPIO LLD"
|
||||
39
recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
Normal file
39
recipes-bsp/gpmc-lld/gpmc-lld-rtos_git.bb
Normal file
@@ -0,0 +1,39 @@
|
||||
SUMMARY = "TI RTOS low level driver for General Purpose Memory Controller (GPMC)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://GPMC.h;beginline=1;endline=31;md5=485ec97c36f809bf92323fde3e988c72"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
GPMC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/gpmc-lld.git"
|
||||
GPMC_LLD_GIT_PROTOCOL = "git"
|
||||
GPMC_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.GPMC_LLD.01.00.00.01"
|
||||
GPMC_LLD_SRCREV = "86df4c099ad9c84f4b92d515ba64c343c75cf44d"
|
||||
|
||||
BRANCH = "${GPMC_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${GPMC_LLD_GIT_URI};protocol=${GPMC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${GPMC_LLD_SRCREV}"
|
||||
PV = "01.00.00.01"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " osal-rtos \
|
||||
"
|
||||
DEPENDS_append_ti33x = " starterware-rtos \
|
||||
"
|
||||
DEPENDS_append_ti43x = " starterware-rtos \
|
||||
"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "GPMC LLD"
|
||||
|
||||
export PDK_GPMC_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
12
recipes-bsp/hyplnk-lld/hyplnk-lld-rtos_git.bb
Normal file
12
recipes-bsp/hyplnk-lld/hyplnk-lld-rtos_git.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
SUMMARY = "TI RTOS low level driver for Hyperlink peripheral"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
require recipes-bsp/hyplnk-lld/hyplnk-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE_append = "|c66x"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "HYPLNK LLD"
|
||||
@@ -13,14 +13,14 @@ HYPLNK_GIT_PROTOCOL = "git"
|
||||
HYPLNK_GIT_BRANCH = "master"
|
||||
HYPLNK_GIT_DESTSUFFIX = "git/ti/drv/${LLDNAME}"
|
||||
|
||||
# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.06
|
||||
HYPLNK_SRCREV = "a1953ca33114c5a4daca6289a7fb75b201f566d2"
|
||||
# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.07
|
||||
HYPLNK_SRCREV = "7799dd3b1ef425494bf52534adebb915f6566885"
|
||||
|
||||
BRANCH="${HYPLNK_GIT_BRANCH}"
|
||||
SRC_URI = "${HYPLNK_GIT_URI};destsuffix=${HYPLNK_GIT_DESTSUFFIX};protocol=${HYPLNK_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${HYPLNK_SRCREV}"
|
||||
|
||||
PV = "2.1.0.6"
|
||||
PV = "2.1.0.7"
|
||||
INC_PR = "r0"
|
||||
|
||||
DEVICELIST_k2hk = "k2h k2k"
|
||||
|
||||
42
recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
Normal file
42
recipes-bsp/i2c-lld/i2c-lld-rtos_git.bb
Normal file
@@ -0,0 +1,42 @@
|
||||
SUMMARY = "TI RTOS low level driver for Inter-IC module (I2C)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://I2C.h;beginline=1;endline=32;md5=147a6773e962b103cd162ca58535289c"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
I2C_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/i2c-lld.git"
|
||||
I2C_LLD_GIT_PROTOCOL = "git"
|
||||
I2C_LLD_GIT_BRANCH = "master"
|
||||
I2C_LLD_GIT_DESTSUFFIX = "git/ti/drv/i2c"
|
||||
|
||||
# Below commit ID corresponds to "DEV.I2C_LLD.01.00.00.09A"
|
||||
I2C_LLD_SRCREV = "1a0e371f1c992b3f28cb160c6e3ada33d382f6a9"
|
||||
|
||||
BRANCH = "${I2C_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${I2C_LLD_GIT_URI};destsuffix=${I2C_LLD_GIT_DESTSUFFIX};protocol=${I2C_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${I2C_LLD_SRCREV}"
|
||||
PV = "01.00.00.09A"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " osal-rtos \
|
||||
"
|
||||
DEPENDS_append_ti33x = " starterware-rtos \
|
||||
"
|
||||
DEPENDS_append_ti43x = " starterware-rtos \
|
||||
"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
S = "${WORKDIR}/${I2C_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
export PDK_I2C_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "I2C LLD"
|
||||
63
recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb
Normal file
63
recipes-bsp/ibl-boot/ibl-boot-rtos_git.bb
Normal file
@@ -0,0 +1,63 @@
|
||||
SUMMARY = "Second stage bootloader for c66x"
|
||||
DESCRIPTION = "The Intermediate Bootloader (IBL) is a second stage \
|
||||
bootloader for the c66x family of embedded processors. This second \
|
||||
stage bootloader takes care of additional initializations, advisory \
|
||||
setups, and errata workarounds that are not present in the first stage boot."
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://src/ibl.h;beginline=1;endline=34;md5=ee7d7a3305d1e524955996d1c5e31cb9"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
|
||||
DEPENDS = "ti-cgt6x-7-native"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "c66x"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/ibl.git;protocol=git;branch=${BRANCH}"
|
||||
SRCREV = "f7ed32cc8911e3353dd01080da9b725b44a12285"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PATH_prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:"
|
||||
|
||||
IBLTARGETS = ""
|
||||
IBLTARGETS_c665x-evm = "evm_c6657_i2c"
|
||||
IBLTARGETS_c667x-evm = "evm_c6678_i2c"
|
||||
|
||||
IBLENDIAN = ""
|
||||
IBLENDIAN_c665x-evm = "little big"
|
||||
IBLENDIAN_c667x-evm = "little big"
|
||||
|
||||
export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}"
|
||||
export TOOLSC6X="${C6X_BASE_DIR}"
|
||||
export TOOLSC6XDOS="${C6X_BASE_DIR}"
|
||||
export TOOLSBIOSC6XDOS="${C6X_BASE_DIR}"
|
||||
export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
|
||||
|
||||
do_compile() {
|
||||
cd src/make
|
||||
for t in ${IBLTARGETS}
|
||||
do
|
||||
for e in ${IBLENDIAN}
|
||||
do
|
||||
make ${t} ENDIAN=${e} I2C_BUS_ADDR=0x51
|
||||
done
|
||||
done
|
||||
cd -
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/ibl
|
||||
cp -rP --preserve=mode,links,timestamps --no-preserve=ownership * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/ibl
|
||||
}
|
||||
|
||||
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch file-rdeps"
|
||||
25
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb
Normal file
25
recipes-bsp/icss-emac-lld/icss-emac-lld-rtos_git.bb
Normal file
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "TI RTOS low level driver for ICSS-EMAC"
|
||||
|
||||
inherit ti-pdk
|
||||
require icss-emac-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS_append = " osal-rtos \
|
||||
pruss-lld-rtos \
|
||||
"
|
||||
DEPENDS_append_ti33x = " starterware-rtos \
|
||||
"
|
||||
DEPENDS_append_ti43x = " starterware-rtos \
|
||||
"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_ICSS_EMAC_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "ICSS-EMAC LLD"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
30
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
Normal file
30
recipes-bsp/icss-emac-lld/icss-emac-lld-test_git.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
DESCRIPTION = "TI ICSS-EMAC low level driver tests"
|
||||
|
||||
DEPENDS="common-csl-ip pruss-lld icss-emac-lld osal ti-pdk-build-rtos icss-emac-lld-rtos"
|
||||
|
||||
DEPENDS_append_ti33x = " starterware"
|
||||
DEPENDS_append_ti43x = " starterware"
|
||||
|
||||
include icss-emac-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages ICSS_EMAC_SRC_DIR=${S}"
|
||||
|
||||
DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
|
||||
|
||||
do_compile () {
|
||||
# Build the tests
|
||||
for device in ${DEVICE_LIST}
|
||||
do
|
||||
oe_runmake tests DEVICE="$device"
|
||||
done
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# Install the binary
|
||||
for device in ${DEVICE_LIST}
|
||||
do
|
||||
oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
22
recipes-bsp/icss-emac-lld/icss-emac-lld.inc
Normal file
22
recipes-bsp/icss-emac-lld/icss-emac-lld.inc
Normal file
@@ -0,0 +1,22 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://icss_emacDrv.h;beginline=1;endline=40;md5=88d270788c1d8516511304f11a28586d"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|k2g"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
ICSS_EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/icss-emac.git"
|
||||
ICSS_EMAC_LLD_GIT_PROTOCOL = "git"
|
||||
ICSS_EMAC_LLD_GIT_BRANCH = "master"
|
||||
ICSS_EMAC_LLD_GIT_DESTSUFFIX = "git/ti/drv/icss_emac"
|
||||
|
||||
# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.10A"
|
||||
ICSS_EMAC_LLD_SRCREV = "91f70af3714a823df4f71bde3c4d954728e07856"
|
||||
|
||||
BRANCH = "${ICSS_EMAC_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFIX};protocol=${ICSS_EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${ICSS_EMAC_LLD_SRCREV}"
|
||||
PV = "01.00.00.10A"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${ICSS_EMAC_LLD_GIT_DESTSUFFIX}"
|
||||
25
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
Normal file
25
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb
Normal file
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "TI ICSS-EMAC low level driver library"
|
||||
|
||||
DEPENDS="common-csl-ip pruss-lld osal"
|
||||
|
||||
include icss-emac-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
TARGET_NAME_am57xx-evm = "SOC_AM572x"
|
||||
TARGET_NAME_ti33x = "SOC_AM335x"
|
||||
TARGET_NAME_ti43x = "SOC_AM437x"
|
||||
TARGET_NAME_k2g-evm = "SOC_K2G"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} TARGET=${TARGET_NAME}"
|
||||
|
||||
do_compile () {
|
||||
# Build the lib
|
||||
oe_runmake clean
|
||||
oe_runmake lib
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the lib
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
@@ -17,19 +17,18 @@ RDEPENDS_${PN} = " libdce"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
|
||||
|
||||
SRCREV = "fd441443a4289c801a0c8d9f00b6966f7fe3476c"
|
||||
SRCREV = "01bbb622267b687fa05e42062b146ad7a22e7afd"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PV = "3.00.13.00"
|
||||
PR = "r5"
|
||||
PV = "3.00.14.00"
|
||||
PR = "r1"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
|
||||
DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
|
||||
|
||||
export HWVERSION="ES10"
|
||||
export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
|
||||
@@ -44,6 +43,8 @@ export XDAISVERSION="ti-xdais-tree"
|
||||
export TMS470CGTOOLPATH="${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
|
||||
|
||||
EXTRA_OEMAKE += "XDCDIST_TREE=${STAGING_DIR_NATIVE}/usr/share/ti/${XDCVERSION}"
|
||||
|
||||
do_configure() {
|
||||
oe_runmake unconfig
|
||||
oe_runmake vayu_smp_config
|
||||
|
||||
12
recipes-bsp/iqn2-lld/iqn2-lld-rtos_git.bb
Normal file
12
recipes-bsp/iqn2-lld/iqn2-lld-rtos_git.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
SUMMARY = "TI RTOS low level driver for IQN2 peripheral module"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
require recipes-bsp/iqn2-lld/iqn2-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "IQN2 LLD"
|
||||
57
recipes-bsp/mad-utils/mad-utils-rtos_git.bb
Normal file
57
recipes-bsp/mad-utils/mad-utils-rtos_git.bb
Normal file
@@ -0,0 +1,57 @@
|
||||
SUMMARY = "Utility for loading and running multicore applications"
|
||||
DESCRIPTION = "Multicore Application Deployment (MAD) utility is used \
|
||||
for loading and running a multicore application on an embedded \
|
||||
processor with multiple cores. This utility package contains the \
|
||||
scripts to combine multiple applications for different cores into a \
|
||||
single binary as well as loadable application to parse and execute the applications on different cores."
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://README.txt;md5=44b2180aec0657f6b0e42e5611c0bafb"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
|
||||
DEPENDS = "ti-cgt6x-7-native"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "c66x"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/mad-utils.git;protocol=git;branch=${BRANCH}"
|
||||
SRCREV = "2458510f76eddfa837c2b83448965e233156944b"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
export C6X_BASE_DIR="${TI_CGT6X_7_INSTALL_DIR}"
|
||||
PATH_prepend = "${TI_CGT6X_7_INSTALL_DIR}/bin:"
|
||||
|
||||
DEVICE = ""
|
||||
DEVICE_c665x-evm = "C6657"
|
||||
DEVICE_c667x-evm = "C6678"
|
||||
|
||||
ENDIAN = ""
|
||||
ENDIAN_c665x-evm = "little big"
|
||||
ENDIAN_c667x-evm = "little big"
|
||||
|
||||
do_compile() {
|
||||
cd mad-loader
|
||||
for e in ${ENDIAN}
|
||||
do
|
||||
mkdir -p bin/${DEVICE}/${e}
|
||||
make -C mal/malLib/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
|
||||
make -C mal/malApp/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
|
||||
cp mal/malApp/build/mal_app.exe bin/${DEVICE}/${e}
|
||||
make -C nmlLoader/build clean all DEVICE=${DEVICE} ENDIAN=${e} C_DIR=${C6X_BASE_DIR}
|
||||
cp nmlLoader/build/nml.exe bin/${DEVICE}/${e}
|
||||
done
|
||||
cd -
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils
|
||||
cp -rP --preserve=mode,links,timestamps --no-preserve=ownership * ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils
|
||||
}
|
||||
|
||||
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/ti/boot/mad-utils"
|
||||
|
||||
INSANE_SKIP_${PN} += "arch staticdev ldflags file-rdeps"
|
||||
45
recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
Normal file
45
recipes-bsp/mcasp-lld/mcasp-lld-rtos_git.bb
Normal file
@@ -0,0 +1,45 @@
|
||||
SUMMARY = "TI RTOS low level driver for Multi channel Audio Serial port (McASP)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://mcaspver.h;beginline=1;endline=47;md5=cc81a11c1566fe1cf19270744f504619"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti43x|omap-a15|k2g|ti33x|omapl1"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
MCASP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mcasp-lld.git"
|
||||
MCASP_LLD_GIT_PROTOCOL = "git"
|
||||
MCASP_LLD_GIT_BRANCH = "master"
|
||||
MCASP_LLD_GIT_DESTSUFFIX = "git/ti/drv/mcasp"
|
||||
|
||||
# Below commit ID corresponds to "DEV.MCASP_LLD.01.01.00.08A"
|
||||
MCASP_LLD_SRCREV = "56fc546fe3f0ba89477dfa020bcc4b6aa8ce64f3"
|
||||
|
||||
BRANCH = "${MCASP_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${MCASP_LLD_GIT_URI};destsuffix=${MCASP_LLD_GIT_DESTSUFFIX};protocol=${MCASP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${MCASP_LLD_SRCREV}"
|
||||
PV = "01.01.00.08A"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${MCASP_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append = " edma3-lld-rtos \
|
||||
osal-rtos \
|
||||
"
|
||||
DEPENDS_append_ti43x = " starterware-rtos \
|
||||
"
|
||||
DEPENDS_append_ti33x = " starterware-rtos \
|
||||
"
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_MCASP_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
|
||||
XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "MCASP LLD"
|
||||
35
recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
Normal file
35
recipes-bsp/mcbsp-lld/mcbsp-lld-rtos_git.bb
Normal file
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "TI RTOS low level driver for Multi-channel Buffered Serial Port (McBSP)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://mcbspver.h;beginline=1;endline=47;md5=a8a39efd13fa6fe66da5461b898d620e"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2g|c665x-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
MCBSP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mcbsp-lld.git"
|
||||
MCBSP_LLD_GIT_PROTOCOL = "git"
|
||||
MCBSP_LLD_GIT_BRANCH = "master"
|
||||
MCBSP_LLD_GIT_DESTSUFFIX = "git/ti/drv/mcbsp"
|
||||
|
||||
# Below commit ID corresponds to "DEV.MCBSP_LLD.01.00.00.08"
|
||||
MCBSP_LLD_SRCREV = "63a4bed526ac70bbc530836ef4aa711739bd0bd2"
|
||||
|
||||
BRANCH = "${MCBSP_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${MCBSP_LLD_GIT_URI};destsuffix=${MCBSP_LLD_GIT_DESTSUFFIX};protocol=${MCBSP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${MCBSP_LLD_SRCREV}"
|
||||
PV = "01.00.00.08"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${MCBSP_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append = " edma3-lld-rtos \
|
||||
"
|
||||
|
||||
export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
|
||||
XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "MCBSP LLD"
|
||||
46
recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
Normal file
46
recipes-bsp/mmcsd-lld/mmcsd-lld-rtos_git.bb
Normal file
@@ -0,0 +1,46 @@
|
||||
SUMMARY = "TI Multimedia card(MMC)/Secure Digital(SD) low level driver for RTOS "
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://MMCSD.h;beginline=1;endline=32;md5=f74069541d4d165a000a66b4043cb065"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
MMCSD_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/sd-mmc.git"
|
||||
MMCSD_LLD_GIT_PROTOCOL = "git"
|
||||
MMCSD_LLD_GIT_BRANCH = "master"
|
||||
MMCSD_LLD_GIT_DESTSUFFIX = "git/ti/drv/mmcsd"
|
||||
|
||||
# Below commit ID corresponds to "DEV.MMCSD_LLD.01.00.00.10"
|
||||
MMCSD_LLD_SRCREV = "9bb118bdc1ac46863f57a68d70f421734a4dcf25"
|
||||
|
||||
BRANCH = "${MMCSD_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${MMCSD_LLD_GIT_URI};destsuffix=${MMCSD_LLD_GIT_DESTSUFFIX};protocol=${MMCSD_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${MMCSD_LLD_SRCREV}"
|
||||
PV = "01.00.00.10"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${MMCSD_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append = " edma3-lld-rtos \
|
||||
osal-rtos \
|
||||
"
|
||||
DEPENDS_append_ti33x = " starterware-rtos \
|
||||
"
|
||||
DEPENDS_append_ti43x = " starterware-rtos \
|
||||
"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_MMCSD_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
|
||||
XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "MMCSD LLD"
|
||||
19
recipes-bsp/nwal-lld/nwal-lld-rtos_git.bb
Normal file
19
recipes-bsp/nwal-lld/nwal-lld-rtos_git.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "TI Network abstraction layer RTOS LLD library "
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
require recipes-bsp/nwal-lld/nwal-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS_append = " cppi-lld-rtos \
|
||||
pa-lld-rtos \
|
||||
pktlib-rtos \
|
||||
qmss-lld-rtos \
|
||||
sa-lld-rtos \
|
||||
"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm|k2l-evm|c667x-evm"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "NWAL LLD"
|
||||
20
recipes-bsp/osal/osal-rtos_git.bb
Normal file
20
recipes-bsp/osal/osal-rtos_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
inherit ti-pdk
|
||||
require recipes-bsp/osal/osal.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE_append = "|c66x"
|
||||
|
||||
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append_ti33x = " starterware-rtos"
|
||||
DEPENDS_append_ti43x = " starterware-rtos"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_OSAL_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "OSAL Library"
|
||||
@@ -1,7 +1,7 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=ae7b9f0410f26c80dcf790ef3f622fad"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
OSAL_GIT_URI = "git://git.ti.com/keystone-rtos/osal.git"
|
||||
@@ -9,12 +9,12 @@ OSAL_GIT_PROTOCOL = "git"
|
||||
OSAL_GIT_BRANCH = "master"
|
||||
OSAL_GIT_DESTSUFFIX = "git/ti/osal"
|
||||
|
||||
# Below commit ID corresponding to "DEV.OSAL.01.00.00.06E"
|
||||
OSAL_SRCREV = "072ab0f76fa272ace5b1756075475f848c14221a"
|
||||
# Below commit ID corresponding to "DEV.OSAL.01.00.00.09"
|
||||
OSAL_SRCREV = "0bb1151f3622fb65f41f1d3dcffcee63fe9724de"
|
||||
|
||||
BRANCH = "${OSAL_GIT_BRANCH}"
|
||||
SRC_URI = "${OSAL_GIT_URI};destsuffix=${OSAL_GIT_DESTSUFFIX};protocol=${OSAL_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${OSAL_SRCREV}"
|
||||
PV = "01.00.00.06E"
|
||||
PV = "01.00.00.09"
|
||||
INC_PR = "r0"
|
||||
|
||||
12
recipes-bsp/pa-lld/pa-lld-rtos_git.bb
Normal file
12
recipes-bsp/pa-lld/pa-lld-rtos_git.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
SUMMARY = "TI RTOS low level driver for Packet Accelerator (PA)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
require recipes-bsp/pa-lld/pa-lld.inc
|
||||
COMPATIBLE_MACHINE_append = "|c667x-evm"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS_append = " rm-lld-rtos"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "PA LLD"
|
||||
@@ -9,14 +9,14 @@ PA_LLD_GIT_PROTOCOL = "git"
|
||||
PA_LLD_GIT_BRANCH = "master"
|
||||
PA_LLD_GIT_DESTSUFFIX = "git/ti/drv/pa"
|
||||
|
||||
# Below commit ID corresponding to "DEV.PA_LLD.03.00.02.03"
|
||||
PA_LLD_SRCREV = "5fef109f4ce43c6bc45000f2e609321d262165b2"
|
||||
# Below commit ID corresponding to "DEV.PA_LLD.03.00.02.05"
|
||||
PA_LLD_SRCREV = "5f24617e71670f17ee9adf71d5b30dc8ff9e5ca3"
|
||||
|
||||
BRANCH = "${PA_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${PA_LLD_SRCREV}"
|
||||
|
||||
PV = "03.00.02.03"
|
||||
PV = "03.00.02.05"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
35
recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
Normal file
35
recipes-bsp/pcie-lld/pcie-lld-rtos_git.bb
Normal file
@@ -0,0 +1,35 @@
|
||||
SUMMARY = "TI RTOS low lever driver for Peripheral Interconnect Express (PCIE)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://pcie.h;beginline=1;endline=34;md5=c094db055596498ba803933936611eb2"
|
||||
|
||||
COMPATIBLE_MACHINE = "omap-a15|keystone|c66x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PCIE_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pcie-lld.git"
|
||||
PCIE_LLD_GIT_PROTOCOL = "git"
|
||||
PCIE_LLD_GIT_BRANCH = "master"
|
||||
PCIE_LLD_GIT_DESTSUFFIX = "git/ti/drv/pcie"
|
||||
|
||||
# Below commit ID corresponds to "DEV.PCIE_LLD.02.02.00.11"
|
||||
PCIE_LLD_SRCREV = "07ad9c62da03bb8b6aa65e2507deab92e56ef83a"
|
||||
|
||||
BRANCH = "${PCIE_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${PCIE_LLD_GIT_URI};destsuffix=${PCIE_LLD_GIT_DESTSUFFIX};protocol=${PCIE_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${PCIE_LLD_SRCREV}"
|
||||
PV = "02.02.00.11"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${PCIE_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
export PDK_PCIE_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "PCIe LLD"
|
||||
@@ -1,9 +1,10 @@
|
||||
inherit ti-pdk
|
||||
require pktlib.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
DEPENDS_append = " rm-lld-rtos \
|
||||
qmss-lld-rtos \
|
||||
cppi-lld-rtos \
|
||||
"
|
||||
COMPATIBLE_MACHINE_append = "|c66x"
|
||||
|
||||
58
recipes-bsp/pm-lld/pm-lld-rtos_git.bb
Normal file
58
recipes-bsp/pm-lld/pm-lld-rtos_git.bb
Normal file
@@ -0,0 +1,58 @@
|
||||
SUMMARY = "TI RTOS driver for Power Management module (PM)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://Power.h;beginline=1;endline=31;md5=527b91fdcd26cd19ac07a754f45dedbe"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
|
||||
PM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pm-lld.git"
|
||||
PM_LLD_GIT_PROTOCOL = "git"
|
||||
PM_LLD_GIT_BRANCH = "int_pm_am335x"
|
||||
PM_LLD_GIT_BRANCH_dra7xx-evm = "master"
|
||||
PM_LLD_GIT_BRANCH_am57xx-evm = "master"
|
||||
PM_LLD_GIT_DESTSUFFIX = "git/ti/drv/pm"
|
||||
|
||||
# Below commit ID corresponds to "DEV.PM_LLD.01.04.00.03"
|
||||
PM_LLD_SRCREV = "7a4d80a607e7ef57015fcebc5c4b6a2ff9c9d26a"
|
||||
|
||||
# Below commit ID corresponds to "REL.PDK.TDA.01.08.00.17"
|
||||
PM_LLD_SRCREV_dra7xx-evm = "0ac5d734db30c2fa1429cf17a0cecdff5421328d"
|
||||
PM_LLD_SRCREV_am57xx-evm = "0ac5d734db30c2fa1429cf17a0cecdff5421328d"
|
||||
|
||||
|
||||
BRANCH = "${PM_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${PM_LLD_GIT_URI};destsuffix=${PM_LLD_GIT_DESTSUFFIX};protocol=${PM_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${PM_LLD_SRCREV}"
|
||||
PV = "01.04.00.03"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${PM_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append = " ti-sysbios \
|
||||
osal-rtos \
|
||||
"
|
||||
DEPENDS_append_ti33x = " starterware-rtos \
|
||||
"
|
||||
DEPENDS_append_ti43x = " starterware-rtos \
|
||||
"
|
||||
export PDK_PM_ROOT_PATH = "${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
do_compile_append() {
|
||||
# Delete archive created by XDC release command since it does not contain all content
|
||||
find -name "*.tar" -exec rm -f {} \;
|
||||
|
||||
# Archive from build/ to capture ti/drv/pm/ in archive
|
||||
cd ${B}
|
||||
tar -cf pm_lld.tar --exclude='*.tar' ./*
|
||||
}
|
||||
|
||||
INSANE_SKIP_${PN} = "arch staticdev"
|
||||
@@ -3,8 +3,8 @@ DESCRIPTION = "PRU Ethernet firmware for AM57xx, AM437x, AM335x and K2G"
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
|
||||
|
||||
PV = "3.1.4"
|
||||
PR = "r2"
|
||||
PV = "5.1.4"
|
||||
PR = "r0"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
@@ -12,7 +12,7 @@ COMPATIBLE_MACHINE = "am57xx-evm|am437x-evm|am335x-evm|k2g"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRCREV = "6e1cf7bbc7e8050cb5c64a9098ed0b8a5c9de884"
|
||||
SRCREV = "b9d9e4bef2f32d4b55a63ecfec2e21f7b1eaaa34"
|
||||
BRANCH ?= "ti-linux-firmware-4.1.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
23
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
Normal file
23
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "TI RTOS low level driver library for PRUSS"
|
||||
|
||||
inherit ti-pdk
|
||||
require recipes-bsp/pruss-lld/pruss-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append = " osal-rtos"
|
||||
DEPENDS_append_ti33x = " starterware-rtos"
|
||||
DEPENDS_append_ti43x = " starterware-rtos"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_PRUSS_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${WORKDIR}/build"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "PRUSS LLD"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
@@ -4,18 +4,26 @@ DEPENDS="common-csl-ip pruss-lld osal"
|
||||
|
||||
include pruss-lld.inc
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
PR = "${INC_PR}.2"
|
||||
|
||||
S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}"
|
||||
|
||||
DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
|
||||
|
||||
do_compile () {
|
||||
# Build the tests
|
||||
oe_runmake tests
|
||||
for device in ${DEVICE_LIST}
|
||||
do
|
||||
oe_runmake tests DEVICE="$device"
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the binary
|
||||
oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
|
||||
for device in ${DEVICE_LIST}
|
||||
do
|
||||
oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://pruicss.h;beginline=1;endline=31;md5=315177aa03d58bcd124a6e799e2bd458"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|k2g-evm"
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|k2g"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PRUSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pruss-lld.git"
|
||||
@@ -9,12 +9,13 @@ PRUSS_LLD_GIT_PROTOCOL = "git"
|
||||
PRUSS_LLD_GIT_BRANCH = "master"
|
||||
PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss"
|
||||
|
||||
# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.06A"
|
||||
PRUSS_LLD_SRCREV = "b98729cc1fc26c9ac32846146892646a23c28adb"
|
||||
# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.08"
|
||||
PRUSS_LLD_SRCREV = "40d886b30f9b34bd86a76c6d7c04c37a9db7365b"
|
||||
|
||||
BRANCH = "${PRUSS_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${PRUSS_LLD_SRCREV}"
|
||||
PV = "01.00.00.06A"
|
||||
PV = "01.00.00.08"
|
||||
INC_PR = "r0"
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@ inherit ti-pdk
|
||||
|
||||
require qmss-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE_append = "|c66x"
|
||||
|
||||
DEPENDS_append = " rm-lld-rtos"
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
inherit ti-pdk
|
||||
|
||||
COMPATIBLE_MACHINE_append = "|c66x"
|
||||
|
||||
require rm-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
14
recipes-bsp/sa-lld/sa-lld-rtos_git.bb
Normal file
14
recipes-bsp/sa-lld/sa-lld-rtos_git.bb
Normal file
@@ -0,0 +1,14 @@
|
||||
SUMMARY = "TI RTOS low level driver for Security Accelerator (SA)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
require recipes-bsp/sa-lld/sa-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE_append = "|c667x-evm"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "SA LLD"
|
||||
@@ -8,14 +8,14 @@ SA_LLD_GIT_PROTOCOL = "git"
|
||||
SA_LLD_GIT_BRANCH = "master"
|
||||
SA_LLD_GIT_DESTSUFFIX = "git/ti/drv/sa"
|
||||
|
||||
# Below commit ID corresponding to "DEV.SA_LLD.03.00.00.17"
|
||||
SA_LLD_SRCREV = "5f153253b1874420b04bd8f95450a2b0c8c11335"
|
||||
# Below commit ID corresponding to "DEV.SA_LLD.03.00.00.19"
|
||||
SA_LLD_SRCREV = "885e40c384b8986fe93928fcff84c6f0db5ea843"
|
||||
|
||||
BRANCH = "${SA_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${SA_LLD_GIT_URI};destsuffix=${SA_LLD_GIT_DESTSUFFIX};protocol=${SA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${SA_LLD_SRCREV}"
|
||||
|
||||
PV = "03.00.00.17"
|
||||
PV = "03.00.00.19"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${SA_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
31
recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb
Normal file
31
recipes-bsp/serdes-diag/serdes-diag-rtos_git.bb
Normal file
@@ -0,0 +1,31 @@
|
||||
SUMMARY = "TI RTOS library for SERDES diagnostics"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://serdes_diag.h;beginline=1;endline=42;;md5=68e7ce6fdc0e9328fa7d0ec41c54420c"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone|c66x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SERDES_DIAG_GIT_URI = "git://git.ti.com/keystone-rtos/serdes_diag.git"
|
||||
SERDES_DIAG_GIT_PROTOCOL = "git"
|
||||
SERDES_DIAG_GIT_BRANCH = "master"
|
||||
SERDES_DIAG_GIT_DESTSUFFIX = "git/ti/diag/serdes_diag"
|
||||
|
||||
# Below commit ID corresponds to "DEV.DIAG_SERDES_SB.01.00.00.09"
|
||||
SERDES_DIAG_SRCREV = "22c47cc6e1784a3d2813424da5b469e4168659a6"
|
||||
|
||||
BRANCH = "${SERDES_DIAG_GIT_BRANCH}"
|
||||
SRC_URI = "${SERDES_DIAG_GIT_URI};destsuffix=${SERDES_DIAG_GIT_DESTSUFFIX};protocol=${SERDES_DIAG_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${SERDES_DIAG_SRCREV}"
|
||||
PV = "01.00.00.09"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${SERDES_DIAG_GIT_DESTSUFFIX}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "SERDES Diagnostics"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
41
recipes-bsp/spi-lld/spi-lld-rtos_git.bb
Normal file
41
recipes-bsp/spi-lld/spi-lld-rtos_git.bb
Normal file
@@ -0,0 +1,41 @@
|
||||
SUMMARY = "TI RTOS low level driver for Serial Peripheral Interface (SPI)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://SPI.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/spi-lld.git"
|
||||
SPI_LLD_GIT_PROTOCOL = "git"
|
||||
SPI_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.SPI_LLD.01.00.00.09"
|
||||
SPI_LLD_SRCREV = "85ae103a18df777512a8485a4ed7f84189ee0ff6"
|
||||
|
||||
BRANCH = "${SPI_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${SPI_LLD_GIT_URI};protocol=${SPI_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${SPI_LLD_SRCREV}"
|
||||
PV = "01.00.00.09"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " osal-rtos \
|
||||
edma3-lld-rtos \
|
||||
"
|
||||
DEPENDS_append_ti33x = " starterware-rtos"
|
||||
DEPENDS_append_ti43x = " starterware-rtos"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_SPI_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
|
||||
XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "SPI LLD"
|
||||
17
recipes-bsp/srio-lld/srio-lld-rtos_git.bb
Normal file
17
recipes-bsp/srio-lld/srio-lld-rtos_git.bb
Normal file
@@ -0,0 +1,17 @@
|
||||
SUMMARY = "TI RTOS low level driver for Serial Rapid IO (SRIO)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
require recipes-bsp/srio-lld/srio-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS_append = " cppi-lld-rtos \
|
||||
qmss-lld-rtos \
|
||||
"
|
||||
COMPATIBLE_MACHINE_append = "|c66x"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "SRIO LLD"
|
||||
@@ -20,6 +20,9 @@ INITSCRIPT_PARAMS = "defaults 10"
|
||||
|
||||
inherit update-rc.d
|
||||
LDFLAGS += "-lrt"
|
||||
CFLAGS += "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
|
||||
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}/
|
||||
|
||||
30
recipes-bsp/starterware/starterware-rtos_git.bb
Normal file
30
recipes-bsp/starterware/starterware-rtos_git.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
require starterware.inc
|
||||
|
||||
DEPENDS = "gcc-arm-none-eabi-native"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
PARTNO_ti33x = "am335x"
|
||||
PARTNO_ti43x = "am437x"
|
||||
|
||||
export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
|
||||
do_compile() {
|
||||
cd build
|
||||
./release_${PARTNO}.sh
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
|
||||
find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \;
|
||||
}
|
||||
|
||||
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
INSANE_SKIP_${PN} = "arch staticdev"
|
||||
21
recipes-bsp/starterware/starterware.inc
Normal file
21
recipes-bsp/starterware/starterware.inc
Normal file
@@ -0,0 +1,21 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
|
||||
STARTERWARE_GIT_PROTOCOL = "git"
|
||||
STARTERWARE_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.05"
|
||||
STARTERWARE_SRCREV = "58526af258ef9a10a9eec32d2a6e3a1c9e6f9e88"
|
||||
|
||||
BRANCH = "${STARTERWARE_GIT_BRANCH}"
|
||||
SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${STARTERWARE_SRCREV}"
|
||||
PV = "02.01.01.05"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
16
recipes-bsp/starterware/starterware_git.bb
Normal file
16
recipes-bsp/starterware/starterware_git.bb
Normal file
@@ -0,0 +1,16 @@
|
||||
require starterware.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${includedir}/ti/starterware
|
||||
find . -name "*.h" -type f | xargs -I {} cp --parents --no-preserve=ownership {} ${D}${includedir}/ti/starterware
|
||||
}
|
||||
34
recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
Normal file
34
recipes-bsp/tcp3d-lld/tcp3d-lld-rtos_git.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "TI third generation Turbo Coprocessor (TCP3) low level driver"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://tcp3dver.h;beginline=1;endline=47;md5=3fe46c6320fb9ca4ac6692961402beb7"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk|k2l-evm|c66x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TCP3D_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/tcp3d-lld.git"
|
||||
TCP3D_LLD_GIT_PROTOCOL = "git"
|
||||
TCP3D_LLD_GIT_BRANCH = "master"
|
||||
TCP3D_LLD_GIT_DESTSUFFIX = "git/ti/drv/bcp"
|
||||
|
||||
# Below commit ID corresponds to "DEV.TCP3D_LLD.02.01.00.05"
|
||||
TCP3D_LLD_SRCREV = "8eb2edfc694982633e0dd01ba7b067ac9f634da9"
|
||||
|
||||
BRANCH = "${TCP3D_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${TCP3D_LLD_GIT_URI};destsuffix=${TCP3D_LLD_GIT_DESTSUFFIX};protocol=${TCP3D_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${TCP3D_LLD_SRCREV}"
|
||||
PV = "02.01.00.05"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${TCP3D_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append = " edma3-lld-rtos"
|
||||
|
||||
export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
|
||||
XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "TCP3D LLD"
|
||||
@@ -2,9 +2,12 @@ inherit ti-pdk
|
||||
|
||||
require traceframework.inc
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
PR = "${INC_PR}.2"
|
||||
|
||||
DEPENDS_append = " uia \
|
||||
"
|
||||
|
||||
XDCPATH_append = ";${UIA_INSTALL_DIR}/packages"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "Trace Framework"
|
||||
|
||||
21
recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
Normal file
21
recipes-bsp/transport-rtos/bmet-eth-rtos_git.bb
Normal file
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "RTOS driver for BMET Ethernet"
|
||||
|
||||
inherit ti-pdk
|
||||
require transport.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://bmet_transport.h;beginline=12;endline=40;md5=7c7fbe6af03d79b61025a67a8fc96f93"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm|k2l-evm"
|
||||
|
||||
DEPENDS_append = " qmss-lld-rtos \
|
||||
cppi-lld-rtos \
|
||||
"
|
||||
|
||||
BMET_ETH_DESTSUFFIX = "git/bmet_eth"
|
||||
|
||||
S = "${WORKDIR}/${BMET_ETH_DESTSUFFIX}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "Baremetal Ethernet Transport"
|
||||
31
recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
Normal file
31
recipes-bsp/transport-rtos/nimu-icss-rtos_git.bb
Normal file
@@ -0,0 +1,31 @@
|
||||
SUMMARY = "RTOS driver for NIMU ICSS"
|
||||
|
||||
inherit ti-pdk
|
||||
require transport.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://nimu_icssEth.h;beginline=1;endline=35;md5=fd897e67955a19ba88443d4bc2e7e18a"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|c66x|omapl1"
|
||||
|
||||
DEPENDS_append = " ti-ndk \
|
||||
pruss-lld-rtos \
|
||||
icss-emac-lld-rtos \
|
||||
"
|
||||
DEPENDS_append_c665x-evm = " emac-lld-rtos"
|
||||
DEPENDS_append_c667x-evm = " pa-lld-rtos"
|
||||
DEPENDS_append_omapl1 = " emac-lld-rtos"
|
||||
|
||||
NIMU_ICSS_DESTSUFFIX = "git/ndk/nimu_icss"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
S = "${WORKDIR}/${NIMU_ICSS_DESTSUFFIX}"
|
||||
|
||||
export PDK_NIMU_ICSS_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
|
||||
XDCPATH_append = ";${NDK_INSTALL_DIR}/packages"
|
||||
37
recipes-bsp/transport-rtos/nimu-rtos_git.bb
Normal file
37
recipes-bsp/transport-rtos/nimu-rtos_git.bb
Normal file
@@ -0,0 +1,37 @@
|
||||
SUMMARY = "RTOS driver for Network Interface Management Unit (NIMU)"
|
||||
|
||||
inherit ti-pdk
|
||||
require transport.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://nimu_eth.h;beginline=1;endline=35;md5=52ba99291b03b91058e37115b66edb10"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x|omapl1"
|
||||
|
||||
NIMU_DESTSUFFIX = "git/ndk/nimu"
|
||||
|
||||
S = "${WORKDIR}/${NIMU_DESTSUFFIX}"
|
||||
|
||||
DEPENDS_append = " ti-ndk osal-rtos"
|
||||
DEPENDS_append_ti33x = " starterware-rtos emac-lld-rtos"
|
||||
DEPENDS_append_ti43x = " starterware-rtos emac-lld-rtos"
|
||||
DEPENDS_append_omap-a15 = " emac-lld-rtos"
|
||||
DEPENDS_append_keystone = " qmss-lld-rtos cppi-lld-rtos"
|
||||
DEPENDS_append_k2hk-evm = " pa-lld-rtos"
|
||||
DEPENDS_append_k2e-evm = " pa-lld-rtos"
|
||||
DEPENDS_append_k2l-evm = " pa-lld-rtos"
|
||||
DEPENDS_append_k2g = " emac-lld-rtos"
|
||||
DEPENDS_append_c665x-evm = " emac-lld-rtos"
|
||||
DEPENDS_append_c667x-evm = " pa-lld-rtos"
|
||||
DEPENDS_append_omapl1 = " emac-lld-rtos"
|
||||
DEPENDS_append_dra7xx-evm = " emac-lld-rtos"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_NIMU_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
export NDK_INSTALL_PATH = "${NDK_INSTALL_DIR}"
|
||||
XDCPATH_append = ";${NDK_INSTALL_DIR}/packages"
|
||||
17
recipes-bsp/transport-rtos/transport.inc
Normal file
17
recipes-bsp/transport-rtos/transport.inc
Normal file
@@ -0,0 +1,17 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TRANSPORT_GIT_URI = "git://git.ti.com/keystone-rtos/transport.git"
|
||||
TRANSPORT_GIT_PROTOCOL = "git"
|
||||
TRANSPORT_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.TRANSPORT.01.00.00.09"
|
||||
TRANSPORT_SRCREV = "7b69e1d6d189c579e2a27b955891f9f268fd0e98"
|
||||
|
||||
BRANCH = "${TRANSPORT_GIT_BRANCH}"
|
||||
SRC_URI = "${TRANSPORT_GIT_URI};protocol=${TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${TRANSPORT_SRCREV}"
|
||||
PV = "01.00.00.09"
|
||||
INC_PR = "r0"
|
||||
26
recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
Normal file
26
recipes-bsp/tsip-lld/tsip-lld-rtos_git.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
SUMMARY = "TI RTOS low level driver for Telecom Serial Interface Port (TSIP)"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://tsip.h;beginline=1;endline=32;md5=dab2257b0b8a3678c26915f6eb49b71e"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2e-evm|c667x-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TSIP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/tsip-lld.git"
|
||||
TSIP_LLD_GIT_PROTOCOL = "git"
|
||||
TSIP_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.TSIP_LLD.01.00.00.07A"
|
||||
TSIP_LLD_SRCREV = "211d2f1a5c3c7ec80349a18e6e6cae6c9e4df921"
|
||||
|
||||
BRANCH = "${TSIP_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${TSIP_LLD_GIT_URI};protocol=${TSIP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${TSIP_LLD_SRCREV}"
|
||||
PV = "01.00.00.07"
|
||||
PR = "r0"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "TSIP LLD"
|
||||
@@ -1,7 +1,7 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
PR = "r7"
|
||||
PR = "r21"
|
||||
|
||||
BRANCH = "ti-u-boot-2017.01"
|
||||
|
||||
SRCREV = "5861b3bd349184df97ea26a93fc9b06c65e0ff5e"
|
||||
SRCREV = "c68ed086bd00054e28c46e033385f79104c3f84c"
|
||||
|
||||
42
recipes-bsp/uart-lld/uart-lld-rtos_git.bb
Normal file
42
recipes-bsp/uart-lld/uart-lld-rtos_git.bb
Normal file
@@ -0,0 +1,42 @@
|
||||
SUMMARY = "TI RTOS low level driver for UART"
|
||||
DESCRIPTION = "TI RTOS low level driver for Universal Asynchronous Receiver/Transmitter (UART) module "
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://UART.h;beginline=1;endline=31;md5=8580f9c5c0de8d5d13518cf18a0122b8"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1|c66x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
UART_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/uart-lld.git"
|
||||
UART_LLD_GIT_PROTOCOL = "git"
|
||||
UART_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.UART_LLD.01.00.00.09"
|
||||
UART_LLD_SRCREV = "f3670e497186b5ec5258d0e51fb1ebdaa3d60577"
|
||||
|
||||
BRANCH = "${UART_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${UART_LLD_GIT_URI};protocol=${UART_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${UART_LLD_SRCREV}"
|
||||
PV = "01.00.00.09"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " edma3-lld-rtos \
|
||||
osal-rtos \
|
||||
"
|
||||
DEPENDS_append_ti33x = " starterware-rtos"
|
||||
DEPENDS_append_ti43x = " starterware-rtos"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_UART_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
|
||||
XDCPATH_append = ";${EDMA3_LLD_INSTALL_DIR}/packages"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "UART LLD"
|
||||
@@ -2,13 +2,16 @@ DESCRIPTION = "Test code for user space IO (UIO) driver"
|
||||
|
||||
include uio-module-drv.inc
|
||||
|
||||
PR = "r2"
|
||||
PR = "r1"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone|omap-a15"
|
||||
COMPATIBLE_MACHINE = "keystone|omap-a15|ti33x|ti43x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEVICE_NAME_omap-a15 = "am57xx"
|
||||
DEVICE_NAME_ti33x = "am33xx"
|
||||
DEVICE_NAME_ti43x = "am43xx"
|
||||
DEVICE_NAME_keystone = "keystone"
|
||||
DEVICE_NAME_k2g = "k2g"
|
||||
RDEPENDS_${PN} = "uio-module-drv"
|
||||
|
||||
do_compile() {
|
||||
@@ -25,6 +28,18 @@ do_install_append_keystone () {
|
||||
install -c -m 755 ${S}/test/uio_cic2_int_multithread_test ${D}${bindir}/.
|
||||
}
|
||||
|
||||
do_install_append_k2g () {
|
||||
install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
|
||||
}
|
||||
|
||||
do_install_append_omap-a15 () {
|
||||
install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
|
||||
}
|
||||
|
||||
do_install_append_ti33x () {
|
||||
install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
|
||||
}
|
||||
|
||||
do_install_append_ti43x () {
|
||||
install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/.
|
||||
}
|
||||
|
||||
@@ -2,11 +2,15 @@ LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2b7c96eb2aed7b0f6f922214dbde9016"
|
||||
|
||||
BRANCH = "master"
|
||||
# This corresponds to version 02.01.00.00
|
||||
SRCREV = "19761495883bf8fb2670b0929d255135bd295dcb"
|
||||
# This corresponds to version 02.02.01.00
|
||||
UIO_MODULE_DRV_SRCREV = "bda9260f2220840a60ec0fbc8011cbadf3cf1b91"
|
||||
|
||||
PV = "2.1.0.0+git${SRCPV}"
|
||||
PV = "2.2.1.0+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/uio-module-drv.git;protocol=git;branch=${BRANCH}"
|
||||
UIO_MODULE_DRV_GIT_URI = "git://git.ti.com/keystone-linux/uio-module-drv.git"
|
||||
UIO_MODULE_DRV_GIT_PROTOCOL = "git"
|
||||
SRC_URI = "${UIO_MODULE_DRV_GIT_URI};protocol=${UIO_MODULE_DRV_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${UIO_MODULE_DRV_SRCREV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
36
recipes-bsp/usb-lld/usb-lld-rtos_git.bb
Normal file
36
recipes-bsp/usb-lld/usb-lld-rtos_git.bb
Normal file
@@ -0,0 +1,36 @@
|
||||
SUMMARY = "TI RTOS USB low level driver"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://USBver.h;beginline=16;endline=46;md5=5394fa32763383d2c8e2aca5a1c67805"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
USB_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/usb.git"
|
||||
USB_LLD_GIT_PROTOCOL = "git"
|
||||
USB_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.USB_LLD.01.00.00.12B"
|
||||
USB_LLD_SRCREV = "c055edbc2e6bf6aad95aa6e83e46a9ff03ee026b"
|
||||
|
||||
BRANCH = "${USB_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${USB_LLD_GIT_URI};protocol=${USB_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${USB_LLD_SRCREV}"
|
||||
PV = "01.00.00.12B"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " osal-rtos"
|
||||
DEPENDS_append_ti33x = " starterware-rtos"
|
||||
DEPENDS_append_ti43x = " starterware-rtos"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_USB_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "USB LLD"
|
||||
34
recipes-bsp/utils-rtos/profiling-rtos_git.bb
Normal file
34
recipes-bsp/utils-rtos/profiling-rtos_git.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "TI RTOS profiling utilities"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://profilingver.h;beginline=1;endline=46;md5=974494ad60f33cfc0340e421c5a5a7a0"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|c66x"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PROFILING_GIT_URI = "git://git.ti.com/keystone-rtos/utils.git"
|
||||
PROFILING_GIT_PROTOCOL = "git"
|
||||
PROFILING_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.UTILS.01.00.00.05"
|
||||
PROFILING_SRCREV = "a9ceef7bb6b75b590e1a13573179c7d8dfb9049c"
|
||||
|
||||
BRANCH = "${PROFILING_GIT_BRANCH}"
|
||||
SRC_URI = "${PROFILING_GIT_URI};protocol=${PROFILING_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${PROFILING_SRCREV}"
|
||||
PV = "01.00.00.05"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git/profiling"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
export PDK_PROFILING_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "Profiling Utility Library"
|
||||
51
recipes-bsp/vps-lld/vps-lld-rtos_git.bb
Normal file
51
recipes-bsp/vps-lld/vps-lld-rtos_git.bb
Normal file
@@ -0,0 +1,51 @@
|
||||
SUMMARY = "TI RTOS Low level driver for Video Processing Subsystem (VPS) "
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=32;md5=4303d306ea53eb66132983d6901c137d"
|
||||
|
||||
COMPATIBLE_MACHINE = "omap-a15"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
VPS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/vps.git"
|
||||
VPS_LLD_GIT_PROTOCOL = "git"
|
||||
VPS_LLD_GIT_BRANCH = "master"
|
||||
VPS_LLD_GIT_DESTSUFFIX = "git/ti/drv/vps"
|
||||
|
||||
# Below commit ID corresponds to "DEV.VPS_LLD.01.00.01.06B"
|
||||
VPS_LLD_SRCREV = "58729317b65bdb24d4343cbb1f7f6cb90ca2faf0"
|
||||
|
||||
BRANCH = "${VPS_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${VPS_LLD_GIT_URI};destsuffix=${VPS_LLD_GIT_DESTSUFFIX};protocol=${VPS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${VPS_LLD_SRCREV}"
|
||||
PV = "01.00.01.06B"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${VPS_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS = " ti-sysbios \
|
||||
osal-rtos \
|
||||
edma3-lld-rtos \
|
||||
board-rtos \
|
||||
uart-lld-rtos \
|
||||
i2c-lld-rtos \
|
||||
pm-lld-rtos \
|
||||
"
|
||||
export PDK_VPS_COMP_PATH = "${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
do_compile_append() {
|
||||
# Delete archive created by XDC release command since it does not contain all content
|
||||
find -name "*.tar" -exec rm -f {} \;
|
||||
|
||||
# Archive from build/ to capture ti/drv/pm/ in archive
|
||||
cd ${B}
|
||||
tar -cf pm_lld.tar --exclude='*.tar' ./*
|
||||
}
|
||||
|
||||
INSANE_SKIP_${PN} = "arch ldflags"
|
||||
29
recipes-bsp/wdtimer/wdtimer-rtos_git.bb
Normal file
29
recipes-bsp/wdtimer/wdtimer-rtos_git.bb
Normal file
@@ -0,0 +1,29 @@
|
||||
SUMMARY = "Watchdog Timer (wdtimer) test example"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://WatchdogTimer.xdc;beginline=1;endline=31;md5=837fb1761f89c7671e79bd5992bcf9e4"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm|k2l-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
WATCHDOG_TIMER_GIT_URI = "git://git.ti.com/keystone-rtos/wdtimer.git"
|
||||
WATCHDOG_TIMER_GIT_PROTOCOL = "git"
|
||||
WATCHDOG_TIMER_GIT_BRANCH = "master"
|
||||
WATCHDOG_TIMER_GIT_DESTSUFFIX = "git/ti/instrumentation/wdtimer"
|
||||
|
||||
# Below commit ID corresponds to "DEV.WDTIMER.01.00.00.03"
|
||||
WATCHDOG_TIMER_SRCREV = "db973cf8d71460537e2738af0ff094becc7ac454"
|
||||
|
||||
BRANCH = "${WATCHDOG_TIMER_GIT_BRANCH}"
|
||||
SRC_URI = "${WATCHDOG_TIMER_GIT_URI};destsuffix=${WATCHDOG_TIMER_GIT_DESTSUFFIX};protocol=${WATCHDOG_TIMER_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${WATCHDOG_TIMER_SRCREV}"
|
||||
PV = "01.00.00.03"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git/ti/instrumentation/wdtimer"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "Watchdog Timer"
|
||||
@@ -7,8 +7,8 @@ SRC_URI = " \
|
||||
file://0001-Add-Makefile-to-install-firmware-files.patch \
|
||||
"
|
||||
|
||||
# Tag: R8.7-SP1 (8.7.1)
|
||||
SRCREV = "fe3909e93d15a4b17e43699dde2bba0e9a3c0abc"
|
||||
# Tag: R8.7-SP3 (8.7.3)
|
||||
SRCREV = "f659be25473e4bde8dc790bff703ecacde6e21da"
|
||||
BRANCH = "master"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
|
||||
DEPENDS = "libnl"
|
||||
RDEPENDS_${PN} = "wl18xx-fw"
|
||||
|
||||
#Tag: R8.7_SP1 (8.7.1)
|
||||
SRCREV = "39542357111d1f24e866c2857d561a348c04cce4"
|
||||
#Tag: R8.7_SP3 (8.7.3)
|
||||
SRCREV = "5048b59a444ac59ba7171d6e122d5a84581aebf2"
|
||||
SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -2,7 +2,7 @@ DESCRIPTION = "Scripts and configuration files for TI wireless drivers"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=b8d6a0865f50159bf5c0d175d1f4a705"
|
||||
|
||||
# Tag: R8.7_SP1 (8.7.1)
|
||||
# Tag: R8.7_SP3 (8.7.3)
|
||||
SRCREV = "a07b6e711d2a70608101d3d6cdc5749c4d8a96d5"
|
||||
BRANCH = "sitara-scripts"
|
||||
SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx-target-scripts.git;protocol=git;branch=${BRANCH}"
|
||||
@@ -1,39 +0,0 @@
|
||||
DESCRIPTION = "Configuration utility for TI wireless drivers"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=adc05a1903d3f107f85c90328e3a9438"
|
||||
|
||||
# Tag: R8.7_SP1 (8.7.1) +fix
|
||||
SRCREV = "ee653d2845b0029c14f49ca83a2f6c02037ec239"
|
||||
SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git"
|
||||
|
||||
S = "${WORKDIR}/git/wlconf"
|
||||
|
||||
EXTRA_OEMAKE = "CC="${CC}""
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -d ${D}${bindir}/wlconf/
|
||||
install -d ${D}${bindir}/wlconf/official_inis
|
||||
install -d ${D}/lib/firmware/ti-connectivity
|
||||
|
||||
install -m 0755 wlconf ${D}${bindir}/wlconf/
|
||||
install -m 0755 dictionary.txt ${D}${bindir}/wlconf/
|
||||
install -m 0755 struct.bin ${D}${bindir}/wlconf/
|
||||
install -m 0755 default.conf ${D}${bindir}/wlconf/
|
||||
install -m 0755 wl18xx-conf-default.bin ${D}${bindir}/wlconf/
|
||||
install -m 0755 wl18xx-conf-default.bin ${D}/lib/firmware/ti-connectivity/wl18xx-conf.bin
|
||||
install -m 0755 README ${D}${bindir}/wlconf/
|
||||
install -m 0755 example.conf ${D}${bindir}/wlconf/
|
||||
install -m 0755 example.ini ${D}${bindir}/wlconf/
|
||||
install -m 0755 configure-device.sh ${D}${bindir}/wlconf/
|
||||
install -m 0755 ${S}/official_inis/* \
|
||||
${D}${bindir}/wlconf/official_inis/
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
${bindir}/wlconf \
|
||||
${bindir}/wlconf/official_inis \
|
||||
/lib/firmware/ti-connectivity/wl18xx-conf.bin \
|
||||
"
|
||||
|
||||
FILES_${PN}-dbg += "${bindir}/wlconf/.debug"
|
||||
39
recipes-connectivity/wlconf/wlconf_8.7.3.bb
Normal file
39
recipes-connectivity/wlconf/wlconf_8.7.3.bb
Normal file
@@ -0,0 +1,39 @@
|
||||
DESCRIPTION = "Configuration utility for TI wireless drivers"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=adc05a1903d3f107f85c90328e3a9438"
|
||||
|
||||
# Tag: R8.7_SP3 (8.7.3)
|
||||
SRCREV = "5048b59a444ac59ba7171d6e122d5a84581aebf2"
|
||||
SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git"
|
||||
|
||||
S = "${WORKDIR}/git/wlconf"
|
||||
|
||||
EXTRA_OEMAKE = "CC="${CC}""
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sbindir}
|
||||
install -d ${D}${sbindir}/wlconf/
|
||||
install -d ${D}${sbindir}/wlconf/official_inis
|
||||
install -d ${D}/lib/firmware/ti-connectivity
|
||||
|
||||
install -m 0755 wlconf ${D}${sbindir}/wlconf/
|
||||
install -m 0755 dictionary.txt ${D}${sbindir}/wlconf/
|
||||
install -m 0755 struct.bin ${D}${sbindir}/wlconf/
|
||||
install -m 0755 default.conf ${D}${sbindir}/wlconf/
|
||||
install -m 0755 wl18xx-conf-default.bin ${D}${sbindir}/wlconf/
|
||||
install -m 0755 wl18xx-conf-default.bin ${D}/lib/firmware/ti-connectivity/wl18xx-conf.bin
|
||||
install -m 0755 README ${D}${sbindir}/wlconf/
|
||||
install -m 0755 example.conf ${D}${sbindir}/wlconf/
|
||||
install -m 0755 example.ini ${D}${sbindir}/wlconf/
|
||||
install -m 0755 configure-device.sh ${D}${sbindir}/wlconf/
|
||||
install -m 0755 ${S}/official_inis/* \
|
||||
${D}${sbindir}/wlconf/official_inis/
|
||||
}
|
||||
|
||||
FILES_${PN} += " \
|
||||
${sbindir}/wlconf \
|
||||
${sbindir}/wlconf/official_inis \
|
||||
/lib/firmware/ti-connectivity/wl18xx-conf.bin \
|
||||
"
|
||||
|
||||
FILES_${PN}-dbg += "${sbindir}/wlconf/.debug"
|
||||
@@ -2,7 +2,7 @@ DESCRIPTION = "TI gdb-server to be used with c6xgdb."
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495"
|
||||
|
||||
DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools"
|
||||
DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools-native"
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
DESCRIPTION = "Userspace libraries for GC320 chipset on TI SoCs"
|
||||
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://Manifest.html;md5=4d759c4e533af6aaeff2af7f405697c2"
|
||||
LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
@@ -10,7 +10,7 @@ CLEANBROKEN = "1"
|
||||
BRANCH = "ti-${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}"
|
||||
SRCREV = "ab0ca5bff345f6c13807fea3c4acabf5f2b9b10a"
|
||||
SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5"
|
||||
|
||||
# There's only hardfp version available
|
||||
python __anonymous() {
|
||||
@@ -26,7 +26,7 @@ python __anonymous() {
|
||||
|
||||
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
BRANCH = "ti-img-sgx/${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
|
||||
SRCREV = "615bae16bff8ec7ea5976e12062fe9844a876590"
|
||||
SRCREV = "bbbd5cbb55e4c54d3b02456ae553bea86fd61506"
|
||||
|
||||
# There's only hardfp version available
|
||||
python __anonymous() {
|
||||
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
PR = "r25"
|
||||
PR = "r28"
|
||||
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
|
||||
|
||||
DEPENDS += "libdrm udev libgbm wayland libffi"
|
||||
@@ -49,12 +49,17 @@ RCONFLICTS_${PN} = "libegl libgles1 libgles2 omap5-sgx-ddk-um-linux"
|
||||
RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev omap5-sgx-ddk-um-linux-dev"
|
||||
RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg omap5-sgx-ddk-um-linux-dbg"
|
||||
|
||||
# The actual SONAME is libGLESv2.so.2, so need to explicitly specify RPROVIDES for .so.1 here
|
||||
RPROVIDES_${PN} += "libGLESv2.so.1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install () {
|
||||
oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT}
|
||||
mkdir -p ${D}${libdir}/gbm
|
||||
ln -sf ../libpvrGBMWSEGL.so.${PV} ${D}${libdir}/gbm/gbm_pvr.so
|
||||
ln -sf libGLESv2.so.${PV} ${D}${libdir}/libGLESv2.so.1
|
||||
chown -R root:root ${D}
|
||||
}
|
||||
|
||||
FILES_${PN} = "${bindir}/*"
|
||||
@@ -63,7 +68,7 @@ FILES_${PN} += "${includedir}/*"
|
||||
FILES_${PN} += "${sysconfdir}/*"
|
||||
|
||||
PACKAGES =+ "${PN}-plugins"
|
||||
FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
|
||||
FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libGLES_CM.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
|
||||
RDEPENDS_${PN} += "${PN}-plugins"
|
||||
|
||||
ALLOW_EMPTY_${PN}-plugins = "1"
|
||||
|
||||
@@ -37,6 +37,7 @@ TARGETS = " \
|
||||
nsfs \
|
||||
${@bb.utils.contains_any("TARGET_ARCH", [ "powerpc", "powerpc64" ], "powerpc", "", d)} \
|
||||
pstore \
|
||||
ptp \
|
||||
ptrace \
|
||||
seccomp \
|
||||
sigaltstack \
|
||||
@@ -97,6 +98,7 @@ PACKAGE_BEFORE_PN = " \
|
||||
${PN}-nsfs \
|
||||
${PN}-powerpc \
|
||||
${PN}-pstore \
|
||||
${PN}-ptp \
|
||||
${PN}-ptrace \
|
||||
${PN}-seccomp \
|
||||
${PN}-sigaltstack \
|
||||
@@ -130,6 +132,7 @@ FILES_${PN}-net = "${bindir}/kselftests/net"
|
||||
FILES_${PN}-nsfs = "${bindir}/kselftests/nsfs"
|
||||
FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc"
|
||||
FILES_${PN}-pstore = "${bindir}/kselftests/pstore"
|
||||
FILES_${PN}-ptp = "${bindir}/kselftests/ptp"
|
||||
FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace"
|
||||
FILES_${PN}-seccomp = "${bindir}/kselftests/seccomp"
|
||||
FILES_${PN}-sigaltstack = "${bindir}/kselftests/sigaltstack"
|
||||
@@ -168,6 +171,7 @@ RDEPENDS_${PN} += "bash \
|
||||
${PN}-net \
|
||||
${PN}-nsfs \
|
||||
${PN}-pstore \
|
||||
${PN}-ptp \
|
||||
${PN}-ptrace \
|
||||
${PN}-seccomp \
|
||||
${PN}-sigaltstack \
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Use these for temporary overrides
|
||||
CMEM_MACHINE = "${MACHINE}"
|
||||
CMEM_MACHINE_am57xx-evm = "am571x am572x"
|
||||
CMEM_MACHINE_am57xx-evm = "am571x am572x am574x"
|
||||
CMEM_MACHINE_am57xx-hs-evm = "am571x am572x"
|
||||
CMEM_MACHINE_dra7xx-evm = "dra71x dra72x dra74x"
|
||||
CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x"
|
||||
@@ -20,6 +20,7 @@ CMEM_DEVICETREE_am572x = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb \
|
||||
am57xx-evm.dtb am57xx-evm-cam-mt9t111.dtb am57xx-evm-cam-ov10635.dtb \
|
||||
am57xx-evm-reva3.dtb am57xx-evm-reva3-cam-mt9t111.dtb am57xx-evm-reva3-cam-ov10635.dtb \
|
||||
am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb"
|
||||
CMEM_DEVICETREE_am574x = "am574x-idk.dtb am574x-idk-lcd-osd101t2587.dtb"
|
||||
CMEM_DEVICETREE_dra71x = "dra71-evm.dtb dra71-evm-lcd-auo-g101evn01.0.dtb"
|
||||
CMEM_DEVICETREE_dra72x = "dra72-evm.dtb dra72-evm-lcd-lg.dtb dra72-evm-lcd-osd101t2045.dtb dra72-evm-lcd-osd101t2587.dtb \
|
||||
dra72-evm-revc.dtb dra72-evm-revc-lcd-osd101t2045.dtb dra72-evm-revc-lcd-osd101t2587.dtb"
|
||||
|
||||
284
recipes-kernel/linux/files/dra7xx/am571x-pru-uio.dtsi
Normal file
284
recipes-kernel/linux/files/dra7xx/am571x-pru-uio.dtsi
Normal file
@@ -0,0 +1,284 @@
|
||||
&pruss_soc_bus1 {
|
||||
uio_pruss1_mdio {
|
||||
status = "okay";
|
||||
|
||||
compatible = "ti,davinci_mdio";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&dpll_gmac_h13x2_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
reg = <0x4b232400 0x90>;
|
||||
|
||||
reset-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>;
|
||||
reset-delay-us = <2>; /* PHY datasheet states 1uS min */
|
||||
uio_pruss1_eth0_phy: uio_ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
uio_pruss1_eth1_phy: uio_ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
uio_pruss1_mem: uio_pruss1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b200000 0x2000>,
|
||||
<0x4b202000 0x2000>,
|
||||
<0x4b210000 0x8000>,
|
||||
<0x4b220000 0x5404>,
|
||||
<0x4b226000 0x474>,
|
||||
<0x4b22e000 0xc04>,
|
||||
<0x4b232000 0x154>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_mem2: uio_pruss1_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b228000 0xd4>,
|
||||
<0x4b230000 0x174>,
|
||||
<0x4b232400 0x234>,
|
||||
<0x40300000 0x40000>;
|
||||
mem-names = "uart", "ecap", "mdio", "ocmc";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt0: uio_pruss1_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt1: uio_pruss1_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt2: uio_pruss1_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt3: uio_pruss1_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt4: uio_pruss1_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt5: uio_pruss1_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt6: uio_pruss1_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt7: uio_pruss1_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_0_mem: uio_pruss1_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b234000 0x3000>,
|
||||
<0x4b222000 0xb4>,
|
||||
<0x4b222400 0x3f4>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_1_mem: uio_pruss1_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b238000 0x3000>,
|
||||
<0x4b224000 0xb4>,
|
||||
<0x4b224400 0x3f4>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&pruss_soc_bus2 {
|
||||
uio_pruss2_mdio {
|
||||
compatible = "ti,davinci_mdio";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&dpll_gmac_h13x2_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
reg = <0x4b2b2400 0x90>;
|
||||
status = "okay";
|
||||
|
||||
reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
|
||||
reset-delay-us = <2>; /* PHY datasheet states 1uS min */
|
||||
|
||||
uio_pruss2_eth0_phy: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
uio_pruss2_eth1_phy: ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
uio_pruss2_mem: uio_pruss2_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b280000 0x2000>,
|
||||
<0x4b282000 0x2000>,
|
||||
<0x4b290000 0x8000>,
|
||||
<0x4b2a0000 0x5404>,
|
||||
<0x4b2a6000 0x474>,
|
||||
<0x4b2ae000 0xc04>,
|
||||
<0x4b2b2000 0x154>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_mem2: uio_pruss2_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2a8000 0xd4>,
|
||||
<0x4b2b0000 0x174>,
|
||||
<0x4b2b2400 0x234>,
|
||||
<0x40340000 0x40000>;
|
||||
mem-names = "uart", "ecap", "mdio", "ocmc";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt0: uio_pruss2_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt1: uio_pruss2_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt2: uio_pruss2_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt3: uio_pruss2_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt4: uio_pruss2_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt5: uio_pruss2_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt6: uio_pruss2_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt7: uio_pruss2_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss2_0_mem: uio_pruss2_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2b4000 0x3000>,
|
||||
<0x4b2a2000 0xb4>,
|
||||
<0x4b2a2400 0x3f4>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_1_mem: uio_pruss2_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2b8000 0x3000>,
|
||||
<0x4b2a4000 0xb4>,
|
||||
<0x4b2a4400 0x3f4>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&pruss1_eth {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_emac0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_emac1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_emac0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_emac1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_intc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_mdio {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru2_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru2_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_intc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_mdio {
|
||||
status = "disabled";
|
||||
};
|
||||
@@ -1,195 +0,0 @@
|
||||
/ {
|
||||
ocp {
|
||||
pruss2_eth {
|
||||
status = "disabled";
|
||||
};
|
||||
uio_pruss1_mem: uio_pruss1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
ti,hwmods = "pruss1";
|
||||
mem = <0x4b200000 0x2000>,
|
||||
<0x4b202000 0x2000>,
|
||||
<0x4b210000 0x8000>,
|
||||
<0x4b220000 0x2000>,
|
||||
<0x4b226000 0x2000>,
|
||||
<0x4b22e000 0x31c>,
|
||||
<0x4b232000 0x58>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_mem2: uio_pruss1_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b228000 0x38>,
|
||||
<0x4b230000 0x60>,
|
||||
<0x4b232400 0x90>;
|
||||
mem-names = "uart", "ecap", "mdio";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt0: uio_pruss1_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 186 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt1: uio_pruss1_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 187 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt2: uio_pruss1_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt3: uio_pruss1_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt4: uio_pruss1_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 190 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt5: uio_pruss1_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 191 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt6: uio_pruss1_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 192 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt7: uio_pruss1_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_0_mem: uio_pruss1_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b234000 0x3000>,
|
||||
<0x4b222000 0x400>,
|
||||
<0x4b222400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_1_mem: uio_pruss1_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b238000 0x3000>,
|
||||
<0x4b224000 0x400>,
|
||||
<0x4b224400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss2_mem: uio_pruss2_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
ti,hwmods = "pruss2";
|
||||
mem = <0x4b280000 0x2000>,
|
||||
<0x4b282000 0x2000>,
|
||||
<0x4b290000 0x8000>,
|
||||
<0x4b2a0000 0x2000>,
|
||||
<0x4b2a6000 0x2000>,
|
||||
<0x4b2ae000 0x31c>,
|
||||
<0x4b2b2000 0x58>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_mem2: uio_pruss2_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2a8000 0x38>,
|
||||
<0x4b2b0000 0x60>,
|
||||
<0x4b2b2400 0x90>;
|
||||
mem-names = "uart", "ecap", "mdio";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt0: uio_pruss2_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt1: uio_pruss2_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt2: uio_pruss2_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt3: uio_pruss2_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt4: uio_pruss2_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 200 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt5: uio_pruss2_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 201 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt6: uio_pruss2_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 202 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt7: uio_pruss2_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss2_0_mem: uio_pruss2_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2b4000 0x3000>,
|
||||
<0x4b2a2000 0x400>,
|
||||
<0x4b2a2400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_1_mem: uio_pruss2_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2b8000 0x3000>,
|
||||
<0x4b2a4000 0x400>,
|
||||
<0x4b2a4400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pruss1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru2_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru2_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_mdio {
|
||||
status = "disabled";
|
||||
};
|
||||
252
recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi
Normal file
252
recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi
Normal file
@@ -0,0 +1,252 @@
|
||||
&pruss_soc_bus1 {
|
||||
uio_pruss1_mem: uio_pruss1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b200000 0x2000>,
|
||||
<0x4b202000 0x2000>,
|
||||
<0x4b210000 0x8000>,
|
||||
<0x4b220000 0x2000>,
|
||||
<0x4b226000 0x2000>,
|
||||
<0x4b22e000 0x31c>,
|
||||
<0x4b232000 0x58>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_mem2: uio_pruss1_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b228000 0x38>,
|
||||
<0x4b230000 0x60>,
|
||||
<0x4b232400 0x90>,
|
||||
<0x40340000 0x40000>;
|
||||
mem-names = "uart", "ecap", "mdio", "ocmc";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt0: uio_pruss1_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt1: uio_pruss1_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt2: uio_pruss1_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt3: uio_pruss1_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt4: uio_pruss1_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt5: uio_pruss1_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt6: uio_pruss1_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt7: uio_pruss1_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_0_mem: uio_pruss1_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b234000 0x3000>,
|
||||
<0x4b222000 0x400>,
|
||||
<0x4b222400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_1_mem: uio_pruss1_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b238000 0x3000>,
|
||||
<0x4b224000 0x400>,
|
||||
<0x4b224400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&pruss1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_intc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss_soc_bus2 {
|
||||
uio_pruss2_mdio: uio_pruss2_mdio {
|
||||
compatible = "ti,davinci_mdio";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&dpll_gmac_h13x2_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
reg = <0x4b2b2400 0x90>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uio_pruss2_mem: uio_pruss2_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b280000 0x2000>,
|
||||
<0x4b282000 0x2000>,
|
||||
<0x4b290000 0x8000>,
|
||||
<0x4b2a0000 0x2000>,
|
||||
<0x4b2a6000 0x2000>,
|
||||
<0x4b2ae000 0x31c>,
|
||||
<0x4b2b2000 0x58>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_mem2: uio_pruss2_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2a8000 0x38>,
|
||||
<0x4b2b0000 0x60>,
|
||||
<0x4b2b2400 0x90>,
|
||||
<0x40300000 0x40000>;
|
||||
mem-names = "uart", "ecap", "mdio", "ocmc";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt0: uio_pruss2_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt1: uio_pruss2_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt2: uio_pruss2_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt3: uio_pruss2_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt4: uio_pruss2_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt5: uio_pruss2_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt6: uio_pruss2_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt7: uio_pruss2_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss2_0_mem: uio_pruss2_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2b4000 0x3000>,
|
||||
<0x4b2a2000 0x400>,
|
||||
<0x4b2a2400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_1_mem: uio_pruss2_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2b8000 0x3000>,
|
||||
<0x4b2a4000 0x400>,
|
||||
<0x4b2a4400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&uio_pruss2_mdio {
|
||||
reset-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>,
|
||||
<&gpio5 9 GPIO_ACTIVE_LOW>;
|
||||
reset-delay-us = <2>; /* PHY datasheet states 1uS min */
|
||||
};
|
||||
|
||||
&uio_pruss2_mdio {
|
||||
status = "okay";
|
||||
uio_pruss2_eth0_phy: uio_pruss2_eth0_phy@0 {
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
uio_pruss2_eth1_phy: uio_pruss2_eth1_phy@1 {
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&pruss2_emac0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_emac1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru2_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru2_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_intc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_mdio {
|
||||
status = "disabled";
|
||||
};
|
||||
391
recipes-kernel/linux/files/k2g/keystone-k2g-pru-uio.dtsi
Normal file
391
recipes-kernel/linux/files/k2g/keystone-k2g-pru-uio.dtsi
Normal file
@@ -0,0 +1,391 @@
|
||||
&pruss_soc_bus0 {
|
||||
uio_pruss1_mdio: uio_mdio@20ab2400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x20ab2400 0x90>;
|
||||
clocks = <&k2g_clks K2G_DEV_ICSS0 K2G_DEV_ICSS_CORE_CLK>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
bus_freq = <2500000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uio_pruss1_mem: uio_pruss1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x20a80000 0x2000>,
|
||||
<0x20a82000 0x2000>,
|
||||
<0x20a90000 0x10000>,
|
||||
<0x20aa0000 0x2000>,
|
||||
<0x20aa6000 0x2000>,
|
||||
<0x20aae000 0x31c>,
|
||||
<0x20ab2000 0x70>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_mem2: uio_pruss1_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x20aa8000 0x38>,
|
||||
<0x20ab0000 0x60>,
|
||||
<0x20ab2400 0x90>,
|
||||
<0x0c080000 0xe000>;
|
||||
mem-names = "uart", "ecap", "mdio", "ocmc";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt0: uio_pruss1_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 224 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt1: uio_pruss1_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 225 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt2: uio_pruss1_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 226 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt3: uio_pruss1_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 227 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt4: uio_pruss1_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 228 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt6: uio_pruss1_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 230 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt7: uio_pruss1_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 231 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_0_mem: uio_pruss1_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x20ab4000 0x3000>,
|
||||
<0x20aa2000 0x400>,
|
||||
<0x20aa2400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_1_mem: uio_pruss1_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x20ab8000 0x3000>,
|
||||
<0x20aa4000 0x400>,
|
||||
<0x20aa4400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&pruss_soc_bus1 {
|
||||
uio_pruss2_mdio: uio_mdio@20af2400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x20af2400 0x90>;
|
||||
clocks = <&k2g_clks K2G_DEV_ICSS1 K2G_DEV_ICSS_CORE_CLK>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
bus_freq = <2500000>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uio_pruss2_mem: uio_pruss2_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x20ac0000 0x2000>,
|
||||
<0x20ac2000 0x2000>,
|
||||
<0x20ad0000 0x10000>,
|
||||
<0x20ae0000 0x2000>,
|
||||
<0x20ae6000 0x2000>,
|
||||
<0x20aee000 0x31c>,
|
||||
<0x20af2000 0x70>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_mem2: uio_pruss2_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x20ae8000 0x38>,
|
||||
<0x20af0000 0x60>,
|
||||
<0x20af2400 0x90>,
|
||||
<0x0c08e000 0xe000>;
|
||||
mem-names = "uart", "ecap", "mdio", "ocmc";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt0: uio_pruss2_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 232 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt1: uio_pruss2_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 233 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt2: uio_pruss2_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 234 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt3: uio_pruss2_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 235 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt4: uio_pruss2_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 236 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt6: uio_pruss2_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 238 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt7: uio_pruss2_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 239 0xf01>;
|
||||
interrupt-mode = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss2_0_mem: uio_pruss2_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x20af4000 0x3000>,
|
||||
<0x20ae2000 0x400>,
|
||||
<0x20ae2400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_1_mem: uio_pruss2_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x20af8000 0x3000>,
|
||||
<0x20ae4000 0x400>,
|
||||
<0x20ae4400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&k2g_pinctrl {
|
||||
uio_pruss1_mdio_eth_default: uio_pruss1_mdio_eth_default {
|
||||
pinctrl-single,pins = <
|
||||
K2G_CORE_IOPAD(0x12cc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* pr0_mdio_data.pr0_mdio_data */
|
||||
K2G_CORE_IOPAD(0x12d0) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0) /* pr0_mdio_mdclk.pr0_mdio_mdclk */
|
||||
K2G_CORE_IOPAD(0x105c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE3) /* gpmc_wait1.gpio0_23 (pr0_mii0_resetn) */
|
||||
K2G_CORE_IOPAD(0x1070) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE3) /* gpmc_csn2.gpio0_28 (pr0_mii0_intn) */
|
||||
K2G_CORE_IOPAD(0x1054) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE3) /* gpmc_be1n.gpio0_21 (pr0_mii1_resetn) */
|
||||
K2G_CORE_IOPAD(0x1074) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE3) /* gpmc_csn3.gpio0_29 (pr0_mii1_intn) */
|
||||
|
||||
/* PRUSS0 External Mux routing */
|
||||
K2G_CORE_IOPAD(0x11d4) (BUFFER_CLASS_B | MUX_MODE3) /* uart0_ctsn.gpio0_106 */
|
||||
K2G_CORE_IOPAD(0x11d8) (BUFFER_CLASS_B | MUX_MODE3) /* uart0_rtsn.gpio0_107 */
|
||||
K2G_CORE_IOPAD(0x11fc) (BUFFER_CLASS_B | MUX_MODE3) /* dcan0_rx.gpio1_57 */
|
||||
K2G_CORE_IOPAD(0x1200) (BUFFER_CLASS_B | MUX_MODE3) /* dcan0_tx.gpio1_56 */
|
||||
K2G_CORE_IOPAD(0x1224) (BUFFER_CLASS_B | MUX_MODE3) /* qspi_csn2.gpio1_66 */
|
||||
K2G_CORE_IOPAD(0x1228) (BUFFER_CLASS_B | MUX_MODE3) /* qspi_csn3.gpio1_67 */
|
||||
|
||||
/* PRUSS0 PRU0 Ethernet */
|
||||
K2G_CORE_IOPAD(0x122c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo0.pr0_pru0_gpi0 (pr0_mii0_rxd0) */
|
||||
K2G_CORE_IOPAD(0x1230) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo1.pr0_pru0_gpi1 (pr0_mii0_rxd1) */
|
||||
K2G_CORE_IOPAD(0x1234) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo2.pr0_pru0_gpi2 (pr0_mii0_rxd2) */
|
||||
K2G_CORE_IOPAD(0x1238) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo3.pr0_pru0_gpi3 (pr0_mii0_rxd3) */
|
||||
K2G_CORE_IOPAD(0x123c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo4.pr0_pru0_gpi4 (pr0_mii0_rxdv) */
|
||||
K2G_CORE_IOPAD(0x1240) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo5.pr0_pru0_gpi5 (pr0_mii0_rxer) */
|
||||
K2G_CORE_IOPAD(0x1244) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru0_gpo6.pr0_pru0_gpi6 (pr0_mii_mr0_clk) */
|
||||
|
||||
K2G_CORE_IOPAD(0x124c) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru0_gpo8.pr0_pru0_gpi8 (pr0_mii0_rxlink) */
|
||||
K2G_CORE_IOPAD(0x1250) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo9.pr0_pru0_gpi9 (pr0_mii0_col) */
|
||||
K2G_CORE_IOPAD(0x1254) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru0_gpo10.pr0_pru0_gpi10 (pr0_mii0_crs) */
|
||||
|
||||
K2G_CORE_IOPAD(0x12a8) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo11.pr0_pru1_gpo11 (pr0_mii0_txd0) */
|
||||
K2G_CORE_IOPAD(0x12ac) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo12.pr0_pru1_gpo12 (pr0_mii0_txd1) */
|
||||
K2G_CORE_IOPAD(0x12b0) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo13.pr0_pru1_gpo13 (pr0_mii0_txd2) */
|
||||
K2G_CORE_IOPAD(0x12b4) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo14.pr0_pru1_gpo14 (pr0_mii0_txd3) */
|
||||
K2G_CORE_IOPAD(0x12b8) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru1_gpo15.pr0_pru1_gpo15 (pr0_mii0_txen) */
|
||||
K2G_CORE_IOPAD(0x12bc) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru1_gpo16.pr0_pru1_gpo16 (pr0_mii_mt0_clk) */
|
||||
|
||||
/* PRUSS0 PRU1 Ethernet */
|
||||
K2G_CORE_IOPAD(0x127c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo0.pr0_pru1_gpi0 (pr0_mii1_rxd0) */
|
||||
K2G_CORE_IOPAD(0x1280) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo1.pr0_pru1_gpi1 (pr0_mii1_rxd1) */
|
||||
K2G_CORE_IOPAD(0x1284) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo2.pr0_pru1_gpi2 (pr0_mii1_rxd2) */
|
||||
K2G_CORE_IOPAD(0x1288) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo3.pr0_pru1_gpi3 (pr0_mii1_rxd3) */
|
||||
K2G_CORE_IOPAD(0x128c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo4.pr0_pru1_gpi4 (pr0_mii1_rxdv) */
|
||||
K2G_CORE_IOPAD(0x1290) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo5.pr0_pru1_gpi5 (pr0_mii1_rxer) */
|
||||
K2G_CORE_IOPAD(0x1294) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru1_gpo6.pr0_pru1_gpi6 (pr0_mii_mr1_clk) */
|
||||
|
||||
K2G_CORE_IOPAD(0x129c) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru1_gpo8.pr0_pru1_gpi8 (pr0_mii1_rxlink) */
|
||||
K2G_CORE_IOPAD(0x12a0) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo9.pr0_pru1_gpi9 (pr0_mii1_col) */
|
||||
K2G_CORE_IOPAD(0x12a4) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr0_pru1_gpo10.pr0_pru1_gpi10 (pr0_mii1_crs) */
|
||||
|
||||
K2G_CORE_IOPAD(0x1258) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo11.pr0_pru0_gpo11 (pr0_mii1_txd0) */
|
||||
K2G_CORE_IOPAD(0x125c) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo12.pr0_pru0_gpo12 (pr0_mii1_txd1) */
|
||||
K2G_CORE_IOPAD(0x1260) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo13.pr0_pru0_gpo13 (pr0_mii1_txd2) */
|
||||
K2G_CORE_IOPAD(0x1264) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo14.pr0_pru0_gpo14 (pr0_mii1_txd3) */
|
||||
K2G_CORE_IOPAD(0x1268) (BUFFER_CLASS_B | MUX_MODE0) /* pr0_pru0_gpo15.pr0_pru0_gpo15 (pr0_mii1_txen) */
|
||||
K2G_CORE_IOPAD(0x126c) (BUFFER_CLASS_B | MUX_MODE1) /* pr0_pru0_gpo16.pr0_pru0_gpo16 (pr0_mii_mt1_clk) */
|
||||
>;
|
||||
};
|
||||
|
||||
uio_pruss2_mdio_eth_default: uio_pruss2_mdio_eth_default {
|
||||
pinctrl-single,pins = <
|
||||
K2G_CORE_IOPAD(0x1374) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* pr1_mdio_data.pr1_mdio_data */
|
||||
K2G_CORE_IOPAD(0x1378) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0) /* pr1_mdio_mdclk.pr1_mdio_mdclk */
|
||||
K2G_CORE_IOPAD(0x1050) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE3) /* gpmc_be0ncle.gpio0_20 (pr1_mii0_resetn) */
|
||||
K2G_CORE_IOPAD(0x1044) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE3) /* gpmc_advnale.gpio0_17 (pr1_mii0_intn) */
|
||||
K2G_CORE_IOPAD(0x1060) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE3) /* gpmc_wpn.gpio0_24 (pr1_mii1_resetn) */
|
||||
K2G_CORE_IOPAD(0x1088) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE3) /* gpmc_wait0.gpio0_22 (pr1_mii1_intn) */
|
||||
|
||||
/* PRUSS1 PRU0 Ethernet */
|
||||
K2G_CORE_IOPAD(0x12d4) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo0.pr1_pru0_gpi0 (pr1_mii0_rxd0) */
|
||||
K2G_CORE_IOPAD(0x12d8) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo1.pr1_pru0_gpi1 (pr1_mii0_rxd1) */
|
||||
K2G_CORE_IOPAD(0x12dc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo2.pr1_pru0_gpi2 (pr1_mii0_rxd2) */
|
||||
K2G_CORE_IOPAD(0x12e0) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo3.pr1_pru0_gpi3 (pr1_mii0_rxd3) */
|
||||
K2G_CORE_IOPAD(0x12e4) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo4.pr1_pru0_gpi4 (pr1_mii0_rxdv) */
|
||||
K2G_CORE_IOPAD(0x12e8) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo5.pr1_pru0_gpi5 (pr1_mii0_rxer) */
|
||||
K2G_CORE_IOPAD(0x12ec) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru0_gpo6.pr1_pru0_gpi6 (pr1_mii_mr0_clk) */
|
||||
|
||||
K2G_CORE_IOPAD(0x12f4) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru0_gpo8.pr1_pru0_gpi8 (pr1_mii0_rxlink) */
|
||||
K2G_CORE_IOPAD(0x12f8) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo9.pr1_pru0_gpi9 (pr1_mii0_col) */
|
||||
K2G_CORE_IOPAD(0x12fc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru0_gpo10.pr1_pru0_gpi10 (pr1_mii0_crs) */
|
||||
|
||||
K2G_CORE_IOPAD(0x1350) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo11.pr1_pru1_gpo11 (pr1_mii0_txd0) */
|
||||
K2G_CORE_IOPAD(0x1354) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo12.pr1_pru1_gpo12 (pr1_mii0_txd1) */
|
||||
K2G_CORE_IOPAD(0x1358) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo13.pr1_pru1_gpo13 (pr1_mii0_txd2) */
|
||||
K2G_CORE_IOPAD(0x135c) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo14.pr1_pru1_gpo14 (pr1_mii0_txd3) */
|
||||
K2G_CORE_IOPAD(0x1360) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru1_gpo15.pr1_pru1_gpo15 (pr1_mii0_txen) */
|
||||
K2G_CORE_IOPAD(0x1364) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru1_gpo16.pr1_pru1_gpo16 (pr1_mii_mt0_clk) */
|
||||
|
||||
/* PRUSS1 PRU1 Ethernet */
|
||||
K2G_CORE_IOPAD(0x1324) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo0.pr1_pru1_gpi0 (pr1_mii1_rxd0) */
|
||||
K2G_CORE_IOPAD(0x132c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo2.pr1_pru1_gpi2 (pr1_mii1_rxd2) */
|
||||
K2G_CORE_IOPAD(0x1330) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo3.pr1_pru1_gpi3 (pr1_mii1_rxd3) */
|
||||
K2G_CORE_IOPAD(0x1334) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo4.pr1_pru1_gpi4 (pr1_mii1_rxdv) */
|
||||
K2G_CORE_IOPAD(0x1338) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo5.pr1_pru1_gpi5 (pr1_mii1_rxer) */
|
||||
K2G_CORE_IOPAD(0x133c) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru1_gpo6.pr1_pru1_gpi6 (pr1_mii_mr1_clk) */
|
||||
|
||||
K2G_CORE_IOPAD(0x1344) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru1_gpo8.pr1_pru1_gpi8 (pr1_mii1_rxlink) */
|
||||
K2G_CORE_IOPAD(0x1348) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo9.pr1_pru1_gpi9 (pr1_mii1_col) */
|
||||
K2G_CORE_IOPAD(0x134c) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE1) /* pr1_pru1_gpo10.pr1_pru1_gpi10 (pr1_mii1_crs) */
|
||||
|
||||
K2G_CORE_IOPAD(0x1300) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo11.pr1_pru0_gpo11 (pr1_mii1_txd0) */
|
||||
K2G_CORE_IOPAD(0x1304) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo12.pr1_pru0_gpo12 (pr1_mii1_txd1) */
|
||||
K2G_CORE_IOPAD(0x1308) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo13.pr1_pru0_gpo13 (pr1_mii1_txd2) */
|
||||
K2G_CORE_IOPAD(0x130c) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo14.pr1_pru0_gpo14 (pr1_mii1_txd3) */
|
||||
K2G_CORE_IOPAD(0x1310) (BUFFER_CLASS_B | MUX_MODE0) /* pr1_pru0_gpo15.pr1_pru0_gpo15 (pr1_mii1_txen) */
|
||||
K2G_CORE_IOPAD(0x1314) (BUFFER_CLASS_B | MUX_MODE1) /* pr1_pru0_gpo16.pr1_pru0_gpo16 (pr1_mii_mt1_clk) */
|
||||
>;
|
||||
};
|
||||
};
|
||||
|
||||
&uio_pruss1_mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&uio_pruss1_mdio_eth_default>;
|
||||
pinctrl-names = "default";
|
||||
reset-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>,
|
||||
<&gpio0 21 GPIO_ACTIVE_LOW>;
|
||||
reset-delay-us = <20>;
|
||||
|
||||
uio_pruss1_eth0_phy: uio-ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
uio_pruss1_eth1_phy: uio-ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&uio_pruss2_mdio {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&uio_pruss2_mdio_eth_default>;
|
||||
pinctrl-names = "default";
|
||||
reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>,
|
||||
<&gpio0 24 GPIO_ACTIVE_LOW>;
|
||||
reset-delay-us = <20>;
|
||||
|
||||
uio_pruss2_eth0_phy: uio-ethernet-phy@2 {
|
||||
reg = <2>;
|
||||
};
|
||||
|
||||
uio_pruss2_eth1_phy: uio-ethernet-phy@3 {
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
|
||||
&pruss0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru0_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru0_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss0_intc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss0_mdio {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_intc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_mdio {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss0_emac0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss0_emac1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_emac0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_emac1 {
|
||||
status = "disabled";
|
||||
};
|
||||
192
recipes-kernel/linux/files/ti33x/am335x-pru-uio.dtsi
Normal file
192
recipes-kernel/linux/files/ti33x/am335x-pru-uio.dtsi
Normal file
@@ -0,0 +1,192 @@
|
||||
&pruss_soc_bus {
|
||||
uio_pruss_mdio: uio_pruss_mdio@4a332400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x4a332400 0x90>;
|
||||
clocks = <&dpll_core_m4_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uio_pruss_mem: uio_pruss_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4a300000 0x2000>,
|
||||
<0x4a302000 0x2000>,
|
||||
<0x4a310000 0x3000>,
|
||||
<0x4a320000 0x2000>,
|
||||
<0x4a326000 0x2000>,
|
||||
<0x4a32e000 0x31c>,
|
||||
<0x4a332000 0x58>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss_mem2: uio_pruss_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4a328000 0xd4>,
|
||||
<0x4a330000 0x174>,
|
||||
<0x4a332400 0x90>,
|
||||
<0x40302000 0x0e000>;
|
||||
mem-names = "uart", "ecap", "mdio", "ocmc";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss_evt0: uio_pruss_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <20>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss_evt1: uio_pruss_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <21>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss_evt2: uio_pruss_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <22>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss_evt3: uio_pruss_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <23>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss_evt4: uio_pruss_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <24>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss_evt5: uio_pruss_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <25>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss_evt6: uio_pruss_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <26>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss_evt7: uio_pruss_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <27>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss_0_mem: uio_pruss_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4a334000 0x2000>,
|
||||
<0x4a322000 0x400>,
|
||||
<0x4a322400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss_1_mem: uio_pruss_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4a338000 0x2000>,
|
||||
<0x4a324000 0x400>,
|
||||
<0x4a324400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&am33xx_pinmux {
|
||||
uio_pruss_mdio_eth_default: uio_pruss_mdio_eht_default {
|
||||
pinctrl-single,pins = <
|
||||
AM33XX_IOPAD(0x88c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_clk.pr1_mdio_mdclk */
|
||||
AM33XX_IOPAD(0x888, (PIN_INPUT | MUX_MODE5)) /* gpmc_csn3.pr1_mdio_data */
|
||||
AM33XX_IOPAD(0x89c, (PIN_INPUT_PULLUP | MUX_MODE7)) /* gpmc_ben0_cle.gpio2_5 */
|
||||
/* disable CPSW MDIO */
|
||||
AM33XX_IOPAD(0x948, (PIN_INPUT_PULLUP | MUX_MODE7)) /* mdio_data.gpio0_0 */
|
||||
AM33XX_IOPAD(0x94c, (PIN_INPUT_PULLUP | MUX_MODE7)) /* mdio_clk.gpio0_1 */
|
||||
AM33XX_IOPAD(0x8a0, (PIN_INPUT | MUX_MODE2)) /* dss_data0.pr1_mii_mt0_clk */
|
||||
AM33XX_IOPAD(0x8b4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data5.pr1_mii0_txd0 */
|
||||
AM33XX_IOPAD(0x8b0, (PIN_OUTPUT | MUX_MODE2)) /* dss_data4.pr1_mii0_txd1 */
|
||||
AM33XX_IOPAD(0x8ac, (PIN_OUTPUT | MUX_MODE2)) /* dss_data3.pr1_mii0_txd2 */
|
||||
AM33XX_IOPAD(0x8a8, (PIN_OUTPUT | MUX_MODE2)) /* dss_data2.pr1_mii0_txd3 */
|
||||
AM33XX_IOPAD(0x8cc, (PIN_INPUT | MUX_MODE5)) /* dss_data11.pr1_mii0_rxd0 */
|
||||
AM33XX_IOPAD(0x8c8, (PIN_INPUT | MUX_MODE5)) /* dss_data10.pr1_mii0_rxd1 */
|
||||
AM33XX_IOPAD(0x8c4, (PIN_INPUT | MUX_MODE5)) /* dss_data9.pr1_mii0_rxd2 */
|
||||
AM33XX_IOPAD(0x8c0, (PIN_INPUT | MUX_MODE5)) /* dss_data8.pr1_mii0_rxd3 */
|
||||
AM33XX_IOPAD(0x8a4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data1.pr1_mii0_txen */
|
||||
AM33XX_IOPAD(0x8d8, (PIN_INPUT | MUX_MODE5)) /* dss_data14.pr1_mii_mr0_clk */
|
||||
AM33XX_IOPAD(0x8dc, (PIN_INPUT | MUX_MODE5)) /* dss_data15.pr1_mii0_rxdv */
|
||||
AM33XX_IOPAD(0x8d4, (PIN_INPUT | MUX_MODE5)) /* dss_data13.pr1_mii0_rxer */
|
||||
AM33XX_IOPAD(0x8d0, (PIN_INPUT | MUX_MODE5)) /* dss_data12.pr1_mii0_rxlink */
|
||||
AM33XX_IOPAD(0x8e8, (PIN_INPUT | MUX_MODE2)) /* dss_pclk.pr1_mii0_crs */
|
||||
|
||||
AM33XX_IOPAD(0x840, (PIN_INPUT | MUX_MODE5)) /* gpmc_a0.pr1_mii_mt1_clk */
|
||||
AM33XX_IOPAD(0x850, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a4.pr1_mii1_txd0 */
|
||||
AM33XX_IOPAD(0x84c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a3.pr1_mii1_txd1 */
|
||||
AM33XX_IOPAD(0x848, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a2.pr1_mii1_txd2 */
|
||||
AM33XX_IOPAD(0x844, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a1.pr1_mii1_txd3 */
|
||||
AM33XX_IOPAD(0x860, (PIN_INPUT | MUX_MODE5)) /* gpmc_a8.pr1_mii1_rxd0 */
|
||||
AM33XX_IOPAD(0x85c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a7.pr1_mii1_rxd1 */
|
||||
AM33XX_IOPAD(0x858, (PIN_INPUT | MUX_MODE5)) /* gpmc_a6.pr1_mii1_rxd2 */
|
||||
AM33XX_IOPAD(0x854, (PIN_INPUT | MUX_MODE5)) /* gpmc_a5.pr1_mii1_rxd3 */
|
||||
AM33XX_IOPAD(0x874, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_wpn.pr1_mii1_txen */
|
||||
AM33XX_IOPAD(0x864, (PIN_INPUT | MUX_MODE5)) /* gpmc_a9.pr1_mii_mr1_clk */
|
||||
AM33XX_IOPAD(0x868, (PIN_INPUT | MUX_MODE5)) /* gpmc_a10.pr1_mii1_rxdv */
|
||||
AM33XX_IOPAD(0x86c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a11.pr1_mii1_rxer */
|
||||
AM33XX_IOPAD(0x878, (PIN_INPUT | MUX_MODE5)) /* gpmc_ben1.pr1_mii1_rxlink */
|
||||
AM33XX_IOPAD(0x8ec, (PIN_INPUT | MUX_MODE2)) /* lcd_ac_bias_en.pr1_mii1_crs */
|
||||
AM33XX_IOPAD(0x870, (PIN_INPUT | MUX_MODE5)) /* gpmc_wait0.pr1_mii1_col */
|
||||
>;
|
||||
};
|
||||
};
|
||||
|
||||
&uio_pruss_mdio {
|
||||
pinctrl-0 = <&uio_pruss_mdio_eth_default>;
|
||||
pinctrl-names = "default";
|
||||
reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
|
||||
reset-delay-us = <2>; /* PHY datasheet states 1uS min */
|
||||
status = "okay";
|
||||
|
||||
uio_pruss_eth0_phy: ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
uio_pruss_eth1_phy: ethernet-phy@3 {
|
||||
reg = <3>;
|
||||
};
|
||||
};
|
||||
|
||||
&pruss {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss_intc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss_mdio {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss_emac0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss_emac1 {
|
||||
status = "disabled";
|
||||
};
|
||||
292
recipes-kernel/linux/files/ti43x/am437x-pru-uio.dtsi
Normal file
292
recipes-kernel/linux/files/ti43x/am437x-pru-uio.dtsi
Normal file
@@ -0,0 +1,292 @@
|
||||
&pruss_soc_bus {
|
||||
uio_pruss2_mdio: uio_mdio@54432400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x54432400 0x90>;
|
||||
clocks = <&dpll_core_m4_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
uio_pruss2_mem: uio_pruss2_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x54400000 0x2000>,
|
||||
<0x54402000 0x2000>,
|
||||
<0x54410000 0x8000>,
|
||||
<0x54420000 0x2000>,
|
||||
<0x54426000 0x2000>,
|
||||
<0x5442e000 0x31c>,
|
||||
<0x54432000 0x58>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_mem2: uio_pruss2_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x54428000 0x38>,
|
||||
<0x54430000 0x60>,
|
||||
<0x54432400 0x90>,
|
||||
<0x40320000 0x20000>;
|
||||
mem-names = "uart", "ecap", "mdio", "ocmc";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt0: uio_pruss2_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt1: uio_pruss2_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt2: uio_pruss2_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt3: uio_pruss2_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt4: uio_pruss2_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt5: uio_pruss2_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt6: uio_pruss2_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt7: uio_pruss2_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss2_0_mem: uio_pruss2_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x54434000 0x3000>,
|
||||
<0x54422000 0x400>,
|
||||
<0x54422400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss2_1_mem: uio_pruss2_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x54438000 0x3000>,
|
||||
<0x54424000 0x400>,
|
||||
<0x54424400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_mem: uio_pruss1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x54440000 0x1000>,
|
||||
<0x54442000 0x1000>,
|
||||
<0x54450000 0x8000>,
|
||||
<0x54460000 0x2000>,
|
||||
<0x54466000 0x2000>,
|
||||
<0x5446e000 0x31c>,
|
||||
<0x54472000 0x58>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_mem2: uio_pruss1_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x54468000 0x38>,
|
||||
<0x54470000 0x60>,
|
||||
<0x54472400 0x90>,
|
||||
<0x40302000 0x1e000>;
|
||||
mem-names = "uart", "ecap", "mdio", "ocmc";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt0: uio_pruss1_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt1: uio_pruss1_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt2: uio_pruss1_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt3: uio_pruss1_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt4: uio_pruss1_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt5: uio_pruss1_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt6: uio_pruss1_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt7: uio_pruss1_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_0_mem: uio_pruss1_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x54474000 0x1000>,
|
||||
<0x54462000 0x400>,
|
||||
<0x54462400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_1_mem: uio_pruss1_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x54478000 0x1000>,
|
||||
<0x54464000 0x400>,
|
||||
<0x54464400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&am43xx_pinmux {
|
||||
uio_pruss2_mdio_eth_default: uio_pruss2_mdio_eth_default {
|
||||
pinctrl-single,pins = <
|
||||
AM4372_IOPAD(0x88c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_clk.pr1_mdio_mdclk */
|
||||
AM4372_IOPAD(0xa70, (PIN_INPUT | MUX_MODE8)) /* xdma_event_intr0.pr1_mdio_data */
|
||||
AM4372_IOPAD(0xa00, (PIN_INPUT_PULLUP | MUX_MODE7)) /* cam1_data6.gpio4_20 */
|
||||
AM4372_IOPAD(0x8a0, (PIN_INPUT | MUX_MODE2)) /* dss_data0.pr1_mii_mt0_clk */
|
||||
AM4372_IOPAD(0x8b4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data5.pr1_mii0_txd0 */
|
||||
AM4372_IOPAD(0x8b0, (PIN_OUTPUT | MUX_MODE2)) /* dss_data4.pr1_mii0_txd1 */
|
||||
AM4372_IOPAD(0x8ac, (PIN_OUTPUT | MUX_MODE2)) /* dss_data3.pr1_mii0_txd2 */
|
||||
AM4372_IOPAD(0x8a8, (PIN_OUTPUT | MUX_MODE2)) /* dss_data2.pr1_mii0_txd3 */
|
||||
AM4372_IOPAD(0x8cc, (PIN_INPUT | MUX_MODE5)) /* dss_data11.pr1_mii0_rxd0 */
|
||||
AM4372_IOPAD(0x8c8, (PIN_INPUT | MUX_MODE5)) /* dss_data10.pr1_mii0_rxd1 */
|
||||
AM4372_IOPAD(0x8c4, (PIN_INPUT | MUX_MODE5)) /* dss_data9.pr1_mii0_rxd2 */
|
||||
AM4372_IOPAD(0x8c0, (PIN_INPUT | MUX_MODE5)) /* dss_data8.pr1_mii0_rxd3 */
|
||||
AM4372_IOPAD(0x8a4, (PIN_OUTPUT | MUX_MODE2)) /* dss_data1.pr1_mii0_txen */
|
||||
AM4372_IOPAD(0x8d8, (PIN_INPUT | MUX_MODE5)) /* dss_data14.pr1_mii_mr0_clk */
|
||||
AM4372_IOPAD(0x8dc, (PIN_INPUT | MUX_MODE5)) /* dss_data15.pr1_mii0_rxdv */
|
||||
AM4372_IOPAD(0x8d4, (PIN_INPUT | MUX_MODE5)) /* dss_data13.pr1_mii0_rxer */
|
||||
AM4372_IOPAD(0x8d0, (PIN_INPUT | MUX_MODE5)) /* dss_data12.pr1_mii0_rxlink */
|
||||
AM4372_IOPAD(0xa40, (PIN_INPUT | MUX_MODE5)) /* gpio5_10.pr1_mii0_crs */
|
||||
AM4372_IOPAD(0xa38, (PIN_INPUT | MUX_MODE5)) /* gpio5_8.pr1_mii0_col */
|
||||
AM4372_IOPAD(0x858, (PIN_INPUT | MUX_MODE5)) /* gpmc_a6.pr1_mii_mt1_clk */
|
||||
AM4372_IOPAD(0x854, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a5.pr1_mii1_txd0 */
|
||||
AM4372_IOPAD(0x850, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a4.pr1_mii1_txd1 */
|
||||
AM4372_IOPAD(0x84c, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a3.pr1_mii1_txd2 */
|
||||
AM4372_IOPAD(0x848, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a2.pr1_mii1_txd3 */
|
||||
AM4372_IOPAD(0x86c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a11.pr1_mii1_rxd0 */
|
||||
AM4372_IOPAD(0x868, (PIN_INPUT | MUX_MODE5)) /* gpmc_a10.pr1_mii1_rxd1 */
|
||||
AM4372_IOPAD(0x864, (PIN_INPUT | MUX_MODE5)) /* gpmc_a9.pr1_mii1_rxd2 */
|
||||
AM4372_IOPAD(0x860, (PIN_INPUT | MUX_MODE5)) /* gpmc_a8.pr1_mii1_rxd3 */
|
||||
AM4372_IOPAD(0x840, (PIN_OUTPUT | MUX_MODE5)) /* gpmc_a0.pr1_mii1_txen */
|
||||
AM4372_IOPAD(0x85c, (PIN_INPUT | MUX_MODE5)) /* gpmc_a7.pr1_mii_mr1_clk */
|
||||
AM4372_IOPAD(0x844, (PIN_INPUT | MUX_MODE5)) /* gpmc_a1.pr1_mii1_rxdv */
|
||||
AM4372_IOPAD(0x874, (PIN_INPUT | MUX_MODE5)) /* gpmc_wpn.pr1_mii1_rxer */
|
||||
AM4372_IOPAD(0xa4c, (PIN_INPUT | MUX_MODE5)) /* gpio5_13.pr1_mii1_rxlink */
|
||||
AM4372_IOPAD(0xa44, (PIN_INPUT | MUX_MODE5)) /* gpio5_11.pr1_mii1_crs */
|
||||
AM4372_IOPAD(0x878, (PIN_INPUT | MUX_MODE5)) /* gpmc_be1n.pr1_mii1_col */
|
||||
>;
|
||||
};
|
||||
};
|
||||
|
||||
&uio_pruss2_mdio {
|
||||
pinctrl-0 = <&uio_pruss2_mdio_eth_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
reset-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
|
||||
reset-delay-us = <2>; /* PHY datasheet states 1uS min */
|
||||
|
||||
uio_pruss2_eth0_phy: uio_ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
uio_pruss2_eth1_phy: uio_ethernet-phy@1 {
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&pruss1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_intc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_mdio {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru0_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru0_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss0_intc {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_emac0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_emac1 {
|
||||
status = "disabled";
|
||||
};
|
||||
@@ -6,4 +6,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
|
||||
|
||||
BRANCH = "ti-rt-linux-4.9.y"
|
||||
|
||||
SRCREV = "f8d2ec5b8ec4df32f581902dc7932e0243668e46"
|
||||
SRCREV = "764089ed2a847e9d4c06c0e0baaaeaf42aa2d99f"
|
||||
|
||||
@@ -55,11 +55,11 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH = "ti-lsk-linux-4.9.y"
|
||||
|
||||
SRCREV = "23cf36bd2bce6512cec5c141bb4953ac333b44d8"
|
||||
PV = "4.9.32+git${SRCPV}"
|
||||
SRCREV = "a1fc979b41ec166ee0accf7d6228ea45655ca991"
|
||||
PV = "4.9.105+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "c"
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user