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