Annotation of src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi, Revision 1.1
1.1 ! jmcneill 1: /*
! 2: * Copyright (c) 2017 Icenowy Zheng <icenowy@aosc.xyz>
! 3: *
! 4: * Based on sun50i-a64-pine64.dts, which is:
! 5: * Copyright (c) 2016 ARM Ltd.
! 6: *
! 7: * This file is dual-licensed: you can use it either under the terms
! 8: * of the GPL or the X11 license, at your option. Note that this dual
! 9: * licensing only applies to this file, and not this project as a
! 10: * whole.
! 11: *
! 12: * a) This library is free software; you can redistribute it and/or
! 13: * modify it under the terms of the GNU General Public License as
! 14: * published by the Free Software Foundation; either version 2 of the
! 15: * License, or (at your option) any later version.
! 16: *
! 17: * This library is distributed in the hope that it will be useful,
! 18: * but WITHOUT ANY WARRANTY; without even the implied warranty of
! 19: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 20: * GNU General Public License for more details.
! 21: *
! 22: * Or, alternatively,
! 23: *
! 24: * b) Permission is hereby granted, free of charge, to any person
! 25: * obtaining a copy of this software and associated documentation
! 26: * files (the "Software"), to deal in the Software without
! 27: * restriction, including without limitation the rights to use,
! 28: * copy, modify, merge, publish, distribute, sublicense, and/or
! 29: * sell copies of the Software, and to permit persons to whom the
! 30: * Software is furnished to do so, subject to the following
! 31: * conditions:
! 32: *
! 33: * The above copyright notice and this permission notice shall be
! 34: * included in all copies or substantial portions of the Software.
! 35: *
! 36: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
! 37: * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
! 38: * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
! 39: * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
! 40: * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
! 41: * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
! 42: * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
! 43: * OTHER DEALINGS IN THE SOFTWARE.
! 44: */
! 45:
! 46: #include "sun50i-a64.dtsi"
! 47:
! 48: / {
! 49: reg_vcc3v3: vcc3v3 {
! 50: compatible = "regulator-fixed";
! 51: regulator-name = "vcc3v3";
! 52: regulator-min-microvolt = <3300000>;
! 53: regulator-max-microvolt = <3300000>;
! 54: };
! 55: };
! 56:
! 57: &mmc0 {
! 58: pinctrl-names = "default";
! 59: pinctrl-0 = <&mmc0_pins>;
! 60: vmmc-supply = <®_vcc3v3>;
! 61: non-removable;
! 62: disable-wp;
! 63: bus-width = <4>;
! 64: status = "okay";
! 65: };
! 66:
! 67: &r_rsb {
! 68: status = "okay";
! 69:
! 70: axp803: pmic@3a3 {
! 71: compatible = "x-powers,axp803";
! 72: reg = <0x3a3>;
! 73: interrupt-parent = <&r_intc>;
! 74: interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
! 75: };
! 76: };
! 77:
! 78: #include "axp803.dtsi"
! 79:
! 80: ®_aldo2 {
! 81: regulator-always-on;
! 82: regulator-min-microvolt = <1800000>;
! 83: regulator-max-microvolt = <3300000>;
! 84: regulator-name = "vcc-pl";
! 85: };
! 86:
! 87: ®_aldo3 {
! 88: regulator-always-on;
! 89: regulator-min-microvolt = <3000000>;
! 90: regulator-max-microvolt = <3000000>;
! 91: regulator-name = "vcc-pll-avcc";
! 92: };
! 93:
! 94: ®_dcdc1 {
! 95: regulator-always-on;
! 96: regulator-min-microvolt = <3300000>;
! 97: regulator-max-microvolt = <3300000>;
! 98: regulator-name = "vcc-3v3";
! 99: };
! 100:
! 101: ®_dcdc2 {
! 102: regulator-always-on;
! 103: regulator-min-microvolt = <1040000>;
! 104: regulator-max-microvolt = <1300000>;
! 105: regulator-name = "vdd-cpux";
! 106: };
! 107:
! 108: /* DCDC3 is polyphased with DCDC2 */
! 109:
! 110: ®_dcdc5 {
! 111: regulator-always-on;
! 112: regulator-min-microvolt = <1200000>;
! 113: regulator-max-microvolt = <1200000>;
! 114: regulator-name = "vcc-dram";
! 115: };
! 116:
! 117: ®_dcdc6 {
! 118: regulator-always-on;
! 119: regulator-min-microvolt = <1100000>;
! 120: regulator-max-microvolt = <1100000>;
! 121: regulator-name = "vdd-sys";
! 122: };
! 123:
! 124: ®_eldo1 {
! 125: regulator-always-on;
! 126: regulator-min-microvolt = <1800000>;
! 127: regulator-max-microvolt = <1800000>;
! 128: regulator-name = "vdd-1v8-lpddr";
! 129: };
! 130:
! 131: ®_fldo1 {
! 132: regulator-min-microvolt = <1200000>;
! 133: regulator-max-microvolt = <1200000>;
! 134: regulator-name = "vcc-1v2-hsic";
! 135: };
! 136:
! 137: /*
! 138: * The A64 chip cannot work without this regulator off, although
! 139: * it seems to be only driving the AR100 core.
! 140: * Maybe we don't still know well about CPUs domain.
! 141: */
! 142: ®_fldo2 {
! 143: regulator-always-on;
! 144: regulator-min-microvolt = <1100000>;
! 145: regulator-max-microvolt = <1100000>;
! 146: regulator-name = "vdd-cpus";
! 147: };
! 148:
! 149: ®_rtc_ldo {
! 150: regulator-name = "vcc-rtc";
! 151: };
CVSweb <webmaster@jp.NetBSD.org>