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
12k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
13k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
14dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay.dtb
15dtb-$(CONFIG_ARCH_K3) += k3-am625-phyboard-lyra-rdk.dtb
16dtb-$(CONFIG_ARCH_K3) += k3-am625-sk.dtb
17dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dahlia.dtb
18dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dev.dtb
19dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-yavia.dtb
20dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dahlia.dtb
21dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dev.dtb
22dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-yavia.dtb
23dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb
24dtb-$(CONFIG_ARCH_K3) += k3-am625-sk-hdmi-audio.dtb
25dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk-hdmi-audio.dtb
26
27# Boards with AM62Ax SoC
28dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
29
30# Boards with AM62Px SoC
31dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb
32
33# Boards with AM64x SoC
34dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb
35dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb
36dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
37dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb
38
39k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
40	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
41k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
42	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
43
44dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb
45dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl-wlan.dtb
46
47# Boards with AM65x SoC
48k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb k3-am654-base-board-rocktech-rk101-panel.dtbo
49dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic.dtb
50dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic-pg2.dtb
51dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced.dtb
52dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-m2.dtb
53dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb
54dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb
55dtb-$(CONFIG_ARCH_K3) += k3-am654-gp-evm.dtb
56
57# Boards with J7200 SoC
58k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
59dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm.dtb
60
61# Boards with J721e SoC
62k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
63dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
64dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
65dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-gesi-exp-board.dtbo
66dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb
67
68# Boards with J721s2 SoC
69dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board.dtb
70dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb
71dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-gesi-exp-board.dtbo
72k3-j721s2-evm-dtbs := k3-j721s2-common-proc-board.dtb k3-j721s2-evm-gesi-exp-board.dtbo
73dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm.dtb
74
75# Boards with J784s4 SoC
76dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
77dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
78
79# Enable support for device-tree overlays
80DTC_FLAGS_k3-am625-sk += -@
81DTC_FLAGS_k3-am62-lp-sk += -@
82DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
83DTC_FLAGS_k3-j721e-common-proc-board += -@
84DTC_FLAGS_k3-j721s2-common-proc-board += -@
85