1*c3904a26SIcenowy Zheng/* 2*c3904a26SIcenowy Zheng * Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.xyz> 3*c3904a26SIcenowy Zheng * 4*c3904a26SIcenowy Zheng * Based on sun50i-a64-pine64.dts, which is: 5*c3904a26SIcenowy Zheng * Copyright (c) 2016 ARM Ltd. 6*c3904a26SIcenowy Zheng * 7*c3904a26SIcenowy Zheng * This file is dual-licensed: you can use it either under the terms 8*c3904a26SIcenowy Zheng * of the GPL or the X11 license, at your option. Note that this dual 9*c3904a26SIcenowy Zheng * licensing only applies to this file, and not this project as a 10*c3904a26SIcenowy Zheng * whole. 11*c3904a26SIcenowy Zheng * 12*c3904a26SIcenowy Zheng * a) This library is free software; you can redistribute it and/or 13*c3904a26SIcenowy Zheng * modify it under the terms of the GNU General Public License as 14*c3904a26SIcenowy Zheng * published by the Free Software Foundation; either version 2 of the 15*c3904a26SIcenowy Zheng * License, or (at your option) any later version. 16*c3904a26SIcenowy Zheng * 17*c3904a26SIcenowy Zheng * This library is distributed in the hope that it will be useful, 18*c3904a26SIcenowy Zheng * but WITHOUT ANY WARRANTY; without even the implied warranty of 19*c3904a26SIcenowy Zheng * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20*c3904a26SIcenowy Zheng * GNU General Public License for more details. 21*c3904a26SIcenowy Zheng * 22*c3904a26SIcenowy Zheng * Or, alternatively, 23*c3904a26SIcenowy Zheng * 24*c3904a26SIcenowy Zheng * b) Permission is hereby granted, free of charge, to any person 25*c3904a26SIcenowy Zheng * obtaining a copy of this software and associated documentation 26*c3904a26SIcenowy Zheng * files (the "Software"), to deal in the Software without 27*c3904a26SIcenowy Zheng * restriction, including without limitation the rights to use, 28*c3904a26SIcenowy Zheng * copy, modify, merge, publish, distribute, sublicense, and/or 29*c3904a26SIcenowy Zheng * sell copies of the Software, and to permit persons to whom the 30*c3904a26SIcenowy Zheng * Software is furnished to do so, subject to the following 31*c3904a26SIcenowy Zheng * conditions: 32*c3904a26SIcenowy Zheng * 33*c3904a26SIcenowy Zheng * The above copyright notice and this permission notice shall be 34*c3904a26SIcenowy Zheng * included in all copies or substantial portions of the Software. 35*c3904a26SIcenowy Zheng * 36*c3904a26SIcenowy Zheng * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 37*c3904a26SIcenowy Zheng * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 38*c3904a26SIcenowy Zheng * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 39*c3904a26SIcenowy Zheng * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 40*c3904a26SIcenowy Zheng * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 41*c3904a26SIcenowy Zheng * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 42*c3904a26SIcenowy Zheng * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43*c3904a26SIcenowy Zheng * OTHER DEALINGS IN THE SOFTWARE. 44*c3904a26SIcenowy Zheng */ 45*c3904a26SIcenowy Zheng 46*c3904a26SIcenowy Zheng#include "sun50i-a64.dtsi" 47*c3904a26SIcenowy Zheng 48*c3904a26SIcenowy Zheng/ { 49*c3904a26SIcenowy Zheng reg_vcc3v3: vcc3v3 { 50*c3904a26SIcenowy Zheng compatible = "regulator-fixed"; 51*c3904a26SIcenowy Zheng regulator-name = "vcc3v3"; 52*c3904a26SIcenowy Zheng regulator-min-microvolt = <3300000>; 53*c3904a26SIcenowy Zheng regulator-max-microvolt = <3300000>; 54*c3904a26SIcenowy Zheng }; 55*c3904a26SIcenowy Zheng}; 56*c3904a26SIcenowy Zheng 57*c3904a26SIcenowy Zheng&mmc0 { 58*c3904a26SIcenowy Zheng pinctrl-names = "default"; 59*c3904a26SIcenowy Zheng pinctrl-0 = <&mmc0_pins>; 60*c3904a26SIcenowy Zheng vmmc-supply = <®_vcc3v3>; 61*c3904a26SIcenowy Zheng non-removable; 62*c3904a26SIcenowy Zheng disable-wp; 63*c3904a26SIcenowy Zheng bus-width = <4>; 64*c3904a26SIcenowy Zheng status = "okay"; 65*c3904a26SIcenowy Zheng}; 66