The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm/sun8i-r16-nintendo-nes-classic.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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_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 wired to the power supply */
   52         usb1_vbus-supply = <&reg_vcc5v0>;
   53         status = "okay";
   54 };

Cache object: 57229923ffbae67343bad87daaf688dd


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.