Skip to content

Commit 1558209

Browse files
hal-fengConchuOD
authored andcommitted
riscv: dts: starfive: visionfive 2: Fix uart0 pins sort order
Node uart0_pins should be sorted alphabetically. Signed-off-by: Hal Feng <hal.feng@starfivetech.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent 2f9f488 commit 1558209

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

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

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -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 {

0 commit comments

Comments
 (0)