From 71385a893cea3e3bc752aa75e3e616073cda7889 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Thu, 24 Apr 2025 14:06:05 +0800 Subject: [PATCH] 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 --- .../boot/dts/starfive/jh7110-common.dtsi | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) 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; -- 2.50.1