1*53ab4af3SHans de Goede/* 2*53ab4af3SHans de Goede * Copyright 2014 Hans de Goede <hdegoede@redhat.com> 3*53ab4af3SHans de Goede * 4*53ab4af3SHans de Goede * This file is dual-licensed: you can use it either under the terms 5*53ab4af3SHans de Goede * of the GPL or the X11 license, at your option. Note that this dual 6*53ab4af3SHans de Goede * licensing only applies to this file, and not this project as a 7*53ab4af3SHans de Goede * whole. 8*53ab4af3SHans de Goede * 9*53ab4af3SHans de Goede * a) This library is free software; you can redistribute it and/or 10*53ab4af3SHans de Goede * modify it under the terms of the GNU General Public License as 11*53ab4af3SHans de Goede * published by the Free Software Foundation; either version 2 of the 12*53ab4af3SHans de Goede * License, or (at your option) any later version. 13*53ab4af3SHans de Goede * 14*53ab4af3SHans de Goede * This library is distributed in the hope that it will be useful, 15*53ab4af3SHans de Goede * but WITHOUT ANY WARRANTY; without even the implied warranty of 16*53ab4af3SHans de Goede * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*53ab4af3SHans de Goede * GNU General Public License for more details. 18*53ab4af3SHans de Goede * 19*53ab4af3SHans de Goede * You should have received a copy of the GNU General Public 20*53ab4af3SHans de Goede * License along with this library; if not, write to the Free 21*53ab4af3SHans de Goede * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 22*53ab4af3SHans de Goede * MA 02110-1301 USA 23*53ab4af3SHans de Goede * 24*53ab4af3SHans de Goede * Or, alternatively, 25*53ab4af3SHans de Goede * 26*53ab4af3SHans de Goede * b) Permission is hereby granted, free of charge, to any person 27*53ab4af3SHans de Goede * obtaining a copy of this software and associated documentation 28*53ab4af3SHans de Goede * files (the "Software"), to deal in the Software without 29*53ab4af3SHans de Goede * restriction, including without limitation the rights to use, 30*53ab4af3SHans de Goede * copy, modify, merge, publish, distribute, sublicense, and/or 31*53ab4af3SHans de Goede * sell copies of the Software, and to permit persons to whom the 32*53ab4af3SHans de Goede * Software is furnished to do so, subject to the following 33*53ab4af3SHans de Goede * conditions: 34*53ab4af3SHans de Goede * 35*53ab4af3SHans de Goede * The above copyright notice and this permission notice shall be 36*53ab4af3SHans de Goede * included in all copies or substantial portions of the Software. 37*53ab4af3SHans de Goede * 38*53ab4af3SHans de Goede * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 39*53ab4af3SHans de Goede * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 40*53ab4af3SHans de Goede * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 41*53ab4af3SHans de Goede * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 42*53ab4af3SHans de Goede * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 43*53ab4af3SHans de Goede * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 44*53ab4af3SHans de Goede * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 45*53ab4af3SHans de Goede * OTHER DEALINGS IN THE SOFTWARE. 46*53ab4af3SHans de Goede */ 47*53ab4af3SHans de Goede 48*53ab4af3SHans de Goede/dts-v1/; 49*53ab4af3SHans de Goede#include "sun6i-a31s.dtsi" 50*53ab4af3SHans de Goede 51*53ab4af3SHans de Goede#include <dt-bindings/pinctrl/sun4i-a10.h> 52*53ab4af3SHans de Goede 53*53ab4af3SHans de Goede/ { 54*53ab4af3SHans de Goede model = "CSQ CS908 top set box"; 55*53ab4af3SHans de Goede compatible = "csq,cs908", "allwinner,sun6i-a31s"; 56*53ab4af3SHans de Goede 57*53ab4af3SHans de Goede aliases { 58*53ab4af3SHans de Goede serial0 = &uart0; 59*53ab4af3SHans de Goede }; 60*53ab4af3SHans de Goede 61*53ab4af3SHans de Goede chosen { 62*53ab4af3SHans de Goede stdout-path = "serial0:115200n8"; 63*53ab4af3SHans de Goede }; 64*53ab4af3SHans de Goede}; 65*53ab4af3SHans de Goede 66*53ab4af3SHans de Goede&ehci0 { 67*53ab4af3SHans de Goede status = "okay"; 68*53ab4af3SHans de Goede}; 69*53ab4af3SHans de Goede 70*53ab4af3SHans de Goede&ehci1 { 71*53ab4af3SHans de Goede status = "okay"; 72*53ab4af3SHans de Goede}; 73*53ab4af3SHans de Goede 74*53ab4af3SHans de Goede&gmac { 75*53ab4af3SHans de Goede pinctrl-names = "default"; 76*53ab4af3SHans de Goede pinctrl-0 = <&gmac_pins_mii_a>; 77*53ab4af3SHans de Goede phy = <&phy1>; 78*53ab4af3SHans de Goede phy-mode = "mii"; 79*53ab4af3SHans de Goede status = "okay"; 80*53ab4af3SHans de Goede phy1: ethernet-phy@1 { 81*53ab4af3SHans de Goede reg = <1>; 82*53ab4af3SHans de Goede }; 83*53ab4af3SHans de Goede}; 84*53ab4af3SHans de Goede 85*53ab4af3SHans de Goede&ir { 86*53ab4af3SHans de Goede pinctrl-names = "default"; 87*53ab4af3SHans de Goede pinctrl-0 = <&ir_pins_a>; 88*53ab4af3SHans de Goede status = "okay"; 89*53ab4af3SHans de Goede}; 90*53ab4af3SHans de Goede 91*53ab4af3SHans de Goede&ohci1 { 92*53ab4af3SHans de Goede status = "okay"; 93*53ab4af3SHans de Goede}; 94*53ab4af3SHans de Goede 95*53ab4af3SHans de Goede&uart0 { 96*53ab4af3SHans de Goede pinctrl-names = "default"; 97*53ab4af3SHans de Goede pinctrl-0 = <&uart0_pins_a>; 98*53ab4af3SHans de Goede status = "okay"; 99*53ab4af3SHans de Goede}; 100*53ab4af3SHans de Goede 101*53ab4af3SHans de Goede&usbphy { 102*53ab4af3SHans de Goede status = "okay"; 103*53ab4af3SHans de Goede}; 104