mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
abe60a3a7a
Remove the usage of skeleton.dtsi in the remaining dts files. It was
deprecated since commit 9c0da3cc61
("ARM: dts: explicitly mark
skeleton.dtsi as deprecated"). This will make adding a unit-address to
memory nodes easier.
The main tricky part to removing skeleton.dtsi is we could end up with
no /memory node at all when a bootloader depends on one being present. I
hacked up dtc to check for this condition.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
194 lines
4.6 KiB
Plaintext
194 lines
4.6 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2014 MediaTek Inc.
|
|
* Author: Joe.C <yingjoe.chen@mediatek.com>
|
|
*
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "mt8135.dtsi"
|
|
|
|
/ {
|
|
model = "MediaTek MT8135 evaluation board";
|
|
compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0 0x80000000 0 0x40000000>;
|
|
};
|
|
};
|
|
|
|
&pwrap {
|
|
pmic: mt6397 {
|
|
compatible = "mediatek,mt6397";
|
|
|
|
mt6397regulator: mt6397regulator {
|
|
compatible = "mediatek,mt6397-regulator";
|
|
|
|
mt6397_vpca15_reg: buck_vpca15 {
|
|
regulator-name = "vpca15";
|
|
regulator-min-microvolt = < 850000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vpca7_reg: buck_vpca7 {
|
|
regulator-name = "vpca7";
|
|
regulator-min-microvolt = < 850000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vsramca15_reg: buck_vsramca15 {
|
|
regulator-name = "vsramca15";
|
|
regulator-min-microvolt = < 850000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vsramca7_reg: buck_vsramca7 {
|
|
regulator-name = "vsramca7";
|
|
regulator-min-microvolt = < 850000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vcore_reg: buck_vcore {
|
|
regulator-name = "vcore";
|
|
regulator-min-microvolt = < 850000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vgpu_reg: buck_vgpu {
|
|
regulator-name = "vgpu";
|
|
regulator-min-microvolt = < 700000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-enable-ramp-delay = <115>;
|
|
};
|
|
|
|
mt6397_vdrm_reg: buck_vdrm {
|
|
regulator-name = "vdrm";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1400000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vio18_reg: buck_vio18 {
|
|
regulator-name = "vio18";
|
|
regulator-min-microvolt = <1620000>;
|
|
regulator-max-microvolt = <1980000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vtcxo_reg: ldo_vtcxo {
|
|
regulator-name = "vtcxo";
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_va28_reg: ldo_va28 {
|
|
regulator-name = "va28";
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vcama_reg: ldo_vcama {
|
|
regulator-name = "vcama";
|
|
regulator-min-microvolt = <1500000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vio28_reg: ldo_vio28 {
|
|
regulator-name = "vio28";
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vusb_reg: ldo_vusb {
|
|
regulator-name = "vusb";
|
|
};
|
|
|
|
mt6397_vmc_reg: ldo_vmc {
|
|
regulator-name = "vmc";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vmch_reg: ldo_vmch {
|
|
regulator-name = "vmch";
|
|
regulator-min-microvolt = <3000000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vemc_3v3_reg: ldo_vemc3v3 {
|
|
regulator-name = "vemc_3v3";
|
|
regulator-min-microvolt = <3000000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp1_reg: ldo_vgp1 {
|
|
regulator-name = "vcamd";
|
|
regulator-min-microvolt = <1220000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <240>;
|
|
};
|
|
|
|
mt6397_vgp2_reg: ldo_vgp2 {
|
|
regulator-name = "vcamio";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp3_reg: ldo_vgp3 {
|
|
regulator-name = "vcamaf";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp4_reg: ldo_vgp4 {
|
|
regulator-name = "vgp4";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp5_reg: ldo_vgp5 {
|
|
regulator-name = "vgp5";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp6_reg: ldo_vgp6 {
|
|
regulator-name = "vgp6";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vibr_reg: ldo_vibr {
|
|
regulator-name = "vibr";
|
|
regulator-min-microvolt = <1300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart3 {
|
|
status = "okay";
|
|
};
|