[Letux-kernel] [PATCH 17/20] fixup! Added more JZ4730 device definitions.

Lubomir Rintel lkundrak at v3.sk
Tue Nov 17 21:58:10 CET 2020


Fix the NAND controller pinctrl and enable the device.

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
---
 arch/mips/boot/dts/ingenic/mipsbook_400.dts | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/arch/mips/boot/dts/ingenic/mipsbook_400.dts b/arch/mips/boot/dts/ingenic/mipsbook_400.dts
index 8c852ca7dd114..b9f290c784cb7 100644
--- a/arch/mips/boot/dts/ingenic/mipsbook_400.dts
+++ b/arch/mips/boot/dts/ingenic/mipsbook_400.dts
@@ -368,12 +368,11 @@ &mmc {
 	pinctrl-0 = <&pins_mmc>;
 };
 
-/*
 &nand {
-	pinctrl-names = "nand";
+	pinctrl-names = "default";
 	pinctrl-0 = <&pins_nand>;
 };
-*/
+
 
 &uart0 {
 	pinctrl-names = "default";
@@ -404,12 +403,10 @@ mmc_ctrl {
 		};
 	};
 
-	/*
-	pins_nand {
+	pins_nand: pins_nand {
 		function = "nand";
 		groups = "nand-cs3";
 	};
-	*/
 
 	pins_pwm0: pwm0 {
 		function = "pwm0";
-- 
2.28.0



More information about the Letux-kernel mailing list