Skip to content

Commit b4f8192

Browse files
committed
Merge tag 'ti-k3-dt-for-v6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux into soc/dt
TI K3 device tree updates for v6.11 Generic Fixups/Cleanups: - main_pktdma reg ranges fixes - dtbs_check warning cleanups with addition of cpsw-mac-efuse node and dropping "syscon", "simple-mfd" compatibles in favor of simple-bus - Disable McASP FIFOs across SoCs for better latency - Add memory node to bootloader stage with bootph-all - Restructure am62p and j722s dtsi for share nodes across these SoCs - DT warning fixes around USB type-C connector node (AM62/AM62P) SoC Specific features and Fixes: AM62 - GPMC and ELM addition AM62A - Enable RTC by default - Crypto accelerator support AM64 and AM65 - PRU system event support AM69/J784S4: - CPSW2G and CPSW9G addition with QSGMII and UXSGMII board support - PCIe, USB, McASP, EHRPWM node additions AM67/J722s - Fix to update GPIO count - Add gpio-ranges definition - McASP support for audio - PCIe, USB, Serdes support Board Specific features and fixes: AM62 - am62x-phyboard-lyra carrier board support - am625-verdin: nau8822 PLL support - sk: CMA node addition - lp-sk: NAND expansion card overlay AM62A - New phyboard-lyra-am62ax from phytec - CMA node addition AM64: - phycore-board: PMIC support - hummingbird-t: RS485 RTS pin polarity update - am6xx-phycore-som: overlays for variants w/o SPI, RTC, ETH PHY or w/ QSPI - EVM: GPMC NAND expansion card overlay - EVM: ICSSG ethernet MII mode overlay support - SK: power supply temp sensors support AM68 - SK: PMIC, OSPI J721e - SK: MCAN Support - Overlay for infotainment expansion board AM69/J784S4 - EVM: PCIe RC/EP, USB3, MCAN support - SK: PMIC support * tag 'ti-k3-dt-for-v6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux: (89 commits) arm64: dts: ti: k3-am62a7-sk: Reserve 576MiB of global CMA arm64: dts: ti: k3-am62x-sk-common: Reserve 128MiB of global CMA arm64: dts: ti: k3-am62x-sk-common: Fix graph_child_address warns arm64: dts: ti: k3-am62p5-sk: fix graph_child_address warnings arm64: dts: ti: k3-j722s: Add gpio-ranges properties arm64: dts: ti: k3-am62p: Add gpio-ranges properties arm64: dts: ti: k3-pinctrl: Define a generic GPIO MUX Mode arm64: dts: ti: k3-am62: Add cpsw-mac-efuse node to wkup_conf arm64: dts: ti: k3-am62a: Add cpsw-mac-efuse node to wkup_conf arm64: dts: ti: k3-j784s4: Add cpsw-mac-efuse node to mcu_conf arm64: dts: ti: k3-j721s2: Add cpsw-mac-efuse node to mcu_conf arm64: dts: ti: k3-j721e: Add cpsw-mac-efuse node to mcu_conf arm64: dts: ti: k3-j7200: Add cpsw-mac-efuse node to mcu_conf arm64: dts: ti: k3-am65: Add cpsw-mac-efuse node to mcu_conf arm: dts: k3-am642-evm-nand: Add bootph-all to NAND related nodes arm64: dts: ti: Add basic support for phyBOARD-Lyra-AM62Ax dt-bindings: arm: ti: Add bindings for PHYTEC AM62Ax based hardware arm64: dts: ti: Add am62x-phyboard-lyra carrier board arm64: dts: ti: k3-am62a: Enable AUDIO_REFCLKx arm64: dts: ti: k3-j784s4-evm: Enable analog audio support ... Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 03b4edd + 6406c5d commit b4f8192

File tree

69 files changed

+5153
-1644
lines changed

Some content is hidden

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

69 files changed

+5153
-1644
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ properties:
2525
- ti,am62a7-sk
2626
- const: ti,am62a7
2727

28+
- description: K3 AM62A7 SoC PHYTEC phyBOARD-Lyra
29+
items:
30+
- const: phytec,am62a7-phyboard-lyra-rdk
31+
- const: phytec,am62a-phycore-som
32+
- const: ti,am62a7
33+
2834
- description: K3 AM62P5 SoC and Boards
2935
items:
3036
- enum:

arch/arm64/boot/dts/ti/Makefile

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dahlia.dtb
2222
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dev.dtb
2323
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-mallow.dtb
2424
dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-yavia.dtb
25+
dtb-$(CONFIG_ARCH_K3) += k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo
2526
dtb-$(CONFIG_ARCH_K3) += k3-am62x-phyboard-lyra-gpio-fan.dtbo
2627
dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb
28+
dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk-nand.dtbo
2729

2830
# Boards with AM62Ax SoC
2931
dtb-$(CONFIG_ARCH_K3) += k3-am62a7-sk.dtb
32+
dtb-$(CONFIG_ARCH_K3) += k3-am62a7-phyboard-lyra-rdk.dtb
3033

3134
# Boards with AM62Px SoC
3235
dtb-$(CONFIG_ARCH_K3) += k3-am62p5-sk.dtb
@@ -44,16 +47,26 @@ k3-am642-hummingboard-t-usb3-dtbs := \
4447
k3-am642-hummingboard-t.dtb k3-am642-hummingboard-t-usb3.dtbo
4548
dtb-$(CONFIG_ARCH_K3) += k3-am642-evm.dtb
4649
dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-icssg1-dualemac.dtbo
50+
dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-icssg1-dualemac-mii.dtbo
4751
dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t.dtb
4852
dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-pcie.dtb
4953
dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-usb3.dtb
54+
k3-am642-evm-nand-dtbs := k3-am642-evm.dtb k3-am642-evm-nand.dtbo
55+
dtb-$(CONFIG_ARCH_K3) += k3-am642-evm-nand.dtb
5056
dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb
5157
dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-gpio-fan.dtbo
58+
dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-pcie-usb2.dtbo
5259
dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb
5360
dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb
5461
dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
5562
dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-wlan.dtbo
5663

64+
# Common overlays for the phyCORE-AM6* family of boards
65+
dtb-$(CONFIG_ARCH_K3) += k3-am6xx-phycore-disable-eth-phy.dtbo
66+
dtb-$(CONFIG_ARCH_K3) += k3-am6xx-phycore-disable-rtc.dtbo
67+
dtb-$(CONFIG_ARCH_K3) += k3-am6xx-phycore-disable-spi-nor.dtbo
68+
dtb-$(CONFIG_ARCH_K3) += k3-am6xx-phycore-qspi-nor.dtbo
69+
5770
# Boards with AM65x SoC
5871
k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb \
5972
k3-am654-base-board-rocktech-rk101-panel.dtbo \
@@ -81,6 +94,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-j7200-evm.dtb
8194
# Boards with J721e SoC
8295
k3-j721e-evm-dtbs := k3-j721e-common-proc-board.dtb k3-j721e-evm-quad-port-eth-exp.dtbo
8396
dtb-$(CONFIG_ARCH_K3) += k3-j721e-beagleboneai64.dtb
97+
dtb-$(CONFIG_ARCH_K3) += k3-j721e-common-proc-board-infotainment.dtbo
8498
dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm.dtb
8599
dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-gesi-exp-board.dtbo
86100
dtb-$(CONFIG_ARCH_K3) += k3-j721e-evm-pcie0-ep.dtbo
@@ -101,14 +115,27 @@ dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm.dtb
101115
# Boards with J784s4 SoC
102116
dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
103117
dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
118+
dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-pcie0-pcie1-ep.dtbo
119+
dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-quad-port-eth-exp1.dtbo
120+
dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
104121

105122
# Build time test only, enabled by CONFIG_OF_ALL_DTBS
106123
k3-am625-beagleplay-csi2-ov5640-dtbs := k3-am625-beagleplay.dtb \
107124
k3-am625-beagleplay-csi2-ov5640.dtbo
108125
k3-am625-beagleplay-csi2-tevi-ov5640-dtbs := k3-am625-beagleplay.dtb \
109126
k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
127+
k3-am625-phyboard-lyra-1-4-ghz-opp.dtbs := k3-am625-phyboard-lyra-rdk.dtb \
128+
k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo
129+
k3-am625-phyboard-lyra-disable-eth-phy-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
130+
k3-am6xx-phycore-disable-eth-phy.dtbo
131+
k3-am625-phyboard-lyra-disable-rtc-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
132+
k3-am6xx-phycore-disable-rtc.dtbo
133+
k3-am625-phyboard-lyra-disable-spi-nor-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
134+
k3-am6xx-phycore-disable-spi-nor.dtbo
110135
k3-am625-phyboard-lyra-gpio-fan-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
111136
k3-am62x-phyboard-lyra-gpio-fan.dtbo
137+
k3-am625-phyboard-lyra-qspi-nor-dtbs := k3-am625-phyboard-lyra-rdk.dtb \
138+
k3-am6xx-phycore-qspi-nor.dtbo
112139
k3-am625-sk-csi2-imx219-dtbs := k3-am625-sk.dtb \
113140
k3-am62x-sk-csi2-imx219.dtbo
114141
k3-am625-sk-csi2-ov5640-dtbs := k3-am625-sk.dtb \
@@ -132,8 +159,20 @@ k3-am62p5-sk-csi2-tevi-ov5640-dtbs := k3-am62p5-sk.dtb \
132159
k3-am62x-sk-csi2-tevi-ov5640.dtbo
133160
k3-am642-evm-icssg1-dualemac-dtbs := \
134161
k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac.dtbo
162+
k3-am642-evm-icssg1-dualemac-mii-dtbs := \
163+
k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac-mii.dtbo
164+
k3-am642-phyboard-electra-disable-eth-phy-dtbs := \
165+
k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-eth-phy.dtbo
166+
k3-am642-phyboard-electra-disable-rtc-dtbs := \
167+
k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-rtc.dtbo
168+
k3-am642-phyboard-electra-disable-spi-nor-dtbs := \
169+
k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-disable-spi-nor.dtbo
170+
k3-am642-phyboard-electra-qspi-nor-dtbs := \
171+
k3-am642-phyboard-electra-rdk.dtb k3-am6xx-phycore-qspi-nor.dtbo
135172
k3-am642-phyboard-electra-gpio-fan-dtbs := \
136173
k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-gpio-fan.dtbo
174+
k3-am642-phyboard-electra-pcie-usb2-dtbs := \
175+
k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-pcie-usb2.dtbo
137176
k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \
138177
k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo
139178
k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \
@@ -142,12 +181,20 @@ k3-am68-sk-base-board-csi2-dual-imx219-dtbs := k3-am68-sk-base-board.dtb \
142181
k3-j721e-sk-csi2-dual-imx219.dtbo
143182
k3-am69-sk-csi2-dual-imx219-dtbs := k3-am69-sk.dtb \
144183
k3-j721e-sk-csi2-dual-imx219.dtbo
184+
k3-j721e-common-proc-board-infotainment-dtbs := k3-j721e-common-proc-board.dtb \
185+
k3-j721e-common-proc-board-infotainment.dtbo
145186
k3-j721e-evm-pcie0-ep-dtbs := k3-j721e-common-proc-board.dtb \
146187
k3-j721e-evm-pcie0-ep.dtbo
147188
k3-j721e-sk-csi2-dual-imx219-dtbs := k3-j721e-sk.dtb \
148189
k3-j721e-sk-csi2-dual-imx219.dtbo
149190
k3-j721s2-evm-pcie1-ep-dtbs := k3-j721s2-common-proc-board.dtb \
150191
k3-j721s2-evm-pcie1-ep.dtbo
192+
k3-j784s4-evm-pcie0-pcie1-ep-dtbs := k3-j784s4-evm.dtb \
193+
k3-j784s4-evm-pcie0-pcie1-ep.dtbo
194+
k3-j784s4-evm-quad-port-eth-exp1-dtbs := k3-j784s4-evm.dtb \
195+
k3-j784s4-evm-quad-port-eth-exp1.dtbo
196+
k3-j784s4-evm-usxgmii-exp1-exp2-dtbs := k3-j784s4-evm.dtb \
197+
k3-j784s4-evm-usxgmii-exp1-exp2.dtbo
151198
dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
152199
k3-am625-beagleplay-csi2-tevi-ov5640.dtb \
153200
k3-am625-sk-csi2-imx219.dtb \
@@ -162,17 +209,23 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
162209
k3-am62p5-sk-csi2-ov5640.dtb \
163210
k3-am62p5-sk-csi2-tevi-ov5640.dtb \
164211
k3-am642-evm-icssg1-dualemac.dtb \
212+
k3-am642-evm-icssg1-dualemac-mii.dtb \
165213
k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \
166214
k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \
167215
k3-am68-sk-base-board-csi2-dual-imx219.dtb \
168216
k3-am69-sk-csi2-dual-imx219.dtb \
217+
k3-j721e-common-proc-board-infotainment.dtb \
169218
k3-j721e-evm-pcie0-ep.dtb \
170219
k3-j721e-sk-csi2-dual-imx219.dtb \
171-
k3-j721s2-evm-pcie1-ep.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
172224

173225
# Enable support for device-tree overlays
174226
DTC_FLAGS_k3-am625-beagleplay += -@
175227
DTC_FLAGS_k3-am625-phyboard-lyra-rdk += -@
228+
DTC_FLAGS_k3-am62a7-phyboard-lyra-rdk += -@
176229
DTC_FLAGS_k3-am625-sk += -@
177230
DTC_FLAGS_k3-am62-lp-sk += -@
178231
DTC_FLAGS_k3-am62a7-sk += -@
@@ -186,3 +239,4 @@ DTC_FLAGS_k3-am69-sk += -@
186239
DTC_FLAGS_k3-j721e-common-proc-board += -@
187240
DTC_FLAGS_k3-j721e-sk += -@
188241
DTC_FLAGS_k3-j721s2-common-proc-board += -@
242+
DTC_FLAGS_k3-j784s4-evm += -@
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/
4+
*/
5+
6+
/dts-v1/;
7+
/plugin/;
8+
#include <dt-bindings/gpio/gpio.h>
9+
#include <dt-bindings/interrupt-controller/irq.h>
10+
#include "k3-pinctrl.h"
11+
12+
&mcasp1 {
13+
status = "disabled";
14+
};
15+
16+
&main_pmx0 {
17+
gpmc0_pins_default: gpmc0-pins-default {
18+
pinctrl-single,pins = <
19+
AM62X_IOPAD(0x003c, PIN_INPUT, 0) /* (K19) GPMC0_AD0 */
20+
AM62X_IOPAD(0x0040, PIN_INPUT, 0) /* (L19) GPMC0_AD1 */
21+
AM62X_IOPAD(0x0044, PIN_INPUT, 0) /* (L20) GPMC0_AD2 */
22+
AM62X_IOPAD(0x0048, PIN_INPUT, 0) /* (L21) GPMC0_AD3 */
23+
AM62X_IOPAD(0x004c, PIN_INPUT, 0) /* (M21) GPMC0_AD4 */
24+
AM62X_IOPAD(0x0050, PIN_INPUT, 0) /* (L17) GPMC0_AD5 */
25+
AM62X_IOPAD(0x0054, PIN_INPUT, 0) /* (L18) GPMC0_AD6 */
26+
AM62X_IOPAD(0x0058, PIN_INPUT, 0) /* (M20) GPMC0_AD7 */
27+
AM62X_IOPAD(0x0098, PIN_INPUT, 0) /* (P21) GPMC0_WAIT0 */
28+
AM62X_IOPAD(0x00a8, PIN_OUTPUT, 0) /* (J18) GPMC0_CSn0 */
29+
AM62X_IOPAD(0x0084, PIN_OUTPUT, 0) /* (K20) GPMC0_ADVn_ALE */
30+
AM62X_IOPAD(0x0088, PIN_OUTPUT, 0) /* (K21) GPMC0_OEn_REn */
31+
AM62X_IOPAD(0x008c, PIN_OUTPUT, 0) /* (J17) GPMC0_WEn */
32+
AM62X_IOPAD(0x0090, PIN_OUTPUT, 0) /* (K17) GPMC0_BE0n_CLE */
33+
AM62X_IOPAD(0x00a0, PIN_OUTPUT, 0) /* (J20) GPMC0_WPn */
34+
>;
35+
};
36+
};
37+
38+
&elm0 {
39+
status = "okay";
40+
};
41+
42+
&gpmc0 {
43+
status = "okay";
44+
pinctrl-names = "default";
45+
pinctrl-0 = <&gpmc0_pins_default>;
46+
#address-cells = <2>;
47+
#size-cells = <1>;
48+
49+
nand@0,0 {
50+
compatible = "ti,am64-nand";
51+
reg = <0 0 64>; /* device IO registers */
52+
interrupt-parent = <&gpmc0>;
53+
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
54+
<1 IRQ_TYPE_NONE>; /* termcount */
55+
rb-gpios = <&gpmc0 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
56+
ti,nand-xfer-type = "prefetch-polled";
57+
ti,nand-ecc-opt = "bch8"; /* BCH8: Bootrom limitation */
58+
ti,elm-id = <&elm0>;
59+
nand-bus-width = <8>;
60+
gpmc,device-width = <1>;
61+
gpmc,sync-clk-ps = <0>;
62+
gpmc,cs-on-ns = <0>;
63+
gpmc,cs-rd-off-ns = <40>;
64+
gpmc,cs-wr-off-ns = <40>;
65+
gpmc,adv-on-ns = <0>;
66+
gpmc,adv-rd-off-ns = <25>;
67+
gpmc,adv-wr-off-ns = <25>;
68+
gpmc,we-on-ns = <0>;
69+
gpmc,we-off-ns = <20>;
70+
gpmc,oe-on-ns = <3>;
71+
gpmc,oe-off-ns = <30>;
72+
gpmc,access-ns = <30>;
73+
gpmc,rd-cycle-ns = <40>;
74+
gpmc,wr-cycle-ns = <40>;
75+
gpmc,bus-turnaround-ns = <0>;
76+
gpmc,cycle2cycle-delay-ns = <0>;
77+
gpmc,clk-activation-ns = <0>;
78+
gpmc,wr-access-ns = <40>;
79+
gpmc,wr-data-mux-bus-ns = <0>;
80+
81+
partitions {
82+
compatible = "fixed-partitions";
83+
#address-cells = <1>;
84+
#size-cells = <1>;
85+
86+
partition@0 {
87+
label = "NAND.tiboot3";
88+
reg = <0x00000000 0x00200000>; /* 2M */
89+
};
90+
partition@200000 {
91+
label = "NAND.tispl";
92+
reg = <0x00200000 0x00200000>; /* 2M */
93+
};
94+
partition@400000 {
95+
label = "NAND.tiboot3.backup"; /* 2M */
96+
reg = <0x00400000 0x00200000>; /* BootROM looks at 4M */
97+
};
98+
partition@600000 {
99+
label = "NAND.u-boot";
100+
reg = <0x00600000 0x00400000>; /* 4M */
101+
};
102+
partition@a00000 {
103+
label = "NAND.u-boot-env";
104+
reg = <0x00a00000 0x00040000>; /* 256K */
105+
};
106+
partition@a40000 {
107+
label = "NAND.u-boot-env.backup";
108+
reg = <0x00a40000 0x00040000>; /* 256K */
109+
};
110+
partition@a80000 {
111+
label = "NAND.file-system";
112+
reg = <0x00a80000 0x3f580000>;
113+
};
114+
};
115+
};
116+
};

arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,3 +228,7 @@
228228
&tlv320aic3106 {
229229
DVDD-supply = <&buck2_reg>;
230230
};
231+
232+
&gpmc0 {
233+
ranges = <0 0 0x00 0x51000000 0x01000000>; /* CS0 space. Min partition = 16MB */
234+
};

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

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@
141141
compatible = "ti,am64-dmss-pktdma";
142142
reg = <0x00 0x485c0000 0x00 0x100>,
143143
<0x00 0x4a800000 0x00 0x20000>,
144-
<0x00 0x4aa00000 0x00 0x40000>,
145-
<0x00 0x4b800000 0x00 0x400000>,
144+
<0x00 0x4aa00000 0x00 0x20000>,
145+
<0x00 0x4b800000 0x00 0x200000>,
146146
<0x00 0x485e0000 0x00 0x10000>,
147147
<0x00 0x484a0000 0x00 0x2000>,
148148
<0x00 0x484c0000 0x00 0x2000>,
@@ -207,10 +207,6 @@
207207
crypto: crypto@40900000 {
208208
compatible = "ti,am62-sa3ul";
209209
reg = <0x00 0x40900000 0x00 0x1200>;
210-
#address-cells = <2>;
211-
#size-cells = <2>;
212-
ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>;
213-
214210
dmas = <&main_pktdma 0xf501 0>, <&main_pktdma 0x7506 0>,
215211
<&main_pktdma 0x7507 0>;
216212
dma-names = "tx", "rx1", "rx2";
@@ -739,7 +735,7 @@
739735
label = "port1";
740736
phys = <&phy_gmii_sel 1>;
741737
mac-address = [00 00 00 00 00 00];
742-
ti,syscon-efuse = <&wkup_conf 0x200>;
738+
ti,syscon-efuse = <&cpsw_mac_syscon 0x0>;
743739
};
744740

745741
cpsw_port2: port@2 {
@@ -1057,4 +1053,33 @@
10571053
status = "disabled";
10581054
};
10591055

1056+
gpmc0: memory-controller@3b000000 {
1057+
compatible = "ti,am64-gpmc";
1058+
power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
1059+
clocks = <&k3_clks 80 0>;
1060+
clock-names = "fck";
1061+
reg = <0x00 0x03b000000 0x00 0x400>,
1062+
<0x00 0x050000000 0x00 0x8000000>;
1063+
reg-names = "cfg", "data";
1064+
interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1065+
gpmc,num-cs = <3>;
1066+
gpmc,num-waitpins = <2>;
1067+
#address-cells = <2>;
1068+
#size-cells = <1>;
1069+
interrupt-controller;
1070+
#interrupt-cells = <2>;
1071+
gpio-controller;
1072+
#gpio-cells = <2>;
1073+
status = "disabled";
1074+
};
1075+
1076+
elm0: ecc@25010000 {
1077+
compatible = "ti,am64-elm";
1078+
reg = <0x00 0x25010000 0x00 0x2000>;
1079+
interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
1080+
power-domains = <&k3_pds 54 TI_SCI_PD_EXCLUSIVE>;
1081+
clocks = <&k3_clks 54 0>;
1082+
clock-names = "fck";
1083+
status = "disabled";
1084+
};
10601085
};

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
simple-audio-card,bitclock-master = <&codec_dai>;
1515
simple-audio-card,format = "i2s";
1616
simple-audio-card,frame-master = <&codec_dai>;
17+
simple-audio-card,mclk-fs = <256>;
1718
simple-audio-card,name = "verdin-nau8822";
1819
simple-audio-card,routing =
1920
"Headphones", "LHP",
@@ -34,7 +35,6 @@
3435
"Line", "Line In";
3536

3637
codec_dai: simple-audio-card,codec {
37-
clocks = <&audio_refclk1>;
3838
sound-dai = <&nau8822_1a>;
3939
};
4040

@@ -107,6 +107,8 @@
107107
reg = <0x1a>;
108108
pinctrl-names = "default";
109109
pinctrl-0 = <&pinctrl_i2s1_mclk>;
110+
clock-names = "mclk";
111+
clocks = <&audio_refclk1>;
110112
#sound-dai-cells = <0>;
111113
};
112114

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,8 +1364,6 @@
13641364
0 0 0 0
13651365
>;
13661366
tdm-slots = <2>;
1367-
rx-num-evt = <32>;
1368-
tx-num-evt = <32>;
13691367
#sound-dai-cells = <0>;
13701368
status = "disabled";
13711369
};
@@ -1382,8 +1380,6 @@
13821380
0 0 0 0
13831381
>;
13841382
tdm-slots = <2>;
1385-
rx-num-evt = <32>;
1386-
tx-num-evt = <32>;
13871383
#sound-dai-cells = <0>;
13881384
status = "disabled";
13891385
};

0 commit comments

Comments
 (0)