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