1279377Simp/* 2279377Simp * Copyright 2015 Endless Mobile, Inc. 3279377Simp * Author: Carlo Caione <carlo@endlessm.com> 4279377Simp * 5279377Simp * This file is dual-licensed: you can use it either under the terms 6279377Simp * of the GPL or the X11 license, at your option. Note that this dual 7279377Simp * licensing only applies to this file, and not this project as a 8279377Simp * whole. 9279377Simp * 10279377Simp * a) This library is free software; you can redistribute it and/or 11279377Simp * modify it under the terms of the GNU General Public License as 12279377Simp * published by the Free Software Foundation; either version 2 of the 13279377Simp * License, or (at your option) any later version. 14279377Simp * 15279377Simp * This library is distributed in the hope that it will be useful, 16279377Simp * but WITHOUT ANY WARRANTY; without even the implied warranty of 17279377Simp * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18279377Simp * GNU General Public License for more details. 19279377Simp * 20279377Simp * You should have received a copy of the GNU General Public License 21279377Simp * along with this program. If not, see <http://www.gnu.org/licenses/>. 22279377Simp * 23279377Simp * Or, alternatively, 24279377Simp * 25279377Simp * b) Permission is hereby granted, free of charge, to any person 26279377Simp * obtaining a copy of this software and associated documentation 27279377Simp * files (the "Software"), to deal in the Software without 28279377Simp * restriction, including without limitation the rights to use, 29279377Simp * copy, modify, merge, publish, distribute, sublicense, and/or 30279377Simp * sell copies of the Software, and to permit persons to whom the 31279377Simp * Software is furnished to do so, subject to the following 32279377Simp * conditions: 33279377Simp * 34279377Simp * The above copyright notice and this permission notice shall be 35279377Simp * included in all copies or substantial portions of the Software. 36279377Simp * 37279377Simp * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 38279377Simp * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 39279377Simp * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 40279377Simp * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 41279377Simp * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 42279377Simp * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 43279377Simp * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 44279377Simp * OTHER DEALINGS IN THE SOFTWARE. 45279377Simp */ 46279377Simp 47279377Simp/dts-v1/; 48279377Simp#include "meson8b.dtsi" 49279377Simp#include <dt-bindings/gpio/gpio.h> 50279377Simp 51279377Simp/ { 52279377Simp model = "Hardkernel ODROID-C1"; 53279377Simp compatible = "hardkernel,odroid-c1", "amlogic,meson8b"; 54279377Simp 55279377Simp aliases { 56279377Simp serial0 = &uart_AO; 57279377Simp }; 58279377Simp 59279377Simp memory { 60279377Simp reg = <0x40000000 0x40000000>; 61295436Sandrew }; 62295436Sandrew 63295436Sandrew leds { 64295436Sandrew compatible = "gpio-leds"; 65295436Sandrew blue { 66295436Sandrew label = "c1:blue:alive"; 67295436Sandrew gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; 68295436Sandrew linux,default-trigger = "heartbeat"; 69295436Sandrew default-state = "off"; 70295436Sandrew }; 71295436Sandrew }; 72295436Sandrew}; 73295436Sandrew 74295436Sandrew&uart_AO { 75295436Sandrew status = "okay"; 76295436Sandrew pinctrl-0 = <&uart_ao_a_pins>; 77295436Sandrew pinctrl-names = "default"; 78295436Sandrew}; 79295436Sandrew