Skip to content

Commit 7af9a9f

Browse files
committed
Merge tag 'ti-k3-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux into soc/dt
TI K3 device tree updates for v6.8 New features across K3 SoCs: - ov5640 and imx219 sensor overlays added to various am62x/am62a boards. - TP6594 and family support for J7200, j721s2,j721e, am69/j784s4 boards Generic Fixes: - minor white space cleanups - Addition of optional regs for more complete DMA description across all K3 SoCs. Misc: - chip_id node moves under wkup_conf bus. - COMPILE_TEST+OF_ALL_DTBS is now standard usage for testing overlays. SoC specific Fixes/Features: AM62A - gpio pin count fixups. AM625 - Adds verdin am62x-mallow board - Adds IMG's AXE-RGX GPU support - Adds gpio-ranges support for main domain GPIOs. - SK now defaults to mcu gpio marked as reserved to cater to MCU use cases AM64 - EVM/SK now defaults to mcu gpio marked as reserved to cater to MCU use cases AM65 - Fix for DSS Irq trigger type, proper fixup for dss-oldi-io-ctrl node - misc splitup to make AM652 device variant reusable J7200 - mmc: itap delay fixups for DDR52 J721S2/AM68 - mmc: itap delay fixups for DDR50 J784S4/AM69 - mmc: itap delay fixups for DDR50 Board specific fixes/Features: - iot2050 cleanups for enabling icssg-prueth nodes, runtime pinmuxing, dropping ecap0pwm nodes, misc cleanups. - am62x-verdin adds uart2, minor fixups for spi1 chip-select pinctrl - am62-phycore adds hdmi support - am64-phycore adds R5F support. - am62x-beagleplay renames console uart pinmuxes. * tag 'ti-k3-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux: (56 commits) arm64: dts: ti: k3-j784s4-main: Add Itap Delay Value For DDR50 speed mode arm64: dts: ti: k3-j721s2-main: Add Itap Delay Value For DDR50 speed mode arm64: dts: ti: k3-j7200-main: Add Itap Delay Value For DDR52 speed mode arm64: dts: ti: k3-am6*: Add additional regs for DMA components arm64: dts: ti: k3-j7*: Add additional regs for DMA components arm64: dts: ti: k3-am65: Add additional regs for DMA components arm64: dts: ti: k3-am62-main: Add GPU device node arm64: dts: ti: k3-j721s2-evm: Add overlay for PCIE1 Endpoint Mode arm64: dts: ti: k3-j721e-evm: Add overlay for PCIE0 Endpoint Mode arm64: dts: ti: k3-j721e-sk: Add TPS6594 family PMICs arm64: dts: ti: k3-am69-sk: Add support for TPS6594 PMIC arm64: dts: ti: k3-j784s4-evm: Add support for TPS6594 PMIC arm64: dts: ti: k3-j721e-som-p0: Add TP6594 family PMICs arm64: dts: ti: k3-j721s2-som-p0: Add TP6594 family PMICs arm64: dts: ti: k3-j7200-som-p0: Add TP6594 family PMICs arm64: dts: ti: Add verdin am62 mallow board dt-bindings: arm: ti: Add verdin am62 mallow board arm64: dts: ti: verdin-am62: Improve spi1 chip-select pinctrl arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Remove HDMI Reset Line Name arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Add HDMI support ... Link: https://lore.kernel.org/r/20231218153115.szyd22tmoumqkn6g@occupier Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents c3426ae + 8bbe8a7 commit 7af9a9f

57 files changed

Lines changed: 3183 additions & 165 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/devicetree/bindings/arm/ti/k3.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ properties:
5050
- enum:
5151
- toradex,verdin-am62-nonwifi-dahlia # Verdin AM62 Module on Dahlia
5252
- toradex,verdin-am62-nonwifi-dev # Verdin AM62 Module on Verdin Development Board
53+
- toradex,verdin-am62-nonwifi-mallow # Verdin AM62 Module on Mallow
5354
- toradex,verdin-am62-nonwifi-yavia # Verdin AM62 Module on Yavia
5455
- const: toradex,verdin-am62-nonwifi # Verdin AM62 Module without Wi-Fi / BT
5556
- const: toradex,verdin-am62 # Verdin AM62 Module
@@ -60,6 +61,7 @@ properties:
6061
- enum:
6162
- toradex,verdin-am62-wifi-dahlia # Verdin AM62 Wi-Fi / BT Module on Dahlia
6263
- toradex,verdin-am62-wifi-dev # Verdin AM62 Wi-Fi / BT M. on Verdin Development B.
64+
- toradex,verdin-am62-wifi-mallow # Verdin AM62 Wi-Fi / BT Module on Mallow
6365
- toradex,verdin-am62-wifi-yavia # Verdin AM62 Wi-Fi / BT Module on Yavia
6466
- const: toradex,verdin-am62-wifi # Verdin AM62 Wi-Fi / BT Module
6567
- const: toradex,verdin-am62 # Verdin AM62 Module

arch/arm64/boot/dts/ti/Makefile

Lines changed: 58 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,40 @@
99
# alphabetically.
1010

1111
# Boards with AM62x SoC
12-
k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
13-
k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
1412
dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay.dtb
13+
dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay-csi2-ov5640.dtbo
14+
dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
1515
dtb-$(CONFIG_ARCH_K3) += k3-am625-phyboard-lyra-rdk.dtb
1616
dtb-$(CONFIG_ARCH_K3) += k3-am625-sk.dtb
1717
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dahlia.dtb
1818
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dev.dtb
19+
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-mallow.dtb
1920
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-yavia.dtb
2021
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dahlia.dtb
2122
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dev.dtb
23+
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-mallow.dtb
2224
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-yavia.dtb
2325
dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb
24-
dtb-$(CONFIG_ARCH_K3) += k3-am625-sk-hdmi-audio.dtb
25-
dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk-hdmi-audio.dtb
2626

2727
# Boards with AM62Ax SoC
2828
dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
2929

3030
# Boards with AM62Px SoC
3131
dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb
3232

33+
# Common overlays for SK-AM62* family of boards
34+
dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-ov5640.dtbo
35+
dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-tevi-ov5640.dtbo
36+
dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-imx219.dtbo
37+
dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-hdmi-audio.dtbo
38+
3339
# Boards with AM64x SoC
3440
dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb
3541
dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb
3642
dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
3743
dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb
38-
39-
k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
40-
k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
41-
k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
42-
k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
43-
44-
dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb
45-
dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl-wlan.dtb
44+
dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
45+
dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
4646

4747
# Boards with AM65x SoC
4848
k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb k3-am654-base-board-rocktech-rk101-panel.dtbo
@@ -67,6 +67,7 @@ k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-e
6767
dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
6868
dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
6969
dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-gesi-exp-board.dtbo
70+
dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-pcie0-ep.dtbo
7071
dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb
7172

7273
# Boards with J721s2 SoC
@@ -75,14 +76,59 @@ dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb
7576
dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-gesi-exp-board.dtbo
7677
k3-j721s2-evm-dtbs := k3-j721s2-common-proc-board.dtb k3-j721s2-evm-gesi-exp-board.dtbo
7778
dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm.dtb
79+
dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-pcie1-ep.dtbo
7880

7981
# Boards with J784s4 SoC
8082
dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
8183
dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
8284

85+
# Build time test only, enabled by CONFIG_OF_ALL_DTBS
86+
k3-am625-beagleplay-csi2-ov5640-dtbs := k3-am625-beagleplay.dtb \
87+
k3-am625-beagleplay-csi2-ov5640.dtbo
88+
k3-am625-beagleplay-csi2-tevi-ov5640-dtbs := k3-am625-beagleplay.dtb \
89+
k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
90+
k3-am625-sk-csi2-imx219-dtbs := k3-am625-sk.dtb \
91+
k3-am62x-sk-csi2-imx219.dtbo
92+
k3-am625-sk-csi2-ov5640-dtbs := k3-am625-sk.dtb \
93+
k3-am62x-sk-csi2-ov5640.dtbo
94+
k3-am625-sk-csi2-tevi-ov5640-dtbs := k3-am625-sk.dtb \
95+
k3-am62x-sk-csi2-tevi-ov5640.dtbo
96+
k3-am625-sk-hdmi-audio-dtbs := k3-am625-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
97+
k3-am62-lp-sk-hdmi-audio-dtbs := k3-am62-lp-sk.dtb k3-am62x-sk-hdmi-audio.dtbo
98+
k3-am62a7-sk-csi2-imx219-dtbs := k3-am62a7-sk.dtb \
99+
k3-am62x-sk-csi2-imx219.dtbo
100+
k3-am62a7-sk-csi2-ov5640-dtbs := k3-am62a7-sk.dtb \
101+
k3-am62x-sk-csi2-ov5640.dtbo
102+
k3-am62a7-sk-csi2-tevi-ov5640-dtbs := k3-am62a7-sk.dtb \
103+
k3-am62x-sk-csi2-tevi-ov5640.dtbo
104+
k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
105+
k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
106+
k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
107+
k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
108+
k3-j721e-evm-pcie0-ep-dtbs := k3-j721e-common-proc-board.dtb \
109+
k3-j721e-evm-pcie0-ep.dtbo
110+
k3-j721s2-evm-pcie1-ep-dtbs := k3-j721s2-common-proc-board.dtb \
111+
k3-j721s2-evm-pcie1-ep.dtbo
112+
dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
113+
k3-am625-beagleplay-csi2-tevi-ov5640.dtb \
114+
k3-am625-sk-csi2-imx219.dtb \
115+
k3-am625-sk-csi2-ov5640.dtb \
116+
k3-am625-sk-csi2-tevi-ov5640.dtb \
117+
k3-am625-sk-hdmi-audio.dtb \
118+
k3-am62-lp-sk-hdmi-audio.dtb \
119+
k3-am62a7-sk-csi2-imx219.dtb \
120+
k3-am62a7-sk-csi2-ov5640.dtb \
121+
k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
122+
k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
123+
k3-j721e-evm-pcie0-ep.dtb \
124+
k3-j721s2-evm-pcie1-ep.dtb
125+
83126
# Enable support for device-tree overlays
127+
DTC_FLAGS_k3-am625-beagleplay += -@
84128
DTC_FLAGS_k3-am625-sk += -@
85129
DTC_FLAGS_k3-am62-lp-sk += -@
130+
DTC_FLAGS_k3-am62a7-sk += -@
131+
DTC_FLAGS_k3-am642-tqma64xxl-mbax4xxl += -@
86132
DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
87133
DTC_FLAGS_k3-j721e-common-proc-board += -@
88134
DTC_FLAGS_k3-j721s2-common-proc-board += -@

arch/arm64/boot/dts/ti/k3-am62-main.dtsi

Lines changed: 92 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,13 @@
121121
<0x00 0x4c000000 0x00 0x20000>,
122122
<0x00 0x4a820000 0x00 0x20000>,
123123
<0x00 0x4aa40000 0x00 0x20000>,
124-
<0x00 0x4bc00000 0x00 0x100000>;
125-
reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt";
124+
<0x00 0x4bc00000 0x00 0x100000>,
125+
<0x00 0x48600000 0x00 0x8000>,
126+
<0x00 0x484a4000 0x00 0x2000>,
127+
<0x00 0x484c2000 0x00 0x2000>,
128+
<0x00 0x48420000 0x00 0x2000>;
129+
reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt",
130+
"ring", "tchan", "rchan", "bchan";
126131
msi-parent = <&inta_main_dmss>;
127132
#dma-cells = <3>;
128133

@@ -138,8 +143,13 @@
138143
reg = <0x00 0x485c0000 0x00 0x100>,
139144
<0x00 0x4a800000 0x00 0x20000>,
140145
<0x00 0x4aa00000 0x00 0x40000>,
141-
<0x00 0x4b800000 0x00 0x400000>;
142-
reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt";
146+
<0x00 0x4b800000 0x00 0x400000>,
147+
<0x00 0x485e0000 0x00 0x10000>,
148+
<0x00 0x484a0000 0x00 0x2000>,
149+
<0x00 0x484c0000 0x00 0x2000>,
150+
<0x00 0x48430000 0x00 0x1000>;
151+
reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt",
152+
"ring", "tchan", "rchan", "rflow";
143153
msi-parent = <&inta_main_dmss>;
144154
#dma-cells = <2>;
145155

@@ -502,6 +512,9 @@
502512
main_gpio0: gpio@600000 {
503513
compatible = "ti,am64-gpio", "ti,keystone-gpio";
504514
reg = <0x0 0x00600000 0x0 0x100>;
515+
gpio-ranges = <&main_pmx0 0 0 32>,
516+
<&main_pmx0 32 33 38>,
517+
<&main_pmx0 70 72 22>;
505518
gpio-controller;
506519
#gpio-cells = <2>;
507520
interrupt-parent = <&main_gpio_intr>;
@@ -520,6 +533,10 @@
520533
compatible = "ti,am64-gpio", "ti,keystone-gpio";
521534
reg = <0x0 0x00601000 0x0 0x100>;
522535
gpio-controller;
536+
gpio-ranges = <&main_pmx0 0 94 41>,
537+
<&main_pmx0 41 136 6>,
538+
<&main_pmx0 47 143 3>,
539+
<&main_pmx0 50 149 2>;
523540
#gpio-cells = <2>;
524541
interrupt-parent = <&main_gpio_intr>;
525542
interrupts = <180>, <181>, <182>,
@@ -675,6 +692,15 @@
675692
};
676693
};
677694

695+
gpu: gpu@fd00000 {
696+
compatible = "ti,am62-gpu", "img,img-axe";
697+
reg = <0x00 0x0fd00000 0x00 0x20000>;
698+
clocks = <&k3_clks 187 0>;
699+
clock-names = "core";
700+
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
701+
power-domains = <&k3_pds 187 TI_SCI_PD_EXCLUSIVE>;
702+
};
703+
678704
cpsw3g: ethernet@8000000 {
679705
compatible = "ti,am642-cpsw-nuss";
680706
#address-cells = <2>;
@@ -965,4 +991,66 @@
965991
power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>;
966992
status = "disabled";
967993
};
994+
995+
ti_csi2rx0: ticsi2rx@30102000 {
996+
compatible = "ti,j721e-csi2rx-shim";
997+
dmas = <&main_bcdma 0 0x4700 0>;
998+
dma-names = "rx0";
999+
reg = <0x00 0x30102000 0x00 0x1000>;
1000+
power-domains = <&k3_pds 182 TI_SCI_PD_EXCLUSIVE>;
1001+
#address-cells = <2>;
1002+
#size-cells = <2>;
1003+
ranges;
1004+
status = "disabled";
1005+
1006+
cdns_csi2rx0: csi-bridge@30101000 {
1007+
compatible = "ti,j721e-csi2rx", "cdns,csi2rx";
1008+
reg = <0x00 0x30101000 0x00 0x1000>;
1009+
clocks = <&k3_clks 182 0>, <&k3_clks 182 3>, <&k3_clks 182 0>,
1010+
<&k3_clks 182 0>, <&k3_clks 182 4>, <&k3_clks 182 4>;
1011+
clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
1012+
"pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk";
1013+
phys = <&dphy0>;
1014+
phy-names = "dphy";
1015+
1016+
ports {
1017+
#address-cells = <1>;
1018+
#size-cells = <0>;
1019+
1020+
csi0_port0: port@0 {
1021+
reg = <0>;
1022+
status = "disabled";
1023+
};
1024+
1025+
csi0_port1: port@1 {
1026+
reg = <1>;
1027+
status = "disabled";
1028+
};
1029+
1030+
csi0_port2: port@2 {
1031+
reg = <2>;
1032+
status = "disabled";
1033+
};
1034+
1035+
csi0_port3: port@3 {
1036+
reg = <3>;
1037+
status = "disabled";
1038+
};
1039+
1040+
csi0_port4: port@4 {
1041+
reg = <4>;
1042+
status = "disabled";
1043+
};
1044+
};
1045+
};
1046+
};
1047+
1048+
dphy0: phy@30110000 {
1049+
compatible = "cdns,dphy-rx";
1050+
reg = <0x00 0x30110000 0x00 0x1100>;
1051+
#phy-cells = <0>;
1052+
power-domains = <&k3_pds 185 TI_SCI_PD_EXCLUSIVE>;
1053+
status = "disabled";
1054+
};
1055+
9681056
};

arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,5 @@
214214

215215
/* Verdin UART_2 */
216216
&wkup_uart0 {
217-
/* FIXME: WKUP UART0 is used by DM firmware */
218-
status = "reserved";
217+
status = "okay";
219218
};

arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,5 @@
235235

236236
/* Verdin UART_2 */
237237
&wkup_uart0 {
238-
/* FIXME: WKUP UART0 is used by DM firmware */
239-
status = "reserved";
238+
status = "okay";
240239
};

0 commit comments

Comments
 (0)