From: Icenowy Zheng Date: Thu, 24 Apr 2025 06:06:05 +0000 (+0800) Subject: riscv: dts: starfive: jh7110-common: use macros for MMC0 pins X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=71385a893cea3e3bc752aa75e3e616073cda7889;p=users%2Fwilly%2Flinux.git riscv: dts: starfive: jh7110-common: use macros for MMC0 pins The pin names of MMC0 pinmux is defined in the pinctrl dt binding header associated with starfive,jh7110-pinctrl . Include the header file and use these names instead of raw numbers for defining MMC0 pinmux. Signed-off-by: Icenowy Zheng Reviewed-by: Emil Renner Berthing Signed-off-by: Conor Dooley --- diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi index c2f70f5e2918..a2c72b385a90 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi @@ -8,6 +8,7 @@ #include "jh7110.dtsi" #include "jh7110-pinfunc.h" #include +#include / { aliases { @@ -428,16 +429,16 @@ }; mmc-pins { - pinmux = , - , - , - , - , - , - , - , - , - ; + pinmux = , + , + , + , + , + , + , + , + , + ; bias-pull-up; drive-strength = <12>; input-enable;