xref: /linux/arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts (revision 4e6118974c7ab5d65e77fe8c47c87a85e9c7ed7d)
1*4e611897SNeil Armstrong/*
2*4e611897SNeil Armstrong * Copyright (c) 2016 Endless Computers, Inc.
3*4e611897SNeil Armstrong * Author: Carlo Caione <carlo@endlessm.com>
4*4e611897SNeil Armstrong *
5*4e611897SNeil Armstrong * This file is dual-licensed: you can use it either under the terms
6*4e611897SNeil Armstrong * of the GPL or the X11 license, at your option. Note that this dual
7*4e611897SNeil Armstrong * licensing only applies to this file, and not this project as a
8*4e611897SNeil Armstrong * whole.
9*4e611897SNeil Armstrong *
10*4e611897SNeil Armstrong *  a) This library is free software; you can redistribute it and/or
11*4e611897SNeil Armstrong *     modify it under the terms of the GNU General Public License as
12*4e611897SNeil Armstrong *     published by the Free Software Foundation; either version 2 of the
13*4e611897SNeil Armstrong *     License, or (at your option) any later version.
14*4e611897SNeil Armstrong *
15*4e611897SNeil Armstrong *     This library is distributed in the hope that it will be useful,
16*4e611897SNeil Armstrong *     but WITHOUT ANY WARRANTY; without even the implied warranty of
17*4e611897SNeil Armstrong *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*4e611897SNeil Armstrong *     GNU General Public License for more details.
19*4e611897SNeil Armstrong *
20*4e611897SNeil Armstrong * Or, alternatively,
21*4e611897SNeil Armstrong *
22*4e611897SNeil Armstrong *  b) Permission is hereby granted, free of charge, to any person
23*4e611897SNeil Armstrong *     obtaining a copy of this software and associated documentation
24*4e611897SNeil Armstrong *     files (the "Software"), to deal in the Software without
25*4e611897SNeil Armstrong *     restriction, including without limitation the rights to use,
26*4e611897SNeil Armstrong *     copy, modify, merge, publish, distribute, sublicense, and/or
27*4e611897SNeil Armstrong *     sell copies of the Software, and to permit persons to whom the
28*4e611897SNeil Armstrong *     Software is furnished to do so, subject to the following
29*4e611897SNeil Armstrong *     conditions:
30*4e611897SNeil Armstrong *
31*4e611897SNeil Armstrong *     The above copyright notice and this permission notice shall be
32*4e611897SNeil Armstrong *     included in all copies or substantial portions of the Software.
33*4e611897SNeil Armstrong *
34*4e611897SNeil Armstrong *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35*4e611897SNeil Armstrong *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36*4e611897SNeil Armstrong *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37*4e611897SNeil Armstrong *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38*4e611897SNeil Armstrong *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39*4e611897SNeil Armstrong *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40*4e611897SNeil Armstrong *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41*4e611897SNeil Armstrong *     OTHER DEALINGS IN THE SOFTWARE.
42*4e611897SNeil Armstrong */
43*4e611897SNeil Armstrong
44*4e611897SNeil Armstrong/dts-v1/;
45*4e611897SNeil Armstrong
46*4e611897SNeil Armstrong#include "meson-gxm.dtsi"
47*4e611897SNeil Armstrong#include "meson-gx-p23x-q20x.dtsi"
48*4e611897SNeil Armstrong
49*4e611897SNeil Armstrong/ {
50*4e611897SNeil Armstrong	compatible = "amlogic,q201", "amlogic,s912", "amlogic,meson-gxm";
51*4e611897SNeil Armstrong	model = "Amlogic Meson GXM (S912) Q201 Development Board";
52*4e611897SNeil Armstrong};
53*4e611897SNeil Armstrong
54*4e611897SNeil Armstrong/* Q201 has only internal PHY port */
55*4e611897SNeil Armstrong&ethmac {
56*4e611897SNeil Armstrong	phy-mode = "rmii";
57*4e611897SNeil Armstrong	phy-handle = <&internal_phy>;
58*4e611897SNeil Armstrong};
59