Skip to content

Commit be18d53

Browse files
Arseniy Krasnovsuperna9999
authored andcommitted
arm64: dts: amlogic: meson-axg: pinctrl node for NAND
Add pinctrl node for the Meson NAND controller. Signed-off-by: Arseniy Krasnov <avkrasnov@salutedevices.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20231109094504.131265-1-avkrasnov@salutedevices.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
1 parent 35b47ce commit be18d53

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

arch/arm64/boot/dts/amlogic/meson-axg.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,27 @@
432432
};
433433
};
434434

435+
nand_all_pins: nand-all-pins {
436+
mux {
437+
groups = "emmc_nand_d0",
438+
"emmc_nand_d1",
439+
"emmc_nand_d2",
440+
"emmc_nand_d3",
441+
"emmc_nand_d4",
442+
"emmc_nand_d5",
443+
"emmc_nand_d6",
444+
"emmc_nand_d7",
445+
"nand_ce0",
446+
"nand_ale",
447+
"nand_cle",
448+
"nand_wen_clk",
449+
"nand_ren_wr";
450+
function = "nand";
451+
input-enable;
452+
bias-pull-up;
453+
};
454+
};
455+
435456
emmc_ds_pins: emmc_ds {
436457
mux {
437458
groups = "emmc_ds";
@@ -1913,6 +1934,8 @@
19131934
reg = <0x0 0x7800 0x0 0x100>,
19141935
<0x0 0x7000 0x0 0x800>;
19151936
reg-names = "nfc", "emmc";
1937+
pinctrl-0 = <&nand_all_pins>;
1938+
pinctrl-names = "default";
19161939
#address-cells = <1>;
19171940
#size-cells = <0>;
19181941
interrupts = <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>;

0 commit comments

Comments
 (0)