15782954cSFUKAUMI Naoki/* 25782954cSFUKAUMI Naoki * Copyright (c) 2016 FUKAUMI Naoki <naobsd@gmail.com> 35782954cSFUKAUMI Naoki * 45782954cSFUKAUMI Naoki * This file is dual-licensed: you can use it either under the terms 55782954cSFUKAUMI Naoki * of the GPL or the X11 license, at your option. Note that this dual 65782954cSFUKAUMI Naoki * licensing only applies to this file, and not this project as a 75782954cSFUKAUMI Naoki * whole. 85782954cSFUKAUMI Naoki * 95782954cSFUKAUMI Naoki * a) This file is free software; you can redistribute it and/or 105782954cSFUKAUMI Naoki * modify it under the terms of the GNU General Public License as 115782954cSFUKAUMI Naoki * published by the Free Software Foundation; either version 2 of the 125782954cSFUKAUMI Naoki * License, or (at your option) any later version. 135782954cSFUKAUMI Naoki * 145782954cSFUKAUMI Naoki * This file is distributed in the hope that it will be useful, 155782954cSFUKAUMI Naoki * but WITHOUT ANY WARRANTY; without even the implied warranty of 165782954cSFUKAUMI Naoki * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 175782954cSFUKAUMI Naoki * GNU General Public License for more details. 185782954cSFUKAUMI Naoki * 195782954cSFUKAUMI Naoki * Or, alternatively, 205782954cSFUKAUMI Naoki * 215782954cSFUKAUMI Naoki * b) Permission is hereby granted, free of charge, to any person 225782954cSFUKAUMI Naoki * obtaining a copy of this software and associated documentation 235782954cSFUKAUMI Naoki * files (the "Software"), to deal in the Software without 245782954cSFUKAUMI Naoki * restriction, including without limitation the rights to use, 255782954cSFUKAUMI Naoki * copy, modify, merge, publish, distribute, sublicense, and/or 265782954cSFUKAUMI Naoki * sell copies of the Software, and to permit persons to whom the 275782954cSFUKAUMI Naoki * Software is furnished to do so, subject to the following 285782954cSFUKAUMI Naoki * conditions: 295782954cSFUKAUMI Naoki * 305782954cSFUKAUMI Naoki * The above copyright notice and this permission notice shall be 315782954cSFUKAUMI Naoki * included in all copies or substantial portions of the Software. 325782954cSFUKAUMI Naoki * 335782954cSFUKAUMI Naoki * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 345782954cSFUKAUMI Naoki * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 355782954cSFUKAUMI Naoki * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 365782954cSFUKAUMI Naoki * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 375782954cSFUKAUMI Naoki * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 385782954cSFUKAUMI Naoki * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 395782954cSFUKAUMI Naoki * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 405782954cSFUKAUMI Naoki * OTHER DEALINGS IN THE SOFTWARE. 415782954cSFUKAUMI Naoki */ 425782954cSFUKAUMI Naoki 435782954cSFUKAUMI Naoki/dts-v1/; 445782954cSFUKAUMI Naoki#include "sun8i-a33.dtsi" 455782954cSFUKAUMI Naoki 465782954cSFUKAUMI Naoki/ { 475782954cSFUKAUMI Naoki model = "Nintendo NES Classic Edition"; 485782954cSFUKAUMI Naoki compatible = "nintendo,nes-classic-edition", "allwinner,sun8i-a33"; 495782954cSFUKAUMI Naoki 505782954cSFUKAUMI Naoki aliases { 515782954cSFUKAUMI Naoki serial0 = &uart0; 525782954cSFUKAUMI Naoki }; 535782954cSFUKAUMI Naoki 545782954cSFUKAUMI Naoki chosen { 555782954cSFUKAUMI Naoki stdout-path = "serial0:115200n8"; 565782954cSFUKAUMI Naoki }; 575782954cSFUKAUMI Naoki}; 585782954cSFUKAUMI Naoki 595782954cSFUKAUMI Naoki&uart0 { 605782954cSFUKAUMI Naoki pinctrl-names = "default"; 615782954cSFUKAUMI Naoki pinctrl-0 = <&uart0_pins_a>; 625782954cSFUKAUMI Naoki status = "okay"; 635782954cSFUKAUMI Naoki}; 64*491feffaSMiquel Raynal 65*491feffaSMiquel Raynal&nfc { 66*491feffaSMiquel Raynal status = "okay"; 67*491feffaSMiquel Raynal 68*491feffaSMiquel Raynal nand@0 { 69*491feffaSMiquel Raynal #address-cells = <1>; 70*491feffaSMiquel Raynal #size-cells = <1>; 71*491feffaSMiquel Raynal reg = <0>; 72*491feffaSMiquel Raynal allwinner,rb = <0>; 73*491feffaSMiquel Raynal nand-ecc-mode = "hw"; 74*491feffaSMiquel Raynal }; 75*491feffaSMiquel Raynal}; 76