xref: /linux/arch/arm64/boot/dts/ti/Makefile (revision 1f20a5769446a1acae67ac9e63d07a594829a789)
1# SPDX-License-Identifier: GPL-2.0-only
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-beagleplay-csi2-ov5640.dtbo
14dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
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-mallow.dtb
20dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-yavia.dtb
21dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dahlia.dtb
22dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dev.dtb
23dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-mallow.dtb
24dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-yavia.dtb
25dtb-$(CONFIG_ARCH_K3) += k3-am62x-phyboard-lyra-gpio-fan.dtbo
26dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb
27
28# Boards with AM62Ax SoC
29dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
30
31# Boards with AM62Px SoC
32dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb
33
34# Common overlays for SK-AM62* family of boards
35dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-ov5640.dtbo
36dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-tevi-ov5640.dtbo
37dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-imx219.dtbo
38dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-hdmi-audio.dtbo
39
40# Boards with AM64x SoC
41k3-am642-hummingboard-t-pcie-dtbs := \
42	k3-am642-hummingboard-t.dtb k3-am642-hummingboard-t-pcie.dtbo
43k3-am642-hummingboard-t-usb3-dtbs := \
44	k3-am642-hummingboard-t.dtb k3-am642-hummingboard-t-usb3.dtbo
45dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb
46dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-icssg1-dualemac.dtbo
47dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t.dtb
48dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-pcie.dtb
49dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-usb3.dtb
50dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb
51dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
52dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb
53dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
54dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
55
56# Boards with AM65x SoC
57k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb \
58	k3-am654-base-board-rocktech-rk101-panel.dtbo \
59	k3-am654-pcie-usb3.dtbo
60k3-am654-evm-dtbs := k3-am654-base-board.dtb k3-am654-icssg2.dtbo
61k3-am654-idk-dtbs := k3-am654-evm.dtb k3-am654-idk.dtbo k3-am654-pcie-usb2.dtbo
62dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic.dtb
63dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic-pg2.dtb
64dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced.dtb
65dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-m2.dtb
66dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb
67dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-sm.dtb
68dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb
69dtb-$(CONFIG_ARCH_K3) += k3-am654-gp-evm.dtb
70dtb-$(CONFIG_ARCH_K3) += k3-am654-evm.dtb
71dtb-$(CONFIG_ARCH_K3) += k3-am654-idk.dtb
72dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board-rocktech-rk101-panel.dtbo
73dtb-$(CONFIG_ARCH_K3) += k3-am654-pcie-usb2.dtbo
74dtb-$(CONFIG_ARCH_K3) += k3-am654-pcie-usb3.dtbo
75
76# Boards with J7200 SoC
77k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
78dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm.dtb
79
80# Boards with J721e SoC
81k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
82dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
83dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
84dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-gesi-exp-board.dtbo
85dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-pcie0-ep.dtbo
86dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb
87dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk-csi2-dual-imx219.dtbo
88
89# Boards with J721s2 SoC
90dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board.dtb
91dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb
92dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-gesi-exp-board.dtbo
93k3-j721s2-evm-dtbs := k3-j721s2-common-proc-board.dtb k3-j721s2-evm-gesi-exp-board.dtbo
94dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm.dtb
95dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-pcie1-ep.dtbo
96
97# Boards with J722s SoC
98dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm.dtb
99
100# Boards with J784s4 SoC
101dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
102dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
103
104# Build time test only, enabled by CONFIG_OF_ALL_DTBS
105k3-am625-beagleplay-csi2-ov5640-dtbs := k3-am625-beagleplay.dtb \
106	k3-am625-beagleplay-csi2-ov5640.dtbo
107k3-am625-beagleplay-csi2-tevi-ov5640-dtbs := k3-am625-beagleplay.dtb \
108	k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
109k3-am625-phyboard-lyra-gpio-fan-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
110	k3-am62x-phyboard-lyra-gpio-fan.dtbo
111k3-am625-sk-csi2-imx219-dtbs := k3-am625-sk.dtb \
112	k3-am62x-sk-csi2-imx219.dtbo
113k3-am625-sk-csi2-ov5640-dtbs := k3-am625-sk.dtb \
114	k3-am62x-sk-csi2-ov5640.dtbo
115k3-am625-sk-csi2-tevi-ov5640-dtbs := k3-am625-sk.dtb \
116	k3-am62x-sk-csi2-tevi-ov5640.dtbo
117k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
118k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
119k3-am62a7-sk-csi2-imx219-dtbs := k3-am62a7-sk.dtb \
120	k3-am62x-sk-csi2-imx219.dtbo
121k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \
122	k3-am62x-sk-csi2-ov5640.dtbo
123k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \
124	k3-am62x-sk-csi2-tevi-ov5640.dtbo
125k3-am62a7-sk-hdmi-audio-dtbs := k3-am62a7-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
126k3-am62p5-sk-csi2-imx219-dtbs := k3-am62p5-sk.dtb \
127	k3-am62x-sk-csi2-imx219.dtbo
128k3-am62p5-sk-csi2-ov5640-dtbs := k3-am62p5-sk.dtb \
129	k3-am62x-sk-csi2-ov5640.dtbo
130k3-am62p5-sk-csi2-tevi-ov5640-dtbs := k3-am62p5-sk.dtb \
131	k3-am62x-sk-csi2-tevi-ov5640.dtbo
132k3-am642-evm-icssg1-dualemac-dtbs := \
133	k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac.dtbo
134k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
135	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
136k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
137	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
138k3-am68-sk-base-board-csi2-dual-imx219-dtbs := k3-am68-sk-base-board.dtb \
139	k3-j721e-sk-csi2-dual-imx219.dtbo
140k3-am69-sk-csi2-dual-imx219-dtbs := k3-am69-sk.dtb \
141	k3-j721e-sk-csi2-dual-imx219.dtbo
142k3-j721e-evm-pcie0-ep-dtbs := k3-j721e-common-proc-board.dtb \
143	k3-j721e-evm-pcie0-ep.dtbo
144k3-j721e-sk-csi2-dual-imx219-dtbs := k3-j721e-sk.dtb \
145	k3-j721e-sk-csi2-dual-imx219.dtbo
146k3-j721s2-evm-pcie1-ep-dtbs := k3-j721s2-common-proc-board.dtb \
147	k3-j721s2-evm-pcie1-ep.dtbo
148dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
149	k3-am625-beagleplay-csi2-tevi-ov5640.dtb \
150	k3-am625-sk-csi2-imx219.dtb \
151	k3-am625-sk-csi2-ov5640.dtb \
152	k3-am625-sk-csi2-tevi-ov5640.dtb \
153	k3-am625-sk-hdmi-audio.dtb \
154	k3-am62-lp-sk-hdmi-audio.dtb \
155	k3-am62a7-sk-csi2-imx219.dtb \
156	k3-am62a7-sk-csi2-ov5640.dtb \
157	k3-am62a7-sk-hdmi-audio.dtb \
158	k3-am62p5-sk-csi2-imx219.dtb \
159	k3-am62p5-sk-csi2-ov5640.dtb \
160	k3-am62p5-sk-csi2-tevi-ov5640.dtb \
161	k3-am642-evm-icssg1-dualemac.dtb \
162	k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
163	k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
164	k3-am68-sk-base-board-csi2-dual-imx219-dtbs \
165	k3-am69-sk-csi2-dual-imx219-dtbs \
166	k3-j721e-evm-pcie0-ep.dtb \
167	k3-j721e-sk-csi2-dual-imx219-dtbs \
168	k3-j721s2-evm-pcie1-ep.dtb
169
170# Enable support for device-tree overlays
171DTC_FLAGS_k3-am625-beagleplay += -@
172DTC_FLAGS_k3-am625-sk += -@
173DTC_FLAGS_k3-am62-lp-sk += -@
174DTC_FLAGS_k3-am62a7-sk += -@
175DTC_FLAGS_k3-am62p5-sk += -@
176DTC_FLAGS_k3-am642-evm += -@
177DTC_FLAGS_k3-am642-tqma64xxl-mbax4xxl += -@
178DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
179DTC_FLAGS_k3-am68-sk-base-board += -@
180DTC_FLAGS_k3-am69-sk += -@
181DTC_FLAGS_k3-j721e-common-proc-board += -@
182DTC_FLAGS_k3-j721e-sk += -@
183DTC_FLAGS_k3-j721s2-common-proc-board += -@
184