xref: /linux/arch/arm64/boot/dts/ti/Makefile (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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-ivy.dtb
20dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-mallow.dtb
21dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-yavia.dtb
22dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dahlia.dtb
23dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dev.dtb
24dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-ivy.dtb
25dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-mallow.dtb
26dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-yavia.dtb
27dtb-$(CONFIG_ARCH_K3) += k3-am62x-phyboard-lyra-gpio-fan.dtbo
28dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb
29dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk-nand.dtbo
30
31# Boards with AM62Ax SoC
32dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
33dtb-$(CONFIG_ARCH_K3) += k3-am62a7-phyboard-lyra-rdk.dtb
34
35# Boards with AM62Px SoC
36dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb
37
38# Common overlays for SK-AM62* family of boards
39dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-ov5640.dtbo
40dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-tevi-ov5640.dtbo
41dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-imx219.dtbo
42dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-hdmi-audio.dtbo
43
44# Boards with AM64x SoC
45k3-am642-hummingboard-t-pcie-dtbs := \
46	k3-am642-hummingboard-t.dtb k3-am642-hummingboard-t-pcie.dtbo
47k3-am642-hummingboard-t-usb3-dtbs := \
48	k3-am642-hummingboard-t.dtb k3-am642-hummingboard-t-usb3.dtbo
49dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb
50dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-icssg1-dualemac.dtbo
51dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-icssg1-dualemac-mii.dtbo
52dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-pcie0-ep.dtbo
53dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t.dtb
54dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-pcie.dtb
55dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-usb3.dtb
56k3-am642-evm-nand-dtbs := k3-am642-evm.dtb k3-am642-evm-nand.dtbo
57dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-nand.dtb
58dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb
59dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-gpio-fan.dtbo
60dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-pcie-usb2.dtbo
61dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
62dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb
63dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
64dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
65
66# Common overlays for the phyCORE-AM6* family of boards
67dtb-$(CONFIG_ARCH_K3) += k3-am6xx-phycore-disable-eth-phy.dtbo
68dtb-$(CONFIG_ARCH_K3) += k3-am6xx-phycore-disable-rtc.dtbo
69dtb-$(CONFIG_ARCH_K3) += k3-am6xx-phycore-disable-spi-nor.dtbo
70dtb-$(CONFIG_ARCH_K3) += k3-am6xx-phycore-qspi-nor.dtbo
71
72# Boards with AM65x SoC
73k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb \
74	k3-am654-base-board-rocktech-rk101-panel.dtbo \
75	k3-am654-pcie-usb3.dtbo
76k3-am654-evm-dtbs := k3-am654-base-board.dtb k3-am654-icssg2.dtbo
77k3-am654-idk-dtbs := k3-am654-evm.dtb k3-am654-idk.dtbo k3-am654-pcie-usb2.dtbo
78k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie-dtbs := k3-am6548-iot2050-advanced-m2.dtb \
79	k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtbo
80k3-am6548-iot2050-advanced-m2-bkey-usb3-dtbs := k3-am6548-iot2050-advanced-m2.dtb \
81	k3-am6548-iot2050-advanced-m2-bkey-usb3.dtbo
82dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic.dtb
83dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic-pg2.dtb
84dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced.dtb
85dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-m2.dtb
86dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtb
87dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-m2-bkey-usb3.dtb
88dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb
89dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-sm.dtb
90dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb
91dtb-$(CONFIG_ARCH_K3) += k3-am654-gp-evm.dtb
92dtb-$(CONFIG_ARCH_K3) += k3-am654-evm.dtb
93dtb-$(CONFIG_ARCH_K3) += k3-am654-idk.dtb
94dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board-rocktech-rk101-panel.dtbo
95dtb-$(CONFIG_ARCH_K3) += k3-am654-pcie-usb2.dtbo
96dtb-$(CONFIG_ARCH_K3) += k3-am654-pcie-usb3.dtbo
97
98# Boards with J7200 SoC
99k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
100dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm.dtb
101dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm-pcie1-ep.dtbo
102
103# Boards with J721e SoC
104k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
105dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
106dtb-$(CONFIG_ARCH_K3) += k3-j721e-common-proc-board-infotainment.dtbo
107dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
108dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-gesi-exp-board.dtbo
109dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-pcie0-ep.dtbo
110dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb
111dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk-csi2-dual-imx219.dtbo
112
113# Boards with J721s2 SoC
114dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board.dtb
115dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb
116dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-gesi-exp-board.dtbo
117k3-j721s2-evm-dtbs := k3-j721s2-common-proc-board.dtb k3-j721s2-evm-gesi-exp-board.dtbo
118dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm.dtb
119dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-pcie1-ep.dtbo
120
121# Boards with J722s SoC
122dtb-$(CONFIG_ARCH_K3) += k3-am67a-beagley-ai.dtb
123dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm.dtb
124
125# Boards with J784s4 SoC
126dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
127dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
128dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-pcie0-pcie1-ep.dtbo
129dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-quad-port-eth-exp1.dtbo
130dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
131
132# Boards with J742S2 SoC
133dtb-$(CONFIG_ARCH_K3) += k3-j742s2-evm.dtb
134
135# Build time test only, enabled by CONFIG_OF_ALL_DTBS
136k3-am625-beagleplay-csi2-ov5640-dtbs := k3-am625-beagleplay.dtb \
137	k3-am625-beagleplay-csi2-ov5640.dtbo
138k3-am625-beagleplay-csi2-tevi-ov5640-dtbs := k3-am625-beagleplay.dtb \
139	k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
140k3-am625-phyboard-lyra-disable-eth-phy-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
141	k3-am6xx-phycore-disable-eth-phy.dtbo
142k3-am625-phyboard-lyra-disable-rtc-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
143	k3-am6xx-phycore-disable-rtc.dtbo
144k3-am625-phyboard-lyra-disable-spi-nor-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
145	k3-am6xx-phycore-disable-spi-nor.dtbo
146k3-am625-phyboard-lyra-gpio-fan-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
147	k3-am62x-phyboard-lyra-gpio-fan.dtbo
148k3-am625-phyboard-lyra-qspi-nor-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
149	k3-am6xx-phycore-qspi-nor.dtbo
150k3-am625-sk-csi2-imx219-dtbs := k3-am625-sk.dtb \
151	k3-am62x-sk-csi2-imx219.dtbo
152k3-am625-sk-csi2-ov5640-dtbs := k3-am625-sk.dtb \
153	k3-am62x-sk-csi2-ov5640.dtbo
154k3-am625-sk-csi2-tevi-ov5640-dtbs := k3-am625-sk.dtb \
155	k3-am62x-sk-csi2-tevi-ov5640.dtbo
156k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
157k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
158k3-am62a7-sk-csi2-imx219-dtbs := k3-am62a7-sk.dtb \
159	k3-am62x-sk-csi2-imx219.dtbo
160k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \
161	k3-am62x-sk-csi2-ov5640.dtbo
162k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \
163	k3-am62x-sk-csi2-tevi-ov5640.dtbo
164k3-am62a7-sk-hdmi-audio-dtbs := k3-am62a7-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
165k3-am62p5-sk-csi2-imx219-dtbs := k3-am62p5-sk.dtb \
166	k3-am62x-sk-csi2-imx219.dtbo
167k3-am62p5-sk-csi2-ov5640-dtbs := k3-am62p5-sk.dtb \
168	k3-am62x-sk-csi2-ov5640.dtbo
169k3-am62p5-sk-csi2-tevi-ov5640-dtbs := k3-am62p5-sk.dtb \
170	k3-am62x-sk-csi2-tevi-ov5640.dtbo
171k3-am642-evm-icssg1-dualemac-dtbs := \
172	k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac.dtbo
173k3-am642-evm-icssg1-dualemac-mii-dtbs := \
174	k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac-mii.dtbo
175k3-am642-evm-pcie0-ep-dtbs := \
176	k3-am642-evm.dtb k3-am642-evm-pcie0-ep.dtbo
177k3-am642-phyboard-electra-disable-eth-phy-dtbs := \
178	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-eth-phy.dtbo
179k3-am642-phyboard-electra-disable-rtc-dtbs := \
180	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-rtc.dtbo
181k3-am642-phyboard-electra-disable-spi-nor-dtbs := \
182	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-spi-nor.dtbo
183k3-am642-phyboard-electra-qspi-nor-dtbs := \
184	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-qspi-nor.dtbo
185k3-am642-phyboard-electra-gpio-fan-dtbs := \
186	k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-gpio-fan.dtbo
187k3-am642-phyboard-electra-pcie-usb2-dtbs := \
188	k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-pcie-usb2.dtbo
189k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
190	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
191k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
192	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
193k3-am68-sk-base-board-csi2-dual-imx219-dtbs := k3-am68-sk-base-board.dtb \
194	k3-j721e-sk-csi2-dual-imx219.dtbo
195k3-am69-sk-csi2-dual-imx219-dtbs := k3-am69-sk.dtb \
196	k3-j721e-sk-csi2-dual-imx219.dtbo
197k3-j7200-evm-pcie1-ep-dtbs := k3-j7200-common-proc-board.dtb \
198	k3-j7200-evm-pcie1-ep.dtbo
199k3-j721e-common-proc-board-infotainment-dtbs := k3-j721e-common-proc-board.dtb \
200	k3-j721e-common-proc-board-infotainment.dtbo
201k3-j721e-evm-pcie0-ep-dtbs := k3-j721e-common-proc-board.dtb \
202	k3-j721e-evm-pcie0-ep.dtbo
203k3-j721e-sk-csi2-dual-imx219-dtbs := k3-j721e-sk.dtb \
204	k3-j721e-sk-csi2-dual-imx219.dtbo
205k3-j721s2-evm-pcie1-ep-dtbs := k3-j721s2-common-proc-board.dtb \
206	k3-j721s2-evm-pcie1-ep.dtbo
207k3-j784s4-evm-pcie0-pcie1-ep-dtbs := k3-j784s4-evm.dtb \
208	k3-j784s4-evm-pcie0-pcie1-ep.dtbo
209k3-j784s4-evm-quad-port-eth-exp1-dtbs := k3-j784s4-evm.dtb \
210	k3-j784s4-evm-quad-port-eth-exp1.dtbo
211k3-j784s4-evm-usxgmii-exp1-exp2-dtbs := k3-j784s4-evm.dtb \
212	k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
213dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
214	k3-am625-beagleplay-csi2-tevi-ov5640.dtb \
215	k3-am625-sk-csi2-imx219.dtb \
216	k3-am625-sk-csi2-ov5640.dtb \
217	k3-am625-sk-csi2-tevi-ov5640.dtb \
218	k3-am625-sk-hdmi-audio.dtb \
219	k3-am62-lp-sk-hdmi-audio.dtb \
220	k3-am62a7-sk-csi2-imx219.dtb \
221	k3-am62a7-sk-csi2-ov5640.dtb \
222	k3-am62a7-sk-hdmi-audio.dtb \
223	k3-am62p5-sk-csi2-imx219.dtb \
224	k3-am62p5-sk-csi2-ov5640.dtb \
225	k3-am62p5-sk-csi2-tevi-ov5640.dtb \
226	k3-am642-evm-icssg1-dualemac.dtb \
227	k3-am642-evm-icssg1-dualemac-mii.dtb \
228	k3-am642-evm-pcie0-ep.dtb \
229	k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
230	k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
231	k3-am68-sk-base-board-csi2-dual-imx219.dtb \
232	k3-am69-sk-csi2-dual-imx219.dtb \
233	k3-j7200-evm-pcie1-ep.dtbo \
234	k3-j721e-common-proc-board-infotainment.dtb \
235	k3-j721e-evm-pcie0-ep.dtb \
236	k3-j721e-sk-csi2-dual-imx219.dtb \
237	k3-j721s2-evm-pcie1-ep.dtb \
238	k3-j784s4-evm-pcie0-pcie1-ep.dtb \
239	k3-j784s4-evm-quad-port-eth-exp1.dtb \
240	k3-j784s4-evm-usxgmii-exp1-exp2.dtb
241
242# Enable support for device-tree overlays
243DTC_FLAGS_k3-am625-beagleplay += -@
244DTC_FLAGS_k3-am625-phyboard-lyra-rdk += -@
245DTC_FLAGS_k3-am62a7-phyboard-lyra-rdk += -@
246DTC_FLAGS_k3-am625-sk += -@
247DTC_FLAGS_k3-am62-lp-sk += -@
248DTC_FLAGS_k3-am62a7-sk += -@
249DTC_FLAGS_k3-am62p5-sk += -@
250DTC_FLAGS_k3-am642-evm += -@
251DTC_FLAGS_k3-am642-phyboard-electra-rdk += -@
252DTC_FLAGS_k3-am642-tqma64xxl-mbax4xxl += -@
253DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
254DTC_FLAGS_k3-am68-sk-base-board += -@
255DTC_FLAGS_k3-am69-sk += -@
256DTC_FLAGS_k3-j7200-common-proc-board += -@
257DTC_FLAGS_k3-j721e-common-proc-board += -@
258DTC_FLAGS_k3-j721e-sk += -@
259DTC_FLAGS_k3-j721s2-common-proc-board += -@
260DTC_FLAGS_k3-j784s4-evm += -@
261DTC_FLAGS_k3-j742s2-evm += -@
262