14e388608SAndre Przywara/* 24e388608SAndre Przywara * Copyright (c) 2016 ARM Ltd. 34e388608SAndre Przywara * 44e388608SAndre Przywara * This file is dual-licensed: you can use it either under the terms 54e388608SAndre Przywara * of the GPL or the X11 license, at your option. Note that this dual 64e388608SAndre Przywara * licensing only applies to this file, and not this project as a 74e388608SAndre Przywara * whole. 84e388608SAndre Przywara * 94e388608SAndre Przywara * a) This library is free software; you can redistribute it and/or 104e388608SAndre Przywara * modify it under the terms of the GNU General Public License as 114e388608SAndre Przywara * published by the Free Software Foundation; either version 2 of the 124e388608SAndre Przywara * License, or (at your option) any later version. 134e388608SAndre Przywara * 144e388608SAndre Przywara * This library is distributed in the hope that it will be useful, 154e388608SAndre Przywara * but WITHOUT ANY WARRANTY; without even the implied warranty of 164e388608SAndre Przywara * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 174e388608SAndre Przywara * GNU General Public License for more details. 184e388608SAndre Przywara * 194e388608SAndre Przywara * Or, alternatively, 204e388608SAndre Przywara * 214e388608SAndre Przywara * b) Permission is hereby granted, free of charge, to any person 224e388608SAndre Przywara * obtaining a copy of this software and associated documentation 234e388608SAndre Przywara * files (the "Software"), to deal in the Software without 244e388608SAndre Przywara * restriction, including without limitation the rights to use, 254e388608SAndre Przywara * copy, modify, merge, publish, distribute, sublicense, and/or 264e388608SAndre Przywara * sell copies of the Software, and to permit persons to whom the 274e388608SAndre Przywara * Software is furnished to do so, subject to the following 284e388608SAndre Przywara * conditions: 294e388608SAndre Przywara * 304e388608SAndre Przywara * The above copyright notice and this permission notice shall be 314e388608SAndre Przywara * included in all copies or substantial portions of the Software. 324e388608SAndre Przywara * 334e388608SAndre Przywara * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 344e388608SAndre Przywara * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 354e388608SAndre Przywara * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 364e388608SAndre Przywara * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 374e388608SAndre Przywara * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 384e388608SAndre Przywara * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 394e388608SAndre Przywara * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 404e388608SAndre Przywara * OTHER DEALINGS IN THE SOFTWARE. 414e388608SAndre Przywara */ 424e388608SAndre Przywara 434e388608SAndre Przywara/dts-v1/; 444e388608SAndre Przywara 454e388608SAndre Przywara#include "sun50i-a64.dtsi" 464e388608SAndre Przywara 47ebe3ae29SAndre Przywara#include <dt-bindings/gpio/gpio.h> 48ebe3ae29SAndre Przywara 494e388608SAndre Przywara/ { 504e388608SAndre Przywara model = "Pine64"; 514e388608SAndre Przywara compatible = "pine64,pine64", "allwinner,sun50i-a64"; 524e388608SAndre Przywara 534e388608SAndre Przywara aliases { 544e388608SAndre Przywara serial0 = &uart0; 554e388608SAndre Przywara }; 564e388608SAndre Przywara 574e388608SAndre Przywara chosen { 584e388608SAndre Przywara stdout-path = "serial0:115200n8"; 594e388608SAndre Przywara }; 60ebe3ae29SAndre Przywara 61ebe3ae29SAndre Przywara reg_vcc3v3: vcc3v3 { 62ebe3ae29SAndre Przywara compatible = "regulator-fixed"; 63ebe3ae29SAndre Przywara regulator-name = "vcc3v3"; 64ebe3ae29SAndre Przywara regulator-min-microvolt = <3300000>; 65ebe3ae29SAndre Przywara regulator-max-microvolt = <3300000>; 66ebe3ae29SAndre Przywara }; 674e388608SAndre Przywara}; 684e388608SAndre Przywara 698543e620SIcenowy Zheng&ehci0 { 708543e620SIcenowy Zheng status = "okay"; 718543e620SIcenowy Zheng}; 728543e620SIcenowy Zheng 73d49f9dbcSIcenowy Zheng&ehci1 { 74d49f9dbcSIcenowy Zheng status = "okay"; 75d49f9dbcSIcenowy Zheng}; 76d49f9dbcSIcenowy Zheng 774e388608SAndre Przywara&i2c1 { 784e388608SAndre Przywara pinctrl-names = "default"; 794e388608SAndre Przywara pinctrl-0 = <&i2c1_pins>; 804e388608SAndre Przywara status = "okay"; 814e388608SAndre Przywara}; 824e388608SAndre Przywara 834e388608SAndre Przywara&i2c1_pins { 844e388608SAndre Przywara bias-pull-up; 854e388608SAndre Przywara}; 86ac93c09cSIcenowy Zheng 87ebe3ae29SAndre Przywara&mmc0 { 88ebe3ae29SAndre Przywara pinctrl-names = "default"; 89ebe3ae29SAndre Przywara pinctrl-0 = <&mmc0_pins>; 90ebe3ae29SAndre Przywara vmmc-supply = <®_vcc3v3>; 91ebe3ae29SAndre Przywara cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; 92ebe3ae29SAndre Przywara cd-inverted; 93ebe3ae29SAndre Przywara disable-wp; 94ebe3ae29SAndre Przywara bus-width = <4>; 95ebe3ae29SAndre Przywara status = "okay"; 96ebe3ae29SAndre Przywara}; 97ebe3ae29SAndre Przywara 988543e620SIcenowy Zheng&ohci0 { 998543e620SIcenowy Zheng status = "okay"; 1008543e620SIcenowy Zheng}; 1018543e620SIcenowy Zheng 102d49f9dbcSIcenowy Zheng&ohci1 { 103d49f9dbcSIcenowy Zheng status = "okay"; 104d49f9dbcSIcenowy Zheng}; 105d49f9dbcSIcenowy Zheng 106ac93c09cSIcenowy Zheng&uart0 { 107ac93c09cSIcenowy Zheng pinctrl-names = "default"; 108ac93c09cSIcenowy Zheng pinctrl-0 = <&uart0_pins_a>; 109ac93c09cSIcenowy Zheng status = "okay"; 110ac93c09cSIcenowy Zheng}; 111d49f9dbcSIcenowy Zheng 112f57e8384SIcenowy Zheng&usb_otg { 113f57e8384SIcenowy Zheng dr_mode = "host"; 114f57e8384SIcenowy Zheng status = "okay"; 115f57e8384SIcenowy Zheng}; 116f57e8384SIcenowy Zheng 117d49f9dbcSIcenowy Zheng&usbphy { 118d49f9dbcSIcenowy Zheng status = "okay"; 119d49f9dbcSIcenowy Zheng}; 120