xref: /linux/arch/arm64/boot/dts/ti/Makefile (revision dba27d026fc841d28a0ed373f617cc84ec0e4504)
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-j722s-evm.dtb
120
121# Boards with J784s4 SoC
122dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
123dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
124dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-pcie0-pcie1-ep.dtbo
125dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-quad-port-eth-exp1.dtbo
126dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
127
128# Build time test only, enabled by CONFIG_OF_ALL_DTBS
129k3-am625-beagleplay-csi2-ov5640-dtbs := k3-am625-beagleplay.dtb \
130	k3-am625-beagleplay-csi2-ov5640.dtbo
131k3-am625-beagleplay-csi2-tevi-ov5640-dtbs := k3-am625-beagleplay.dtb \
132	k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
133k3-am625-phyboard-lyra-1-4-ghz-opp.dtbs := k3-am625-phyboard-lyra-rdk.dtb \
134	k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo
135k3-am625-phyboard-lyra-disable-eth-phy-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
136	k3-am6xx-phycore-disable-eth-phy.dtbo
137k3-am625-phyboard-lyra-disable-rtc-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
138	k3-am6xx-phycore-disable-rtc.dtbo
139k3-am625-phyboard-lyra-disable-spi-nor-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
140	k3-am6xx-phycore-disable-spi-nor.dtbo
141k3-am625-phyboard-lyra-gpio-fan-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
142	k3-am62x-phyboard-lyra-gpio-fan.dtbo
143k3-am625-phyboard-lyra-qspi-nor-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
144	k3-am6xx-phycore-qspi-nor.dtbo
145k3-am625-sk-csi2-imx219-dtbs := k3-am625-sk.dtb \
146	k3-am62x-sk-csi2-imx219.dtbo
147k3-am625-sk-csi2-ov5640-dtbs := k3-am625-sk.dtb \
148	k3-am62x-sk-csi2-ov5640.dtbo
149k3-am625-sk-csi2-tevi-ov5640-dtbs := k3-am625-sk.dtb \
150	k3-am62x-sk-csi2-tevi-ov5640.dtbo
151k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
152k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
153k3-am62a7-sk-csi2-imx219-dtbs := k3-am62a7-sk.dtb \
154	k3-am62x-sk-csi2-imx219.dtbo
155k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \
156	k3-am62x-sk-csi2-ov5640.dtbo
157k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \
158	k3-am62x-sk-csi2-tevi-ov5640.dtbo
159k3-am62a7-sk-hdmi-audio-dtbs := k3-am62a7-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
160k3-am62p5-sk-csi2-imx219-dtbs := k3-am62p5-sk.dtb \
161	k3-am62x-sk-csi2-imx219.dtbo
162k3-am62p5-sk-csi2-ov5640-dtbs := k3-am62p5-sk.dtb \
163	k3-am62x-sk-csi2-ov5640.dtbo
164k3-am62p5-sk-csi2-tevi-ov5640-dtbs := k3-am62p5-sk.dtb \
165	k3-am62x-sk-csi2-tevi-ov5640.dtbo
166k3-am642-evm-icssg1-dualemac-dtbs := \
167	k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac.dtbo
168k3-am642-evm-icssg1-dualemac-mii-dtbs := \
169	k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac-mii.dtbo
170k3-am642-phyboard-electra-disable-eth-phy-dtbs := \
171	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-eth-phy.dtbo
172k3-am642-phyboard-electra-disable-rtc-dtbs := \
173	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-rtc.dtbo
174k3-am642-phyboard-electra-disable-spi-nor-dtbs := \
175	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-spi-nor.dtbo
176k3-am642-phyboard-electra-qspi-nor-dtbs := \
177	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-qspi-nor.dtbo
178k3-am642-phyboard-electra-gpio-fan-dtbs := \
179	k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-gpio-fan.dtbo
180k3-am642-phyboard-electra-pcie-usb2-dtbs := \
181	k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-pcie-usb2.dtbo
182k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
183	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
184k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
185	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
186k3-am68-sk-base-board-csi2-dual-imx219-dtbs := k3-am68-sk-base-board.dtb \
187	k3-j721e-sk-csi2-dual-imx219.dtbo
188k3-am69-sk-csi2-dual-imx219-dtbs := k3-am69-sk.dtb \
189	k3-j721e-sk-csi2-dual-imx219.dtbo
190k3-j721e-common-proc-board-infotainment-dtbs := k3-j721e-common-proc-board.dtb \
191	k3-j721e-common-proc-board-infotainment.dtbo
192k3-j721e-evm-pcie0-ep-dtbs := k3-j721e-common-proc-board.dtb \
193	k3-j721e-evm-pcie0-ep.dtbo
194k3-j721e-sk-csi2-dual-imx219-dtbs := k3-j721e-sk.dtb \
195	k3-j721e-sk-csi2-dual-imx219.dtbo
196k3-j721s2-evm-pcie1-ep-dtbs := k3-j721s2-common-proc-board.dtb \
197	k3-j721s2-evm-pcie1-ep.dtbo
198k3-j784s4-evm-pcie0-pcie1-ep-dtbs := k3-j784s4-evm.dtb \
199	k3-j784s4-evm-pcie0-pcie1-ep.dtbo
200k3-j784s4-evm-quad-port-eth-exp1-dtbs := k3-j784s4-evm.dtb \
201	k3-j784s4-evm-quad-port-eth-exp1.dtbo
202k3-j784s4-evm-usxgmii-exp1-exp2-dtbs := k3-j784s4-evm.dtb \
203	k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
204dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
205	k3-am625-beagleplay-csi2-tevi-ov5640.dtb \
206	k3-am625-sk-csi2-imx219.dtb \
207	k3-am625-sk-csi2-ov5640.dtb \
208	k3-am625-sk-csi2-tevi-ov5640.dtb \
209	k3-am625-sk-hdmi-audio.dtb \
210	k3-am62-lp-sk-hdmi-audio.dtb \
211	k3-am62a7-sk-csi2-imx219.dtb \
212	k3-am62a7-sk-csi2-ov5640.dtb \
213	k3-am62a7-sk-hdmi-audio.dtb \
214	k3-am62p5-sk-csi2-imx219.dtb \
215	k3-am62p5-sk-csi2-ov5640.dtb \
216	k3-am62p5-sk-csi2-tevi-ov5640.dtb \
217	k3-am642-evm-icssg1-dualemac.dtb \
218	k3-am642-evm-icssg1-dualemac-mii.dtb \
219	k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
220	k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
221	k3-am68-sk-base-board-csi2-dual-imx219.dtb \
222	k3-am69-sk-csi2-dual-imx219.dtb \
223	k3-j721e-common-proc-board-infotainment.dtb \
224	k3-j721e-evm-pcie0-ep.dtb \
225	k3-j721e-sk-csi2-dual-imx219.dtb \
226	k3-j721s2-evm-pcie1-ep.dtb \
227	k3-j784s4-evm-pcie0-pcie1-ep.dtb \
228	k3-j784s4-evm-quad-port-eth-exp1.dtb \
229	k3-j784s4-evm-usxgmii-exp1-exp2.dtb
230
231# Enable support for device-tree overlays
232DTC_FLAGS_k3-am625-beagleplay += -@
233DTC_FLAGS_k3-am625-phyboard-lyra-rdk += -@
234DTC_FLAGS_k3-am62a7-phyboard-lyra-rdk += -@
235DTC_FLAGS_k3-am625-sk += -@
236DTC_FLAGS_k3-am62-lp-sk += -@
237DTC_FLAGS_k3-am62a7-sk += -@
238DTC_FLAGS_k3-am62p5-sk += -@
239DTC_FLAGS_k3-am642-evm += -@
240DTC_FLAGS_k3-am642-phyboard-electra-rdk += -@
241DTC_FLAGS_k3-am642-tqma64xxl-mbax4xxl += -@
242DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
243DTC_FLAGS_k3-am68-sk-base-board += -@
244DTC_FLAGS_k3-am69-sk += -@
245DTC_FLAGS_k3-j721e-common-proc-board += -@
246DTC_FLAGS_k3-j721e-sk += -@
247DTC_FLAGS_k3-j721s2-common-proc-board += -@
248DTC_FLAGS_k3-j784s4-evm += -@
249