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