Skip to content

Commit 6b1124c

Browse files
committed
Merge tag 'ti-k3-dt-fixes-for-v6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux into arm/fixes
Devicetree fixes for TI K3 platforms for v6.11 Critical fixes for the following: * j784s4: Fix for McASP DMA map * J722s/AM62p: GPIO ranges fixes * k3-am62-verdin-dahlia: sleep-moci fixes for deep-sleep (revert) * tag 'ti-k3-dt-fixes-for-v6.11' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux: arm64: dts: ti: k3-j784s4-main: Correct McASP DMAs arm64: dts: ti: k3-j722s: Fix gpio-range for main_pmx0 arm64: dts: ti: k3-am62p: Fix gpio-range for main_pmx0 arm64: dts: ti: k3-am62p: Add gpio-ranges for mcu_gpio0 arm64: dts: ti: k3-am62-verdin-dahlia: Keep CTRL_SLEEP_MOCI# regulator on arm64: dts: ti: k3-j784s4-evm: Consolidate serdes0 references arm64: dts: ti: k3-j784s4-evm: Assign only lanes 0 and 1 to PCIe1
2 parents cddaac0 + 402d336 commit 6b1124c

File tree

7 files changed

+16
-49
lines changed

7 files changed

+16
-49
lines changed

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

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@
4343
sound-dai = <&mcasp0>;
4444
};
4545
};
46-
47-
reg_usb_hub: regulator-usb-hub {
48-
compatible = "regulator-fixed";
49-
enable-active-high;
50-
/* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
51-
gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
52-
regulator-boot-on;
53-
regulator-name = "HUB_PWR_EN";
54-
};
5546
};
5647

5748
/* Verdin ETHs */
@@ -193,11 +184,6 @@
193184
status = "okay";
194185
};
195186

196-
/* Do not force CTRL_SLEEP_MOCI# always enabled */
197-
&reg_force_sleep_moci {
198-
status = "disabled";
199-
};
200-
201187
/* Verdin SD_1 */
202188
&sdhci1 {
203189
status = "okay";
@@ -218,15 +204,7 @@
218204
};
219205

220206
&usb1 {
221-
#address-cells = <1>;
222-
#size-cells = <0>;
223207
status = "okay";
224-
225-
usb-hub@1 {
226-
compatible = "usb424,2744";
227-
reg = <1>;
228-
vdd-supply = <&reg_usb_hub>;
229-
};
230208
};
231209

232210
/* Verdin CTRL_WAKE1_MICO# */

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,6 @@
138138
vin-supply = <&reg_1v8>;
139139
};
140140

141-
/*
142-
* By default we enable CTRL_SLEEP_MOCI#, this is required to have
143-
* peripherals on the carrier board powered.
144-
* If more granularity or power saving is required this can be disabled
145-
* in the carrier board device tree files.
146-
*/
147141
reg_force_sleep_moci: regulator-force-sleep-moci {
148142
compatible = "regulator-fixed";
149143
enable-active-high;

arch/arm64/boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@
146146
power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>;
147147
clocks = <&k3_clks 79 0>;
148148
clock-names = "gpio";
149+
gpio-ranges = <&mcu_pmx0 0 0 21>, <&mcu_pmx0 21 23 1>,
150+
<&mcu_pmx0 22 32 2>;
149151
};
150152

151153
mcu_rti0: watchdog@4880000 {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
&main_pmx0 {
4646
pinctrl-single,gpio-range =
4747
<&main_pmx0_range 0 32 PIN_GPIO_RANGE_IOPAD>,
48-
<&main_pmx0_range 33 92 PIN_GPIO_RANGE_IOPAD>,
48+
<&main_pmx0_range 33 38 PIN_GPIO_RANGE_IOPAD>,
49+
<&main_pmx0_range 72 22 PIN_GPIO_RANGE_IOPAD>,
4950
<&main_pmx0_range 137 5 PIN_GPIO_RANGE_IOPAD>,
5051
<&main_pmx0_range 143 3 PIN_GPIO_RANGE_IOPAD>,
5152
<&main_pmx0_range 149 2 PIN_GPIO_RANGE_IOPAD>;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@
193193
&main_pmx0 {
194194
pinctrl-single,gpio-range =
195195
<&main_pmx0_range 0 32 PIN_GPIO_RANGE_IOPAD>,
196-
<&main_pmx0_range 33 55 PIN_GPIO_RANGE_IOPAD>,
196+
<&main_pmx0_range 33 38 PIN_GPIO_RANGE_IOPAD>,
197+
<&main_pmx0_range 72 17 PIN_GPIO_RANGE_IOPAD>,
197198
<&main_pmx0_range 101 25 PIN_GPIO_RANGE_IOPAD>,
198199
<&main_pmx0_range 137 5 PIN_GPIO_RANGE_IOPAD>,
199200
<&main_pmx0_range 143 3 PIN_GPIO_RANGE_IOPAD>,

arch/arm64/boot/dts/ti/k3-j784s4-evm.dts

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,14 @@
12621262
&serdes0 {
12631263
status = "okay";
12641264

1265+
serdes0_pcie1_link: phy@0 {
1266+
reg = <0>;
1267+
cdns,num-lanes = <2>;
1268+
#phy-cells = <0>;
1269+
cdns,phy-type = <PHY_TYPE_PCIE>;
1270+
resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>;
1271+
};
1272+
12651273
serdes0_usb_link: phy@3 {
12661274
reg = <3>;
12671275
cdns,num-lanes = <1>;
@@ -1386,23 +1394,6 @@
13861394
phys = <&transceiver3>;
13871395
};
13881396

1389-
&serdes0 {
1390-
status = "okay";
1391-
1392-
serdes0_pcie1_link: phy@0 {
1393-
reg = <0>;
1394-
cdns,num-lanes = <4>;
1395-
#phy-cells = <0>;
1396-
cdns,phy-type = <PHY_TYPE_PCIE>;
1397-
resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>,
1398-
<&serdes_wiz0 3>, <&serdes_wiz0 4>;
1399-
};
1400-
};
1401-
1402-
&serdes_wiz0 {
1403-
status = "okay";
1404-
};
1405-
14061397
&pcie1_rc {
14071398
status = "okay";
14081399
num-lanes = <2>;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2755,7 +2755,7 @@
27552755
interrupts = <GIC_SPI 550 IRQ_TYPE_LEVEL_HIGH>,
27562756
<GIC_SPI 551 IRQ_TYPE_LEVEL_HIGH>;
27572757
interrupt-names = "tx", "rx";
2758-
dmas = <&main_udmap 0xc500>, <&main_udmap 0x4500>;
2758+
dmas = <&main_udmap 0xc403>, <&main_udmap 0x4403>;
27592759
dma-names = "tx", "rx";
27602760
clocks = <&k3_clks 268 0>;
27612761
clock-names = "fck";
@@ -2773,7 +2773,7 @@
27732773
interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>,
27742774
<GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>;
27752775
interrupt-names = "tx", "rx";
2776-
dmas = <&main_udmap 0xc501>, <&main_udmap 0x4501>;
2776+
dmas = <&main_udmap 0xc404>, <&main_udmap 0x4404>;
27772777
dma-names = "tx", "rx";
27782778
clocks = <&k3_clks 269 0>;
27792779
clock-names = "fck";

0 commit comments

Comments
 (0)