riscv: dts: starfive: visionfive 2: Remove non-existing TDM hardware
authorHannah Peuckmann <hannah.peuckmann@canonical.com>
Mon, 15 Apr 2024 12:50:32 +0000 (14:50 +0200)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 15 Apr 2024 15:16:10 +0000 (16:16 +0100)
This partially reverts
commit e7c304c0346d ("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: e7c304c0346d ("riscv: dts: starfive: jh7110: add the node and pins configuration for tdm")
Signed-off-by: Hannah Peuckmann <hannah.peuckmann@canonical.com>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Tested-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

index 7783d464d529d07aeabce605bb2f262b88a17094..58f892f984a49afb64022c737ead406d874b3533 100644 (file)
                };
        };
 
-       tdm_pins: tdm-0 {
-               tx-pins {
-                       pinmux = <GPIOMUX(44, GPOUT_SYS_TDM_TXD,
-                                             GPOEN_ENABLE,
-                                             GPI_NONE)>;
-                       bias-pull-up;
-                       drive-strength = <2>;
-                       input-disable;
-                       input-schmitt-disable;
-                       slew-rate = <0>;
-               };
-
-               rx-pins {
-                       pinmux = <GPIOMUX(61, GPOUT_HIGH,
-                                             GPOEN_DISABLE,
-                                             GPI_SYS_TDM_RXD)>;
-                       input-enable;
-               };
-
-               sync-pins {
-                       pinmux = <GPIOMUX(63, GPOUT_HIGH,
-                                             GPOEN_DISABLE,
-                                             GPI_SYS_TDM_SYNC)>;
-                       input-enable;
-               };
-
-               pcmclk-pins {
-                       pinmux = <GPIOMUX(38, GPOUT_HIGH,
-                                             GPOEN_DISABLE,
-                                             GPI_SYS_TDM_CLK)>;
-                       input-enable;
-               };
-       };
-
        uart0_pins: uart0-0 {
                tx-pins {
                        pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX,
        };
 };
 
-&tdm {
-       pinctrl-names = "default";
-       pinctrl-0 = <&tdm_pins>;
-       status = "okay";
-};
-
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pins>;