Skip to content

Commit dcde4e9

Browse files
HannahPeuckmannConchuOD
authored andcommitted
riscv: dts: starfive: visionfive 2: Remove non-existing TDM hardware
This partially reverts commit e7c304c ("riscv: dts: starfive: jh7110: add the node and pins configuration for tdm") This added device tree nodes for TDM hardware that is not actually on the VisionFive 2 board, but connected on the 40pin header. Many different extension boards could be added on those pins, so this should be handled by overlays instead. This also conflicts with the I2S node which also attempts to grab GPIO 44: starfive-jh7110-sys-pinctrl 13040000.pinctrl: pin GPIO44 already requested by 10090000.tdm; cannot claim for 120c0000.i2s Fixes: e7c304c ("riscv: dts: starfive: jh7110: add the node and pins configuration for tdm") Signed-off-by: Hannah Peuckmann <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]> Tested-by: Emil Renner Berthing <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent 0f74c64 commit dcde4e9

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

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

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -621,40 +621,6 @@
621621
};
622622
};
623623

624-
tdm_pins: tdm-0 {
625-
tx-pins {
626-
pinmux = <GPIOMUX(44, GPOUT_SYS_TDM_TXD,
627-
GPOEN_ENABLE,
628-
GPI_NONE)>;
629-
bias-pull-up;
630-
drive-strength = <2>;
631-
input-disable;
632-
input-schmitt-disable;
633-
slew-rate = <0>;
634-
};
635-
636-
rx-pins {
637-
pinmux = <GPIOMUX(61, GPOUT_HIGH,
638-
GPOEN_DISABLE,
639-
GPI_SYS_TDM_RXD)>;
640-
input-enable;
641-
};
642-
643-
sync-pins {
644-
pinmux = <GPIOMUX(63, GPOUT_HIGH,
645-
GPOEN_DISABLE,
646-
GPI_SYS_TDM_SYNC)>;
647-
input-enable;
648-
};
649-
650-
pcmclk-pins {
651-
pinmux = <GPIOMUX(38, GPOUT_HIGH,
652-
GPOEN_DISABLE,
653-
GPI_SYS_TDM_CLK)>;
654-
input-enable;
655-
};
656-
};
657-
658624
uart0_pins: uart0-0 {
659625
tx-pins {
660626
pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX,
@@ -680,12 +646,6 @@
680646
};
681647
};
682648

683-
&tdm {
684-
pinctrl-names = "default";
685-
pinctrl-0 = <&tdm_pins>;
686-
status = "okay";
687-
};
688-
689649
&uart0 {
690650
pinctrl-names = "default";
691651
pinctrl-0 = <&uart0_pins>;

0 commit comments

Comments
 (0)