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