Skip to content

Commit c374e87

Browse files
committed
Merge tag 'riscv-dt-fixes-for-v6.6-rc3' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux into arm/fixes
RISC-V Devicetree fixes for v6.6-rc3 Starfive: A fix for the size of the NOR flash that was causing complaints from the MTD subsystem during boot & two issues that a certain someone introduced while resolving merge conflicts. Of the latter, one is a cosmetic ordering change & the other lead to the usb controller being disabled. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> * tag 'riscv-dt-fixes-for-v6.6-rc3' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux: riscv: dts: starfive: visionfive 2: Fix uart0 pins sort order riscv: dts: starfive: visionfive 2: Enable usb0 riscv: dts: starfive: fix NOR flash reserved-data partition size Link: https://lore.kernel.org/r/20230916-previous-oversold-9d30891ac6cf@spud Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 7d3e4e9 + 1558209 commit c374e87

File tree

1 file changed

+26
-25
lines changed

1 file changed

+26
-25
lines changed

arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
reg = <0x100000 0x400000>;
263263
};
264264
reserved-data@600000 {
265-
reg = <0x600000 0x1000000>;
265+
reg = <0x600000 0xa00000>;
266266
};
267267
};
268268
};
@@ -440,30 +440,6 @@
440440
};
441441
};
442442

443-
uart0_pins: uart0-0 {
444-
tx-pins {
445-
pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX,
446-
GPOEN_ENABLE,
447-
GPI_NONE)>;
448-
bias-disable;
449-
drive-strength = <12>;
450-
input-disable;
451-
input-schmitt-disable;
452-
slew-rate = <0>;
453-
};
454-
455-
rx-pins {
456-
pinmux = <GPIOMUX(6, GPOUT_LOW,
457-
GPOEN_DISABLE,
458-
GPI_SYS_UART0_RX)>;
459-
bias-disable; /* external pull-up */
460-
drive-strength = <2>;
461-
input-enable;
462-
input-schmitt-enable;
463-
slew-rate = <0>;
464-
};
465-
};
466-
467443
tdm_pins: tdm-0 {
468444
tx-pins {
469445
pinmux = <GPIOMUX(44, GPOUT_SYS_TDM_TXD,
@@ -497,6 +473,30 @@
497473
input-enable;
498474
};
499475
};
476+
477+
uart0_pins: uart0-0 {
478+
tx-pins {
479+
pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX,
480+
GPOEN_ENABLE,
481+
GPI_NONE)>;
482+
bias-disable;
483+
drive-strength = <12>;
484+
input-disable;
485+
input-schmitt-disable;
486+
slew-rate = <0>;
487+
};
488+
489+
rx-pins {
490+
pinmux = <GPIOMUX(6, GPOUT_LOW,
491+
GPOEN_DISABLE,
492+
GPI_SYS_UART0_RX)>;
493+
bias-disable; /* external pull-up */
494+
drive-strength = <2>;
495+
input-enable;
496+
input-schmitt-enable;
497+
slew-rate = <0>;
498+
};
499+
};
500500
};
501501

502502
&tdm {
@@ -513,6 +513,7 @@
513513

514514
&usb0 {
515515
dr_mode = "peripheral";
516+
status = "okay";
516517
};
517518

518519
&U74_1 {

0 commit comments

Comments
 (0)