1*1328a816SChen-Yu Tsai/* 2*1328a816SChen-Yu Tsai * Copyright 2015 Vishnu Patekar 3*1328a816SChen-Yu Tsai * Vishnu Patekar <vishnupatekar0510@gmail.com> 4*1328a816SChen-Yu Tsai * 5*1328a816SChen-Yu Tsai * This file is dual-licensed: you can use it either under the terms 6*1328a816SChen-Yu Tsai * of the GPL or the X11 license, at your option. Note that this dual 7*1328a816SChen-Yu Tsai * licensing only applies to this file, and not this project as a 8*1328a816SChen-Yu Tsai * whole. 9*1328a816SChen-Yu Tsai * 10*1328a816SChen-Yu Tsai * a) This file is free software; you can redistribute it and/or 11*1328a816SChen-Yu Tsai * modify it under the terms of the GNU General Public License as 12*1328a816SChen-Yu Tsai * published by the Free Software Foundation; either version 2 of the 13*1328a816SChen-Yu Tsai * License, or (at your option) any later version. 14*1328a816SChen-Yu Tsai * 15*1328a816SChen-Yu Tsai * This file is distributed in the hope that it will be useful, 16*1328a816SChen-Yu Tsai * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*1328a816SChen-Yu Tsai * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*1328a816SChen-Yu Tsai * GNU General Public License for more details. 19*1328a816SChen-Yu Tsai * 20*1328a816SChen-Yu Tsai * Or, alternatively, 21*1328a816SChen-Yu Tsai * 22*1328a816SChen-Yu Tsai * b) Permission is hereby granted, free of charge, to any person 23*1328a816SChen-Yu Tsai * obtaining a copy of this software and associated documentation 24*1328a816SChen-Yu Tsai * files (the "Software"), to deal in the Software without 25*1328a816SChen-Yu Tsai * restriction, including without limitation the rights to use, 26*1328a816SChen-Yu Tsai * copy, modify, merge, publish, distribute, sublicense, and/or 27*1328a816SChen-Yu Tsai * sell copies of the Software, and to permit persons to whom the 28*1328a816SChen-Yu Tsai * Software is furnished to do so, subject to the following 29*1328a816SChen-Yu Tsai * conditions: 30*1328a816SChen-Yu Tsai * 31*1328a816SChen-Yu Tsai * The above copyright notice and this permission notice shall be 32*1328a816SChen-Yu Tsai * included in all copies or substantial portions of the Software. 33*1328a816SChen-Yu Tsai * 34*1328a816SChen-Yu Tsai * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 35*1328a816SChen-Yu Tsai * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 36*1328a816SChen-Yu Tsai * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 37*1328a816SChen-Yu Tsai * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 38*1328a816SChen-Yu Tsai * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 39*1328a816SChen-Yu Tsai * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 40*1328a816SChen-Yu Tsai * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 41*1328a816SChen-Yu Tsai * OTHER DEALINGS IN THE SOFTWARE. 42*1328a816SChen-Yu Tsai */ 43*1328a816SChen-Yu Tsai 44*1328a816SChen-Yu Tsai/dts-v1/; 45*1328a816SChen-Yu Tsai#include "sun8i-a83t.dtsi" 46*1328a816SChen-Yu Tsai 47*1328a816SChen-Yu Tsai/ { 48*1328a816SChen-Yu Tsai model = "Allwinner A83T BananaPi M3 Board v1.2"; 49*1328a816SChen-Yu Tsai compatible = "bananapi,m3v1.2", "allwinner,sun8i-a83t"; 50*1328a816SChen-Yu Tsai 51*1328a816SChen-Yu Tsai aliases { 52*1328a816SChen-Yu Tsai serial0 = &uart0; 53*1328a816SChen-Yu Tsai }; 54*1328a816SChen-Yu Tsai 55*1328a816SChen-Yu Tsai chosen { 56*1328a816SChen-Yu Tsai stdout-path = "serial0:115200n8"; 57*1328a816SChen-Yu Tsai }; 58*1328a816SChen-Yu Tsai}; 59*1328a816SChen-Yu Tsai 60*1328a816SChen-Yu Tsai&ehci0 { 61*1328a816SChen-Yu Tsai status = "okay"; 62*1328a816SChen-Yu Tsai}; 63*1328a816SChen-Yu Tsai 64*1328a816SChen-Yu Tsai&uart0 { 65*1328a816SChen-Yu Tsai pinctrl-names = "default"; 66*1328a816SChen-Yu Tsai pinctrl-0 = <&uart0_pins_b>; 67*1328a816SChen-Yu Tsai status = "okay"; 68*1328a816SChen-Yu Tsai}; 69*1328a816SChen-Yu Tsai 70*1328a816SChen-Yu Tsai&usb_otg { 71*1328a816SChen-Yu Tsai status = "okay"; 72*1328a816SChen-Yu Tsai}; 73