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 }; 608735053dSJerome Brunet 618735053dSJerome Brunet usb_pwr: regulator-usb-pwrs { 628735053dSJerome Brunet compatible = "regulator-fixed"; 638735053dSJerome Brunet 648735053dSJerome Brunet regulator-name = "USB_PWR"; 658735053dSJerome Brunet 668735053dSJerome Brunet regulator-min-microvolt = <5000000>; 678735053dSJerome Brunet regulator-max-microvolt = <5000000>; 688735053dSJerome Brunet 698735053dSJerome Brunet /* signal name in schematic: USB_PWR_EN */ 708735053dSJerome Brunet gpio = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>; 718735053dSJerome Brunet enable-active-high; 728735053dSJerome Brunet }; 73ac40004dSKevin Hilman}; 74ac40004dSKevin Hilman 75ac40004dSKevin Hilman/* This UART is brought out to the DB9 connector */ 76ac40004dSKevin Hilman&uart_AO { 77ac40004dSKevin Hilman status = "okay"; 78f40d437fSCarlo Caione pinctrl-0 = <&uart_ao_a_pins>; 79f40d437fSCarlo Caione pinctrl-names = "default"; 80ac40004dSKevin Hilman}; 818c5509f0SKevin Hilman 828c5509f0SKevin Hilmanðmac { 838c5509f0SKevin Hilman status = "okay"; 843be2d9cfSNeil Armstrong pinctrl-0 = <ð_rgmii_pins>; 858c5509f0SKevin Hilman pinctrl-names = "default"; 868c5509f0SKevin Hilman}; 878c5509f0SKevin Hilman 88ae89ed79SMartin Blumenstingl&ir { 89ae89ed79SMartin Blumenstingl status = "okay"; 90ae89ed79SMartin Blumenstingl pinctrl-0 = <&remote_input_ao_pins>; 91ae89ed79SMartin Blumenstingl pinctrl-names = "default"; 92ae89ed79SMartin Blumenstingl}; 938735053dSJerome Brunet 948735053dSJerome Brunet&usb0_phy { 958735053dSJerome Brunet status = "okay"; 968735053dSJerome Brunet phy-supply = <&usb_pwr>; 978735053dSJerome Brunet}; 988735053dSJerome Brunet 998735053dSJerome Brunet&usb1_phy { 1008735053dSJerome Brunet status = "okay"; 1018735053dSJerome Brunet}; 1028735053dSJerome Brunet 1038735053dSJerome Brunet&usb0 { 1048735053dSJerome Brunet status = "okay"; 1058735053dSJerome Brunet}; 1068735053dSJerome Brunet 1078735053dSJerome Brunet&usb1 { 1088735053dSJerome Brunet status = "okay"; 1098735053dSJerome Brunet}; 110