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