Commit a5a4cdda authored by Andrew Davis's avatar Andrew Davis Committed by Nishanth Menon
Browse files

arm64: dts: ti: k3-j721e: Enable TSCADC nodes at the board level



TSCADC nodes defined in the top-level J721e SoC dtsi files are incomplete
and may not be functional unless they are extended with pinmux and/or
device information.

Disable the TSCADC nodes in the dtsi files and only enable the ones that
are actually pinned out on a given board.

Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20230810003814.85450-12-afd@ti.com


Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent d9fe476d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -747,6 +747,7 @@
};

&tscadc0 {
	status = "okay";
	/* BBB Header: P9.39, P9.40, P9.37, P9.38, P9.33, P9.36, P9.35 */
	adc {
		ti,adc-channels = <0 1 2 3 4 5 6>;
@@ -754,6 +755,7 @@
};

&tscadc1 {
	status = "okay";
	/* MCU mikroBUS Header J10.1 - MCU_ADC1_AIN0 */
	adc {
		ti,adc-channels = <0>;
+2 −0
Original line number Diff line number Diff line
@@ -619,12 +619,14 @@
};

&tscadc0 {
	status = "okay";
	adc {
		ti,adc-channels = <0 1 2 3 4 5 6 7>;
	};
};

&tscadc1 {
	status = "okay";
	adc {
		ti,adc-channels = <0 1 2 3 4 5 6 7>;
	};
+2 −0
Original line number Diff line number Diff line
@@ -411,6 +411,7 @@
		dmas = <&main_udmap 0x7400>,
			<&main_udmap 0x7401>;
		dma-names = "fifo0", "fifo1";
		status = "disabled";

		adc {
			#io-channel-cells = <1>;
@@ -430,6 +431,7 @@
		dmas = <&main_udmap 0x7402>,
			<&main_udmap 0x7403>;
		dma-names = "fifo0", "fifo1";
		status = "disabled";

		adc {
			#io-channel-cells = <1>;
+0 −10
Original line number Diff line number Diff line
@@ -828,16 +828,6 @@
	phy-names = "cdns3,usb3-phy";
};

&tscadc0 {
	/* Unused */
	status = "disabled";
};

&tscadc1 {
	/* Unused */
	status = "disabled";
};

&mcu_cpsw {
	pinctrl-names = "default";
	pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>;