xref: /linux/arch/arm64/boot/dts/ti/Makefile (revision c61fea676bcb5f14adcd882a7f7d9c5b082fe922)
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-phyboard-electra-gpio-fan.dtbo
52dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
53dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb
54dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
55dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
56
57# Boards with AM65x SoC
58k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb \
59	k3-am654-base-board-rocktech-rk101-panel.dtbo \
60	k3-am654-pcie-usb3.dtbo
61k3-am654-evm-dtbs := k3-am654-base-board.dtb k3-am654-icssg2.dtbo
62k3-am654-idk-dtbs := k3-am654-evm.dtb k3-am654-idk.dtbo k3-am654-pcie-usb2.dtbo
63dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic.dtb
64dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic-pg2.dtb
65dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced.dtb
66dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-m2.dtb
67dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb
68dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-sm.dtb
69dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb
70dtb-$(CONFIG_ARCH_K3) += k3-am654-gp-evm.dtb
71dtb-$(CONFIG_ARCH_K3) += k3-am654-evm.dtb
72dtb-$(CONFIG_ARCH_K3) += k3-am654-idk.dtb
73dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board-rocktech-rk101-panel.dtbo
74dtb-$(CONFIG_ARCH_K3) += k3-am654-pcie-usb2.dtbo
75dtb-$(CONFIG_ARCH_K3) += k3-am654-pcie-usb3.dtbo
76
77# Boards with J7200 SoC
78k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
79dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm.dtb
80
81# Boards with J721e SoC
82k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
83dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
84dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
85dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-gesi-exp-board.dtbo
86dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-pcie0-ep.dtbo
87dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb
88dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk-csi2-dual-imx219.dtbo
89
90# Boards with J721s2 SoC
91dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board.dtb
92dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb
93dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-gesi-exp-board.dtbo
94k3-j721s2-evm-dtbs := k3-j721s2-common-proc-board.dtb k3-j721s2-evm-gesi-exp-board.dtbo
95dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm.dtb
96dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-pcie1-ep.dtbo
97
98# Boards with J722s SoC
99dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm.dtb
100
101# Boards with J784s4 SoC
102dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
103dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
104
105# Build time test only, enabled by CONFIG_OF_ALL_DTBS
106k3-am625-beagleplay-csi2-ov5640-dtbs := k3-am625-beagleplay.dtb \
107	k3-am625-beagleplay-csi2-ov5640.dtbo
108k3-am625-beagleplay-csi2-tevi-ov5640-dtbs := k3-am625-beagleplay.dtb \
109	k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
110k3-am625-phyboard-lyra-gpio-fan-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
111	k3-am62x-phyboard-lyra-gpio-fan.dtbo
112k3-am625-sk-csi2-imx219-dtbs := k3-am625-sk.dtb \
113	k3-am62x-sk-csi2-imx219.dtbo
114k3-am625-sk-csi2-ov5640-dtbs := k3-am625-sk.dtb \
115	k3-am62x-sk-csi2-ov5640.dtbo
116k3-am625-sk-csi2-tevi-ov5640-dtbs := k3-am625-sk.dtb \
117	k3-am62x-sk-csi2-tevi-ov5640.dtbo
118k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
119k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
120k3-am62a7-sk-csi2-imx219-dtbs := k3-am62a7-sk.dtb \
121	k3-am62x-sk-csi2-imx219.dtbo
122k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \
123	k3-am62x-sk-csi2-ov5640.dtbo
124k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \
125	k3-am62x-sk-csi2-tevi-ov5640.dtbo
126k3-am62a7-sk-hdmi-audio-dtbs := k3-am62a7-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
127k3-am62p5-sk-csi2-imx219-dtbs := k3-am62p5-sk.dtb \
128	k3-am62x-sk-csi2-imx219.dtbo
129k3-am62p5-sk-csi2-ov5640-dtbs := k3-am62p5-sk.dtb \
130	k3-am62x-sk-csi2-ov5640.dtbo
131k3-am62p5-sk-csi2-tevi-ov5640-dtbs := k3-am62p5-sk.dtb \
132	k3-am62x-sk-csi2-tevi-ov5640.dtbo
133k3-am642-evm-icssg1-dualemac-dtbs := \
134	k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac.dtbo
135k3-am642-phyboard-electra-gpio-fan-dtbs := \
136	k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-gpio-fan.dtbo
137k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
138	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
139k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
140	k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
141k3-am68-sk-base-board-csi2-dual-imx219-dtbs := k3-am68-sk-base-board.dtb \
142	k3-j721e-sk-csi2-dual-imx219.dtbo
143k3-am69-sk-csi2-dual-imx219-dtbs := k3-am69-sk.dtb \
144	k3-j721e-sk-csi2-dual-imx219.dtbo
145k3-j721e-evm-pcie0-ep-dtbs := k3-j721e-common-proc-board.dtb \
146	k3-j721e-evm-pcie0-ep.dtbo
147k3-j721e-sk-csi2-dual-imx219-dtbs := k3-j721e-sk.dtb \
148	k3-j721e-sk-csi2-dual-imx219.dtbo
149k3-j721s2-evm-pcie1-ep-dtbs := k3-j721s2-common-proc-board.dtb \
150	k3-j721s2-evm-pcie1-ep.dtbo
151dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
152	k3-am625-beagleplay-csi2-tevi-ov5640.dtb \
153	k3-am625-sk-csi2-imx219.dtb \
154	k3-am625-sk-csi2-ov5640.dtb \
155	k3-am625-sk-csi2-tevi-ov5640.dtb \
156	k3-am625-sk-hdmi-audio.dtb \
157	k3-am62-lp-sk-hdmi-audio.dtb \
158	k3-am62a7-sk-csi2-imx219.dtb \
159	k3-am62a7-sk-csi2-ov5640.dtb \
160	k3-am62a7-sk-hdmi-audio.dtb \
161	k3-am62p5-sk-csi2-imx219.dtb \
162	k3-am62p5-sk-csi2-ov5640.dtb \
163	k3-am62p5-sk-csi2-tevi-ov5640.dtb \
164	k3-am642-evm-icssg1-dualemac.dtb \
165	k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
166	k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
167	k3-am68-sk-base-board-csi2-dual-imx219.dtb \
168	k3-am69-sk-csi2-dual-imx219.dtb \
169	k3-j721e-evm-pcie0-ep.dtb \
170	k3-j721e-sk-csi2-dual-imx219.dtb \
171	k3-j721s2-evm-pcie1-ep.dtb
172
173# Enable support for device-tree overlays
174DTC_FLAGS_k3-am625-beagleplay += -@
175DTC_FLAGS_k3-am625-phyboard-lyra-rdk += -@
176DTC_FLAGS_k3-am625-sk += -@
177DTC_FLAGS_k3-am62-lp-sk += -@
178DTC_FLAGS_k3-am62a7-sk += -@
179DTC_FLAGS_k3-am62p5-sk += -@
180DTC_FLAGS_k3-am642-evm += -@
181DTC_FLAGS_k3-am642-phyboard-electra-rdk += -@
182DTC_FLAGS_k3-am642-tqma64xxl-mbax4xxl += -@
183DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
184DTC_FLAGS_k3-am68-sk-base-board += -@
185DTC_FLAGS_k3-am69-sk += -@
186DTC_FLAGS_k3-j721e-common-proc-board += -@
187DTC_FLAGS_k3-j721e-sk += -@
188DTC_FLAGS_k3-j721s2-common-proc-board += -@
189