1b3a37248SEddie Huang/* 2b3a37248SEddie Huang * Copyright (c) 2014 MediaTek Inc. 3b3a37248SEddie Huang * Author: Eddie Huang <eddie.huang@mediatek.com> 4b3a37248SEddie Huang * 5b3a37248SEddie Huang * This program is free software; you can redistribute it and/or modify 6b3a37248SEddie Huang * it under the terms of the GNU General Public License version 2 as 7b3a37248SEddie Huang * published by the Free Software Foundation. 8b3a37248SEddie Huang * 9b3a37248SEddie Huang * This program is distributed in the hope that it will be useful, 10b3a37248SEddie Huang * but WITHOUT ANY WARRANTY; without even the implied warranty of 11b3a37248SEddie Huang * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12b3a37248SEddie Huang * GNU General Public License for more details. 13b3a37248SEddie Huang */ 14b3a37248SEddie Huang 15b3a37248SEddie Huang/dts-v1/; 16b3a37248SEddie Huang#include "mt8173.dtsi" 17b3a37248SEddie Huang 18b3a37248SEddie Huang/ { 19692ef3eeSYingjoe Chen model = "MediaTek MT8173 evaluation board"; 20692ef3eeSYingjoe Chen compatible = "mediatek,mt8173-evb", "mediatek,mt8173"; 21b3a37248SEddie Huang 22b3a37248SEddie Huang aliases { 23b3a37248SEddie Huang serial0 = &uart0; 24b3a37248SEddie Huang serial1 = &uart1; 25b3a37248SEddie Huang serial2 = &uart2; 26b3a37248SEddie Huang serial3 = &uart3; 27b3a37248SEddie Huang }; 28b3a37248SEddie Huang 29b3a37248SEddie Huang memory@40000000 { 30b3a37248SEddie Huang device_type = "memory"; 31b3a37248SEddie Huang reg = <0 0x40000000 0 0x80000000>; 32b3a37248SEddie Huang }; 33b3a37248SEddie Huang 34b3a37248SEddie Huang chosen { }; 35b3a37248SEddie Huang}; 36b3a37248SEddie Huang 37720570b1SHenry Chen&i2c1 { 38720570b1SHenry Chen status = "okay"; 39720570b1SHenry Chen 40720570b1SHenry Chen buck: da9211@68 { 41720570b1SHenry Chen compatible = "dlg,da9211"; 42720570b1SHenry Chen reg = <0x68>; 43720570b1SHenry Chen 44720570b1SHenry Chen regulators { 45720570b1SHenry Chen da9211_vcpu_reg: BUCKA { 46720570b1SHenry Chen regulator-name = "VBUCKA"; 47720570b1SHenry Chen regulator-min-microvolt = < 700000>; 48720570b1SHenry Chen regulator-max-microvolt = <1310000>; 49720570b1SHenry Chen regulator-min-microamp = <2000000>; 50720570b1SHenry Chen regulator-max-microamp = <4400000>; 51720570b1SHenry Chen regulator-ramp-delay = <10000>; 52720570b1SHenry Chen regulator-always-on; 53720570b1SHenry Chen }; 54720570b1SHenry Chen 55720570b1SHenry Chen da9211_vgpu_reg: BUCKB { 56720570b1SHenry Chen regulator-name = "VBUCKB"; 57720570b1SHenry Chen regulator-min-microvolt = < 700000>; 58720570b1SHenry Chen regulator-max-microvolt = <1310000>; 59720570b1SHenry Chen regulator-min-microamp = <2000000>; 60720570b1SHenry Chen regulator-max-microamp = <3000000>; 61720570b1SHenry Chen regulator-ramp-delay = <10000>; 62720570b1SHenry Chen }; 63720570b1SHenry Chen }; 64720570b1SHenry Chen }; 65720570b1SHenry Chen}; 66720570b1SHenry Chen 67*16ea61fcSEddie Huang&pwrap { 68*16ea61fcSEddie Huang pmic: mt6397 { 69*16ea61fcSEddie Huang compatible = "mediatek,mt6397"; 70*16ea61fcSEddie Huang interrupt-parent = <&pio>; 71*16ea61fcSEddie Huang interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; 72*16ea61fcSEddie Huang interrupt-controller; 73*16ea61fcSEddie Huang #interrupt-cells = <2>; 74*16ea61fcSEddie Huang 75*16ea61fcSEddie Huang mt6397regulator: mt6397regulator { 76*16ea61fcSEddie Huang compatible = "mediatek,mt6397-regulator"; 77*16ea61fcSEddie Huang 78*16ea61fcSEddie Huang mt6397_vpca15_reg: buck_vpca15 { 79*16ea61fcSEddie Huang regulator-compatible = "buck_vpca15"; 80*16ea61fcSEddie Huang regulator-name = "vpca15"; 81*16ea61fcSEddie Huang regulator-min-microvolt = < 700000>; 82*16ea61fcSEddie Huang regulator-max-microvolt = <1350000>; 83*16ea61fcSEddie Huang regulator-ramp-delay = <12500>; 84*16ea61fcSEddie Huang regulator-always-on; 85*16ea61fcSEddie Huang }; 86*16ea61fcSEddie Huang 87*16ea61fcSEddie Huang mt6397_vpca7_reg: buck_vpca7 { 88*16ea61fcSEddie Huang regulator-compatible = "buck_vpca7"; 89*16ea61fcSEddie Huang regulator-name = "vpca7"; 90*16ea61fcSEddie Huang regulator-min-microvolt = < 700000>; 91*16ea61fcSEddie Huang regulator-max-microvolt = <1350000>; 92*16ea61fcSEddie Huang regulator-ramp-delay = <12500>; 93*16ea61fcSEddie Huang regulator-enable-ramp-delay = <115>; 94*16ea61fcSEddie Huang }; 95*16ea61fcSEddie Huang 96*16ea61fcSEddie Huang mt6397_vsramca15_reg: buck_vsramca15 { 97*16ea61fcSEddie Huang regulator-compatible = "buck_vsramca15"; 98*16ea61fcSEddie Huang regulator-name = "vsramca15"; 99*16ea61fcSEddie Huang regulator-min-microvolt = < 700000>; 100*16ea61fcSEddie Huang regulator-max-microvolt = <1350000>; 101*16ea61fcSEddie Huang regulator-ramp-delay = <12500>; 102*16ea61fcSEddie Huang regulator-always-on; 103*16ea61fcSEddie Huang }; 104*16ea61fcSEddie Huang 105*16ea61fcSEddie Huang mt6397_vsramca7_reg: buck_vsramca7 { 106*16ea61fcSEddie Huang regulator-compatible = "buck_vsramca7"; 107*16ea61fcSEddie Huang regulator-name = "vsramca7"; 108*16ea61fcSEddie Huang regulator-min-microvolt = < 700000>; 109*16ea61fcSEddie Huang regulator-max-microvolt = <1350000>; 110*16ea61fcSEddie Huang regulator-ramp-delay = <12500>; 111*16ea61fcSEddie Huang regulator-always-on; 112*16ea61fcSEddie Huang }; 113*16ea61fcSEddie Huang 114*16ea61fcSEddie Huang mt6397_vcore_reg: buck_vcore { 115*16ea61fcSEddie Huang regulator-compatible = "buck_vcore"; 116*16ea61fcSEddie Huang regulator-name = "vcore"; 117*16ea61fcSEddie Huang regulator-min-microvolt = < 700000>; 118*16ea61fcSEddie Huang regulator-max-microvolt = <1350000>; 119*16ea61fcSEddie Huang regulator-ramp-delay = <12500>; 120*16ea61fcSEddie Huang regulator-always-on; 121*16ea61fcSEddie Huang }; 122*16ea61fcSEddie Huang 123*16ea61fcSEddie Huang mt6397_vgpu_reg: buck_vgpu { 124*16ea61fcSEddie Huang regulator-compatible = "buck_vgpu"; 125*16ea61fcSEddie Huang regulator-name = "vgpu"; 126*16ea61fcSEddie Huang regulator-min-microvolt = < 700000>; 127*16ea61fcSEddie Huang regulator-max-microvolt = <1350000>; 128*16ea61fcSEddie Huang regulator-ramp-delay = <12500>; 129*16ea61fcSEddie Huang regulator-enable-ramp-delay = <115>; 130*16ea61fcSEddie Huang }; 131*16ea61fcSEddie Huang 132*16ea61fcSEddie Huang mt6397_vdrm_reg: buck_vdrm { 133*16ea61fcSEddie Huang regulator-compatible = "buck_vdrm"; 134*16ea61fcSEddie Huang regulator-name = "vdrm"; 135*16ea61fcSEddie Huang regulator-min-microvolt = <1200000>; 136*16ea61fcSEddie Huang regulator-max-microvolt = <1400000>; 137*16ea61fcSEddie Huang regulator-ramp-delay = <12500>; 138*16ea61fcSEddie Huang regulator-always-on; 139*16ea61fcSEddie Huang }; 140*16ea61fcSEddie Huang 141*16ea61fcSEddie Huang mt6397_vio18_reg: buck_vio18 { 142*16ea61fcSEddie Huang regulator-compatible = "buck_vio18"; 143*16ea61fcSEddie Huang regulator-name = "vio18"; 144*16ea61fcSEddie Huang regulator-min-microvolt = <1620000>; 145*16ea61fcSEddie Huang regulator-max-microvolt = <1980000>; 146*16ea61fcSEddie Huang regulator-ramp-delay = <12500>; 147*16ea61fcSEddie Huang regulator-always-on; 148*16ea61fcSEddie Huang }; 149*16ea61fcSEddie Huang 150*16ea61fcSEddie Huang mt6397_vtcxo_reg: ldo_vtcxo { 151*16ea61fcSEddie Huang regulator-compatible = "ldo_vtcxo"; 152*16ea61fcSEddie Huang regulator-name = "vtcxo"; 153*16ea61fcSEddie Huang regulator-always-on; 154*16ea61fcSEddie Huang }; 155*16ea61fcSEddie Huang 156*16ea61fcSEddie Huang mt6397_va28_reg: ldo_va28 { 157*16ea61fcSEddie Huang regulator-compatible = "ldo_va28"; 158*16ea61fcSEddie Huang regulator-name = "va28"; 159*16ea61fcSEddie Huang regulator-always-on; 160*16ea61fcSEddie Huang }; 161*16ea61fcSEddie Huang 162*16ea61fcSEddie Huang mt6397_vcama_reg: ldo_vcama { 163*16ea61fcSEddie Huang regulator-compatible = "ldo_vcama"; 164*16ea61fcSEddie Huang regulator-name = "vcama"; 165*16ea61fcSEddie Huang regulator-min-microvolt = <1500000>; 166*16ea61fcSEddie Huang regulator-max-microvolt = <2800000>; 167*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 168*16ea61fcSEddie Huang }; 169*16ea61fcSEddie Huang 170*16ea61fcSEddie Huang mt6397_vio28_reg: ldo_vio28 { 171*16ea61fcSEddie Huang regulator-compatible = "ldo_vio28"; 172*16ea61fcSEddie Huang regulator-name = "vio28"; 173*16ea61fcSEddie Huang regulator-always-on; 174*16ea61fcSEddie Huang }; 175*16ea61fcSEddie Huang 176*16ea61fcSEddie Huang mt6397_vusb_reg: ldo_vusb { 177*16ea61fcSEddie Huang regulator-compatible = "ldo_vusb"; 178*16ea61fcSEddie Huang regulator-name = "vusb"; 179*16ea61fcSEddie Huang }; 180*16ea61fcSEddie Huang 181*16ea61fcSEddie Huang mt6397_vmc_reg: ldo_vmc { 182*16ea61fcSEddie Huang regulator-compatible = "ldo_vmc"; 183*16ea61fcSEddie Huang regulator-name = "vmc"; 184*16ea61fcSEddie Huang regulator-min-microvolt = <1800000>; 185*16ea61fcSEddie Huang regulator-max-microvolt = <3300000>; 186*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 187*16ea61fcSEddie Huang }; 188*16ea61fcSEddie Huang 189*16ea61fcSEddie Huang mt6397_vmch_reg: ldo_vmch { 190*16ea61fcSEddie Huang regulator-compatible = "ldo_vmch"; 191*16ea61fcSEddie Huang regulator-name = "vmch"; 192*16ea61fcSEddie Huang regulator-min-microvolt = <3000000>; 193*16ea61fcSEddie Huang regulator-max-microvolt = <3300000>; 194*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 195*16ea61fcSEddie Huang }; 196*16ea61fcSEddie Huang 197*16ea61fcSEddie Huang mt6397_vemc_3v3_reg: ldo_vemc3v3 { 198*16ea61fcSEddie Huang regulator-compatible = "ldo_vemc3v3"; 199*16ea61fcSEddie Huang regulator-name = "vemc_3v3"; 200*16ea61fcSEddie Huang regulator-min-microvolt = <3000000>; 201*16ea61fcSEddie Huang regulator-max-microvolt = <3300000>; 202*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 203*16ea61fcSEddie Huang }; 204*16ea61fcSEddie Huang 205*16ea61fcSEddie Huang mt6397_vgp1_reg: ldo_vgp1 { 206*16ea61fcSEddie Huang regulator-compatible = "ldo_vgp1"; 207*16ea61fcSEddie Huang regulator-name = "vcamd"; 208*16ea61fcSEddie Huang regulator-min-microvolt = <1220000>; 209*16ea61fcSEddie Huang regulator-max-microvolt = <3300000>; 210*16ea61fcSEddie Huang regulator-enable-ramp-delay = <240>; 211*16ea61fcSEddie Huang }; 212*16ea61fcSEddie Huang 213*16ea61fcSEddie Huang mt6397_vgp2_reg: ldo_vgp2 { 214*16ea61fcSEddie Huang regulator-compatible = "ldo_vgp2"; 215*16ea61fcSEddie Huang regulator-name = "vcamio"; 216*16ea61fcSEddie Huang regulator-min-microvolt = <1000000>; 217*16ea61fcSEddie Huang regulator-max-microvolt = <3300000>; 218*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 219*16ea61fcSEddie Huang }; 220*16ea61fcSEddie Huang 221*16ea61fcSEddie Huang mt6397_vgp3_reg: ldo_vgp3 { 222*16ea61fcSEddie Huang regulator-compatible = "ldo_vgp3"; 223*16ea61fcSEddie Huang regulator-name = "vcamaf"; 224*16ea61fcSEddie Huang regulator-min-microvolt = <1200000>; 225*16ea61fcSEddie Huang regulator-max-microvolt = <3300000>; 226*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 227*16ea61fcSEddie Huang }; 228*16ea61fcSEddie Huang 229*16ea61fcSEddie Huang mt6397_vgp4_reg: ldo_vgp4 { 230*16ea61fcSEddie Huang regulator-compatible = "ldo_vgp4"; 231*16ea61fcSEddie Huang regulator-name = "vgp4"; 232*16ea61fcSEddie Huang regulator-min-microvolt = <1200000>; 233*16ea61fcSEddie Huang regulator-max-microvolt = <3300000>; 234*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 235*16ea61fcSEddie Huang }; 236*16ea61fcSEddie Huang 237*16ea61fcSEddie Huang mt6397_vgp5_reg: ldo_vgp5 { 238*16ea61fcSEddie Huang regulator-compatible = "ldo_vgp5"; 239*16ea61fcSEddie Huang regulator-name = "vgp5"; 240*16ea61fcSEddie Huang regulator-min-microvolt = <1200000>; 241*16ea61fcSEddie Huang regulator-max-microvolt = <3000000>; 242*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 243*16ea61fcSEddie Huang }; 244*16ea61fcSEddie Huang 245*16ea61fcSEddie Huang mt6397_vgp6_reg: ldo_vgp6 { 246*16ea61fcSEddie Huang regulator-compatible = "ldo_vgp6"; 247*16ea61fcSEddie Huang regulator-name = "vgp6"; 248*16ea61fcSEddie Huang regulator-min-microvolt = <1200000>; 249*16ea61fcSEddie Huang regulator-max-microvolt = <3300000>; 250*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 251*16ea61fcSEddie Huang }; 252*16ea61fcSEddie Huang 253*16ea61fcSEddie Huang mt6397_vibr_reg: ldo_vibr { 254*16ea61fcSEddie Huang regulator-compatible = "ldo_vibr"; 255*16ea61fcSEddie Huang regulator-name = "vibr"; 256*16ea61fcSEddie Huang regulator-min-microvolt = <1300000>; 257*16ea61fcSEddie Huang regulator-max-microvolt = <3300000>; 258*16ea61fcSEddie Huang regulator-enable-ramp-delay = <218>; 259*16ea61fcSEddie Huang }; 260*16ea61fcSEddie Huang }; 261*16ea61fcSEddie Huang }; 262*16ea61fcSEddie Huang}; 263*16ea61fcSEddie Huang 264b3a37248SEddie Huang&uart0 { 265b3a37248SEddie Huang status = "okay"; 266b3a37248SEddie Huang}; 267