1# SPDX-License-Identifier: GPL-2.0
2#
3# Make file to build device tree binaries for boards based on
4# Texas Instruments Inc processors
5#
6# Copyright (C) 2016-2021 Texas Instruments Incorporated - https://www.ti.com/
7#
8# Entries are grouped as per SoC present on the board. Groups are sorted
9# alphabetically.
10
11# Boards with AM62x SoC
12dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay.dtb
13dtb-$(CONFIG_ARCH_K3) += k3-am625-phyboard-lyra-rdk.dtb
14dtb-$(CONFIG_ARCH_K3) += k3-am625-sk.dtb
15dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dahlia.dtb
16dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dev.dtb
17dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-yavia.dtb
18dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dahlia.dtb
19dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dev.dtb
20dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-yavia.dtb
21dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb
22dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-hdmi-audio.dtbo
23
24# Boards with AM62Ax SoC
25dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
26
27# Boards with AM62Px SoC
28dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb
29
30# Boards with AM64x SoC
31dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb
32dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb
33dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
34dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb
35
36k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
37	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
38k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
39	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
40
41dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb
42dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl-wlan.dtb
43
44# Boards with AM65x SoC
45k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb k3-am654-base-board-rocktech-rk101-panel.dtbo
46dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic.dtb
47dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic-pg2.dtb
48dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced.dtb
49dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-m2.dtb
50dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb
51dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb
52dtb-$(CONFIG_ARCH_K3) += k3-am654-gp-evm.dtb
53
54# Boards with J7200 SoC
55k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
56dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm.dtb
57
58# Boards with J721e SoC
59k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
60dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
61dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
62dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-gesi-exp-board.dtbo
63dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb
64
65# Boards with J721s2 SoC
66dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board.dtb
67dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb
68dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-gesi-exp-board.dtbo
69
70# Boards with J784s4 SoC
71dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
72dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
73
74# Enable support for device-tree overlays
75DTC_FLAGS_k3-am625-sk += -@
76DTC_FLAGS_k3-am62-lp-sk += -@
77DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
78DTC_FLAGS_k3-j721e-common-proc-board += -@
79DTC_FLAGS_k3-j721s2-common-proc-board += -@
80