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