summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChanh Nguyen <chanh@os.amperecomputing.com>2023-10-05 10:55:24 +0700
committerJoel Stanley <joel@jms.id.au>2023-10-13 14:59:03 +1030
commit8098d06af171ce8aa67a95698452dacd8c1dfe26 (patch)
tree969cbf57422b6e2facff8950adbae803b3a5a78f
parente998856086a41dc4a76c35aae33a6ac6e455061b (diff)
downloadlinux-stable-8098d06af171ce8aa67a95698452dacd8c1dfe26.tar.gz
linux-stable-8098d06af171ce8aa67a95698452dacd8c1dfe26.tar.bz2
linux-stable-8098d06af171ce8aa67a95698452dacd8c1dfe26.zip
ARM: dts: aspeed: mtmitchell: Remove redundant ADC configurations
Mt.Mitchell DVT and later hardware do not use adc1. It only uses adc0 with channels 0, 1 and 2. This commit removes redundant ADC configurations. Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20231005035525.19036-7-chanh@os.amperecomputing.com Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts15
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
index eb41e55fe1a2..2c8a752fb962 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
@@ -551,20 +551,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
- &pinctrl_adc2_default &pinctrl_adc3_default
- &pinctrl_adc4_default &pinctrl_adc5_default
- &pinctrl_adc6_default &pinctrl_adc7_default>;
-};
-
-&adc1 {
- ref_voltage = <2500>;
- status = "okay";
-
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_adc8_default &pinctrl_adc9_default
- &pinctrl_adc10_default &pinctrl_adc11_default
- &pinctrl_adc12_default &pinctrl_adc13_default
- &pinctrl_adc14_default &pinctrl_adc15_default>;
+ &pinctrl_adc2_default>;
};
&vhub {