mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 22:52:18 +00:00
sunxi: dts: enable NAND on NES classic
Let the Nintendo NES Classic use the Macronix NAND chip on it. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
parent
663e8a9b54
commit
491feffa88
2 changed files with 31 additions and 0 deletions
|
@ -289,6 +289,23 @@
|
|||
function = "uart1";
|
||||
};
|
||||
|
||||
nand_pins_a: nand-base0@0 {
|
||||
pins = "PC0", "PC1", "PC2", "PC5",
|
||||
"PC8", "PC9", "PC10", "PC11",
|
||||
"PC12", "PC13", "PC14", "PC15";
|
||||
function = "nand0";
|
||||
};
|
||||
|
||||
nand_cs0_pins_a: nand-cs@0 {
|
||||
pins = "PC4";
|
||||
function = "nand0";
|
||||
};
|
||||
|
||||
nand_rb0_pins_a: nand-rb@0 {
|
||||
pins = "PC6";
|
||||
function = "nand0";
|
||||
};
|
||||
|
||||
mmc0_pins_a: mmc0@0 {
|
||||
pins = "PF0", "PF1", "PF2",
|
||||
"PF3", "PF4", "PF5";
|
||||
|
|
|
@ -61,3 +61,17 @@
|
|||
pinctrl-0 = <&uart0_pins_a>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&nfc {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&nand_pins_a &nand_cs0_pins_a &nand_rb0_pins_a>;
|
||||
status = "okay";
|
||||
|
||||
nand@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
reg = <0>;
|
||||
allwinner,rb = <0>;
|
||||
nand-ecc-mode = "hw";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue