xref: /linux/arch/arm64/boot/dts/ti/Makefile (revision 2a6b6c9a226279b4f6668450ddb21ae655558087)
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
76dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic.dtb
77dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic-pg2.dtb
78dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced.dtb
79dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-m2.dtb
80dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb
81dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-sm.dtb
82dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb
83dtb-$(CONFIG_ARCH_K3) += k3-am654-gp-evm.dtb
84dtb-$(CONFIG_ARCH_K3) += k3-am654-evm.dtb
85dtb-$(CONFIG_ARCH_K3) += k3-am654-idk.dtb
86dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board-rocktech-rk101-panel.dtbo
87dtb-$(CONFIG_ARCH_K3) += k3-am654-pcie-usb2.dtbo
88dtb-$(CONFIG_ARCH_K3) += k3-am654-pcie-usb3.dtbo
89
90# Boards with J7200 SoC
91k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
92dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm.dtb
93
94# Boards with J721e SoC
95k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
96dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
97dtb-$(CONFIG_ARCH_K3) += k3-j721e-common-proc-board-infotainment.dtbo
98dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
99dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-gesi-exp-board.dtbo
100dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-pcie0-ep.dtbo
101dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb
102dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk-csi2-dual-imx219.dtbo
103
104# Boards with J721s2 SoC
105dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board.dtb
106dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb
107dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-gesi-exp-board.dtbo
108k3-j721s2-evm-dtbs := k3-j721s2-common-proc-board.dtb k3-j721s2-evm-gesi-exp-board.dtbo
109dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm.dtb
110dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-pcie1-ep.dtbo
111
112# Boards with J722s SoC
113dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm.dtb
114
115# Boards with J784s4 SoC
116dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
117dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
118dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-pcie0-pcie1-ep.dtbo
119dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-quad-port-eth-exp1.dtbo
120dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
121
122# Build time test only, enabled by CONFIG_OF_ALL_DTBS
123k3-am625-beagleplay-csi2-ov5640-dtbs := k3-am625-beagleplay.dtb \
124	k3-am625-beagleplay-csi2-ov5640.dtbo
125k3-am625-beagleplay-csi2-tevi-ov5640-dtbs := k3-am625-beagleplay.dtb \
126	k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
127k3-am625-phyboard-lyra-1-4-ghz-opp.dtbs := k3-am625-phyboard-lyra-rdk.dtb \
128	k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo
129k3-am625-phyboard-lyra-disable-eth-phy-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
130	k3-am6xx-phycore-disable-eth-phy.dtbo
131k3-am625-phyboard-lyra-disable-rtc-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
132	k3-am6xx-phycore-disable-rtc.dtbo
133k3-am625-phyboard-lyra-disable-spi-nor-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
134	k3-am6xx-phycore-disable-spi-nor.dtbo
135k3-am625-phyboard-lyra-gpio-fan-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
136	k3-am62x-phyboard-lyra-gpio-fan.dtbo
137k3-am625-phyboard-lyra-qspi-nor-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
138	k3-am6xx-phycore-qspi-nor.dtbo
139k3-am625-sk-csi2-imx219-dtbs := k3-am625-sk.dtb \
140	k3-am62x-sk-csi2-imx219.dtbo
141k3-am625-sk-csi2-ov5640-dtbs := k3-am625-sk.dtb \
142	k3-am62x-sk-csi2-ov5640.dtbo
143k3-am625-sk-csi2-tevi-ov5640-dtbs := k3-am625-sk.dtb \
144	k3-am62x-sk-csi2-tevi-ov5640.dtbo
145k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
146k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
147k3-am62a7-sk-csi2-imx219-dtbs := k3-am62a7-sk.dtb \
148	k3-am62x-sk-csi2-imx219.dtbo
149k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \
150	k3-am62x-sk-csi2-ov5640.dtbo
151k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \
152	k3-am62x-sk-csi2-tevi-ov5640.dtbo
153k3-am62a7-sk-hdmi-audio-dtbs := k3-am62a7-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
154k3-am62p5-sk-csi2-imx219-dtbs := k3-am62p5-sk.dtb \
155	k3-am62x-sk-csi2-imx219.dtbo
156k3-am62p5-sk-csi2-ov5640-dtbs := k3-am62p5-sk.dtb \
157	k3-am62x-sk-csi2-ov5640.dtbo
158k3-am62p5-sk-csi2-tevi-ov5640-dtbs := k3-am62p5-sk.dtb \
159	k3-am62x-sk-csi2-tevi-ov5640.dtbo
160k3-am642-evm-icssg1-dualemac-dtbs := \
161	k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac.dtbo
162k3-am642-evm-icssg1-dualemac-mii-dtbs := \
163	k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac-mii.dtbo
164k3-am642-phyboard-electra-disable-eth-phy-dtbs := \
165	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-eth-phy.dtbo
166k3-am642-phyboard-electra-disable-rtc-dtbs := \
167	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-rtc.dtbo
168k3-am642-phyboard-electra-disable-spi-nor-dtbs := \
169	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-spi-nor.dtbo
170k3-am642-phyboard-electra-qspi-nor-dtbs := \
171	k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-qspi-nor.dtbo
172k3-am642-phyboard-electra-gpio-fan-dtbs := \
173	k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-gpio-fan.dtbo
174k3-am642-phyboard-electra-pcie-usb2-dtbs := \
175	k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-pcie-usb2.dtbo
176k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
177	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
178k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
179	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
180k3-am68-sk-base-board-csi2-dual-imx219-dtbs := k3-am68-sk-base-board.dtb \
181	k3-j721e-sk-csi2-dual-imx219.dtbo
182k3-am69-sk-csi2-dual-imx219-dtbs := k3-am69-sk.dtb \
183	k3-j721e-sk-csi2-dual-imx219.dtbo
184k3-j721e-common-proc-board-infotainment-dtbs := k3-j721e-common-proc-board.dtb \
185	k3-j721e-common-proc-board-infotainment.dtbo
186k3-j721e-evm-pcie0-ep-dtbs := k3-j721e-common-proc-board.dtb \
187	k3-j721e-evm-pcie0-ep.dtbo
188k3-j721e-sk-csi2-dual-imx219-dtbs := k3-j721e-sk.dtb \
189	k3-j721e-sk-csi2-dual-imx219.dtbo
190k3-j721s2-evm-pcie1-ep-dtbs := k3-j721s2-common-proc-board.dtb \
191	k3-j721s2-evm-pcie1-ep.dtbo
192k3-j784s4-evm-pcie0-pcie1-ep-dtbs := k3-j784s4-evm.dtb \
193	k3-j784s4-evm-pcie0-pcie1-ep.dtbo
194k3-j784s4-evm-quad-port-eth-exp1-dtbs := k3-j784s4-evm.dtb \
195	k3-j784s4-evm-quad-port-eth-exp1.dtbo
196k3-j784s4-evm-usxgmii-exp1-exp2-dtbs := k3-j784s4-evm.dtb \
197	k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
198dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
199	k3-am625-beagleplay-csi2-tevi-ov5640.dtb \
200	k3-am625-sk-csi2-imx219.dtb \
201	k3-am625-sk-csi2-ov5640.dtb \
202	k3-am625-sk-csi2-tevi-ov5640.dtb \
203	k3-am625-sk-hdmi-audio.dtb \
204	k3-am62-lp-sk-hdmi-audio.dtb \
205	k3-am62a7-sk-csi2-imx219.dtb \
206	k3-am62a7-sk-csi2-ov5640.dtb \
207	k3-am62a7-sk-hdmi-audio.dtb \
208	k3-am62p5-sk-csi2-imx219.dtb \
209	k3-am62p5-sk-csi2-ov5640.dtb \
210	k3-am62p5-sk-csi2-tevi-ov5640.dtb \
211	k3-am642-evm-icssg1-dualemac.dtb \
212	k3-am642-evm-icssg1-dualemac-mii.dtb \
213	k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
214	k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
215	k3-am68-sk-base-board-csi2-dual-imx219.dtb \
216	k3-am69-sk-csi2-dual-imx219.dtb \
217	k3-j721e-common-proc-board-infotainment.dtb \
218	k3-j721e-evm-pcie0-ep.dtb \
219	k3-j721e-sk-csi2-dual-imx219.dtb \
220	k3-j721s2-evm-pcie1-ep.dtb \
221	k3-j784s4-evm-pcie0-pcie1-ep.dtb \
222	k3-j784s4-evm-quad-port-eth-exp1.dtb \
223	k3-j784s4-evm-usxgmii-exp1-exp2.dtb
224
225# Enable support for device-tree overlays
226DTC_FLAGS_k3-am625-beagleplay += -@
227DTC_FLAGS_k3-am625-phyboard-lyra-rdk += -@
228DTC_FLAGS_k3-am62a7-phyboard-lyra-rdk += -@
229DTC_FLAGS_k3-am625-sk += -@
230DTC_FLAGS_k3-am62-lp-sk += -@
231DTC_FLAGS_k3-am62a7-sk += -@
232DTC_FLAGS_k3-am62p5-sk += -@
233DTC_FLAGS_k3-am642-evm += -@
234DTC_FLAGS_k3-am642-phyboard-electra-rdk += -@
235DTC_FLAGS_k3-am642-tqma64xxl-mbax4xxl += -@
236DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
237DTC_FLAGS_k3-am68-sk-base-board += -@
238DTC_FLAGS_k3-am69-sk += -@
239DTC_FLAGS_k3-j721e-common-proc-board += -@
240DTC_FLAGS_k3-j721e-sk += -@
241DTC_FLAGS_k3-j721s2-common-proc-board += -@
242DTC_FLAGS_k3-j784s4-evm += -@
243