summaryrefslogtreecommitdiff
path: root/arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-02-28 20:51:58 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-04-03 12:11:56 +0200
commit491feffa88f403a791c71ec8dd1b2c5943c83d61 (patch)
tree6c01d8c6dc7b8a89a8028a2039384df091585791 /arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts
parent663e8a9b54ccbc9b939e4e3696a84fdf2f5a43fc (diff)
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>
Diffstat (limited to 'arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts')
-rw-r--r--arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts b/arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts
index dce688ec8e..72a8505d94 100644
--- a/arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts
+++ b/arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts
@@ -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";
+ };
+};