1 // SPDX-License-Identifier: GPL-2.0 OR X11 2 /* Copyright (c) 2016 FUKAUMI Naoki <naobsd@gma 3 4 /dts-v1/; 5 #include "sun8i-a33.dtsi" 6 #include "sunxi-common-regulators.dtsi" 7 8 / { 9 model = "Nintendo NES Classic Edition" 10 compatible = "nintendo,nes-classic", " 11 "allwinner,sun8i-a33"; 12 13 aliases { 14 serial0 = &uart0; 15 }; 16 17 chosen { 18 stdout-path = "serial0:115200n 19 }; 20 }; 21 22 &uart0 { 23 /* 24 * UART0 is available on two ports: PB 25 * PF can also be used for the SD card 26 */ 27 pinctrl-names = "default"; 28 pinctrl-0 = <&uart0_pf_pins>; 29 status = "okay"; 30 }; 31 32 &nfc { 33 status = "okay"; 34 35 /* 2Gb Macronix MX30LF2G18AC (3V) */ 36 nand@0 { 37 reg = <0>; 38 allwinner,rb = <0>; 39 nand-ecc-mode = "hw"; 40 nand-ecc-strength = <16>; 41 nand-ecc-step-size = <1024>; 42 }; 43 }; 44 45 &usb_otg { 46 status = "okay"; 47 dr_mode = "otg"; 48 }; 49 50 &usbphy { 51 /* VBUS is always on because it is wir 52 usb1_vbus-supply = <®_vcc5v0>; 53 status = "okay"; 54 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.