19800cfceSHans de Goede/* 29800cfceSHans de Goede * Copyright 2014 Siarhei Siamashka <siarhei.siamashka@xxxxxxxxx> 39800cfceSHans de Goede * 49800cfceSHans de Goede * This file is dual-licensed: you can use it either under the terms 59800cfceSHans de Goede * of the GPL or the X11 license, at your option. Note that this dual 69800cfceSHans de Goede * licensing only applies to this file, and not this project as a 79800cfceSHans de Goede * whole. 89800cfceSHans de Goede * 99800cfceSHans de Goede * a) This library is free software; you can redistribute it and/or 109800cfceSHans de Goede * modify it under the terms of the GNU General Public License as 119800cfceSHans de Goede * published by the Free Software Foundation; either version 2 of the 129800cfceSHans de Goede * License, or (at your option) any later version. 139800cfceSHans de Goede * 149800cfceSHans de Goede * This library is distributed in the hope that it will be useful, 159800cfceSHans de Goede * but WITHOUT ANY WARRANTY; without even the implied warranty of 169800cfceSHans de Goede * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 179800cfceSHans de Goede * GNU General Public License for more details. 189800cfceSHans de Goede * 199800cfceSHans de Goede * You should have received a copy of the GNU General Public 209800cfceSHans de Goede * License along with this library; if not, write to the Free 219800cfceSHans de Goede * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 229800cfceSHans de Goede * MA 02110-1301 USA 239800cfceSHans de Goede * 249800cfceSHans de Goede * Or, alternatively, 259800cfceSHans de Goede * 269800cfceSHans de Goede * b) Permission is hereby granted, free of charge, to any person 279800cfceSHans de Goede * obtaining a copy of this software and associated documentation 289800cfceSHans de Goede * files (the "Software"), to deal in the Software without 299800cfceSHans de Goede * restriction, including without limitation the rights to use, 309800cfceSHans de Goede * copy, modify, merge, publish, distribute, sublicense, and/or 319800cfceSHans de Goede * sell copies of the Software, and to permit persons to whom the 329800cfceSHans de Goede * Software is furnished to do so, subject to the following 339800cfceSHans de Goede * conditions: 349800cfceSHans de Goede * 359800cfceSHans de Goede * The above copyright notice and this permission notice shall be 369800cfceSHans de Goede * included in all copies or substantial portions of the Software. 379800cfceSHans de Goede * 389800cfceSHans de Goede * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 399800cfceSHans de Goede * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 409800cfceSHans de Goede * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 419800cfceSHans de Goede * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 429800cfceSHans de Goede * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 439800cfceSHans de Goede * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 449800cfceSHans de Goede * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 459800cfceSHans de Goede * OTHER DEALINGS IN THE SOFTWARE. 469800cfceSHans de Goede */ 479800cfceSHans de Goede 489800cfceSHans de Goede/dts-v1/; 499800cfceSHans de Goede#include "sun7i-a20.dtsi" 509800cfceSHans de Goede#include "sunxi-common-regulators.dtsi" 519800cfceSHans de Goede 529800cfceSHans de Goede/ { 539800cfceSHans de Goede model = "MSI Primo73 tablet"; 549800cfceSHans de Goede compatible = "msi,primo73", "allwinner,sun7i-a20"; 559800cfceSHans de Goede 569800cfceSHans de Goede aliases { 579800cfceSHans de Goede serial0 = &uart0; 589800cfceSHans de Goede }; 599800cfceSHans de Goede 609800cfceSHans de Goede chosen { 619800cfceSHans de Goede stdout-path = "serial0:115200n8"; 629800cfceSHans de Goede }; 63*b9d59d08SJagan Teki}; 649800cfceSHans de Goede 65*b9d59d08SJagan Teki&ehci1 { 66*b9d59d08SJagan Teki status = "okay"; 67*b9d59d08SJagan Teki}; 68*b9d59d08SJagan Teki 69*b9d59d08SJagan Teki&mmc0 { 709800cfceSHans de Goede pinctrl-names = "default"; 71*b9d59d08SJagan Teki pinctrl-0 = <&mmc0_pins_a>; 729800cfceSHans de Goede vmmc-supply = <®_vcc3v3>; 739800cfceSHans de Goede bus-width = <4>; 74*b9d59d08SJagan Teki cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ 759800cfceSHans de Goede status = "okay"; 769800cfceSHans de Goede}; 779800cfceSHans de Goede 78*b9d59d08SJagan Teki®_usb2_vbus { 79*b9d59d08SJagan Teki gpio = <&pio 7 12 0>; /* PH12 */ 809800cfceSHans de Goede status = "okay"; 819800cfceSHans de Goede}; 829800cfceSHans de Goede 83*b9d59d08SJagan Teki&uart0 { 849800cfceSHans de Goede pinctrl-names = "default"; 859800cfceSHans de Goede pinctrl-0 = <&uart0_pins_a>; 869800cfceSHans de Goede status = "okay"; 879800cfceSHans de Goede}; 889800cfceSHans de Goede 89*b9d59d08SJagan Teki&usbphy { 90*b9d59d08SJagan Teki usb2_vbus-supply = <®_usb2_vbus>; 919800cfceSHans de Goede status = "okay"; 929800cfceSHans de Goede}; 93