153ab4af3SHans de Goede/* 253ab4af3SHans de Goede * Copyright 2014 Hans de Goede <hdegoede@redhat.com> 353ab4af3SHans de Goede * 453ab4af3SHans de Goede * This file is dual-licensed: you can use it either under the terms 553ab4af3SHans de Goede * of the GPL or the X11 license, at your option. Note that this dual 653ab4af3SHans de Goede * licensing only applies to this file, and not this project as a 753ab4af3SHans de Goede * whole. 853ab4af3SHans de Goede * 953ab4af3SHans de Goede * a) This library is free software; you can redistribute it and/or 1053ab4af3SHans de Goede * modify it under the terms of the GNU General Public License as 1153ab4af3SHans de Goede * published by the Free Software Foundation; either version 2 of the 1253ab4af3SHans de Goede * License, or (at your option) any later version. 1353ab4af3SHans de Goede * 1453ab4af3SHans de Goede * This library is distributed in the hope that it will be useful, 1553ab4af3SHans de Goede * but WITHOUT ANY WARRANTY; without even the implied warranty of 1653ab4af3SHans de Goede * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1753ab4af3SHans de Goede * GNU General Public License for more details. 1853ab4af3SHans de Goede * 1953ab4af3SHans de Goede * Or, alternatively, 2053ab4af3SHans de Goede * 2153ab4af3SHans de Goede * b) Permission is hereby granted, free of charge, to any person 2253ab4af3SHans de Goede * obtaining a copy of this software and associated documentation 2353ab4af3SHans de Goede * files (the "Software"), to deal in the Software without 2453ab4af3SHans de Goede * restriction, including without limitation the rights to use, 2553ab4af3SHans de Goede * copy, modify, merge, publish, distribute, sublicense, and/or 2653ab4af3SHans de Goede * sell copies of the Software, and to permit persons to whom the 2753ab4af3SHans de Goede * Software is furnished to do so, subject to the following 2853ab4af3SHans de Goede * conditions: 2953ab4af3SHans de Goede * 3053ab4af3SHans de Goede * The above copyright notice and this permission notice shall be 3153ab4af3SHans de Goede * included in all copies or substantial portions of the Software. 3253ab4af3SHans de Goede * 3353ab4af3SHans de Goede * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 3453ab4af3SHans de Goede * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 3553ab4af3SHans de Goede * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 3653ab4af3SHans de Goede * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 3753ab4af3SHans de Goede * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 3853ab4af3SHans de Goede * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 3953ab4af3SHans de Goede * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 4053ab4af3SHans de Goede * OTHER DEALINGS IN THE SOFTWARE. 4153ab4af3SHans de Goede */ 4253ab4af3SHans de Goede 4353ab4af3SHans de Goede/dts-v1/; 4453ab4af3SHans de Goede#include "sun6i-a31s.dtsi" 4553ab4af3SHans de Goede 4653ab4af3SHans de Goede/ { 4753ab4af3SHans de Goede model = "CSQ CS908 top set box"; 4853ab4af3SHans de Goede compatible = "csq,cs908", "allwinner,sun6i-a31s"; 4953ab4af3SHans de Goede 5053ab4af3SHans de Goede aliases { 5153ab4af3SHans de Goede serial0 = &uart0; 5253ab4af3SHans de Goede }; 5353ab4af3SHans de Goede 5453ab4af3SHans de Goede chosen { 5553ab4af3SHans de Goede stdout-path = "serial0:115200n8"; 5653ab4af3SHans de Goede }; 5753ab4af3SHans de Goede}; 5853ab4af3SHans de Goede 5953ab4af3SHans de Goede&ehci0 { 6053ab4af3SHans de Goede status = "okay"; 6153ab4af3SHans de Goede}; 6253ab4af3SHans de Goede 6353ab4af3SHans de Goede&ehci1 { 6453ab4af3SHans de Goede status = "okay"; 6553ab4af3SHans de Goede}; 6653ab4af3SHans de Goede 6753ab4af3SHans de Goede&gmac { 6853ab4af3SHans de Goede pinctrl-names = "default"; 6953ab4af3SHans de Goede pinctrl-0 = <&gmac_pins_mii_a>; 7053ab4af3SHans de Goede phy = <&phy1>; 7153ab4af3SHans de Goede phy-mode = "mii"; 7253ab4af3SHans de Goede status = "okay"; 7353ab4af3SHans de Goede phy1: ethernet-phy@1 { 7453ab4af3SHans de Goede reg = <1>; 7553ab4af3SHans de Goede }; 7653ab4af3SHans de Goede}; 7753ab4af3SHans de Goede 7853ab4af3SHans de Goede&ir { 7953ab4af3SHans de Goede pinctrl-names = "default"; 8053ab4af3SHans de Goede pinctrl-0 = <&ir_pins_a>; 8153ab4af3SHans de Goede status = "okay"; 8253ab4af3SHans de Goede}; 8353ab4af3SHans de Goede 8453ab4af3SHans de Goede&ohci1 { 8553ab4af3SHans de Goede status = "okay"; 8653ab4af3SHans de Goede}; 8753ab4af3SHans de Goede 8853ab4af3SHans de Goede&uart0 { 8953ab4af3SHans de Goede pinctrl-names = "default"; 9053ab4af3SHans de Goede pinctrl-0 = <&uart0_pins_a>; 9153ab4af3SHans de Goede status = "okay"; 9253ab4af3SHans de Goede}; 9353ab4af3SHans de Goede 94*da52a4a3SHans de Goede&usb_otg { 95*da52a4a3SHans de Goede dr_mode = "host"; 96*da52a4a3SHans de Goede status = "okay"; 97*da52a4a3SHans de Goede}; 98*da52a4a3SHans de Goede 9953ab4af3SHans de Goede&usbphy { 10053ab4af3SHans de Goede status = "okay"; 10153ab4af3SHans de Goede}; 102