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