blob: a5ab82c940efb788314cd274d5230fcbffe2eb7b [file] [log] [blame]
/*
* Copyright (C) 2015 Marvell Technology Group Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
&pmic3 {
compatible = "marvell,88pm800";
reg = <0x30>;
interrupts = <4>;
interrupt-parent = <&intc>;
interrupt-controller;
#interrupt-cells = <1>;
marvell,88pm800-irq-write-clear;
marvell,88pm801-power-page-addr = <0x31>;
marvell,88pm801-gpadc-page-addr = <0x32>;
regulators {
compatible = "marvell,88pm800-regulator";
BUCK1 {
regulator-compatible = "88PM800-BUCK1";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
BUCK2 {
regulator-compatible = "88PM800-BUCK2";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
BUCK3 {
regulator-compatible = "88PM800-BUCK3";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
BUCK4 {
regulator-compatible = "88PM800-BUCK4";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
buck5: BUCK5 {
regulator-compatible = "88PM800-BUCK5";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-always-on;
};
LDO1 {
regulator-compatible = "88PM800-LDO1";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <1500000>;
};
LDO2: LDO2 {
regulator-compatible = "88PM800-LDO2";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <2800000>;
};
LDO3 {
regulator-compatible = "88PM800-LDO3";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
LDO4: LDO4 {
regulator-compatible = "88PM800-LDO4";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO5 {
regulator-compatible = "88PM800-LDO5";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
LDO6: LDO6 {
regulator-compatible = "88PM800-LDO6";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO7 {
regulator-compatible = "88PM800-LDO7";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
LDO8: LDO8 {
regulator-compatible = "88PM800-LDO8";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
};
LDO9 {
regulator-compatible = "88PM800-LDO9";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO10 {
regulator-compatible = "88PM800-LDO10";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO11: LDO11 {
regulator-compatible = "88PM800-LDO11";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO12: LDO12 {
regulator-compatible = "88PM800-LDO12";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO13: LDO13 {
regulator-compatible = "88PM800-LDO13";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO14: LDO14 {
regulator-compatible = "88PM800-LDO14";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
LDO15: LDO15 {
regulator-compatible = "88PM800-LDO15";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO16: LDO16 {
regulator-compatible = "88PM800-LDO16";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO17: LDO17 {
regulator-compatible = "88PM800-LDO17";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
LDO18 {
regulator-compatible = "88PM800-LDO18";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
LDO19: LDO19 {
regulator-compatible = "88PM800-LDO19";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
};
dvc {
status = "okay";
compatible = "marvell,88pm8xx-dvc";
/* pm800 dvc affect buck1/4, affected 32bit = (1 << 3) | (1 << 0)*/
dvc-affected-buckbits = <9>;
dvc-gpio1 = <79>;
dvc-gpio2 = <78>;
pinctrl-names = "default";
pinctrl-0 = <&dvc_pmx_func>;
};
usb: usb {
compatible = "marvell,88pm80x-usb";
id-ov-sampling;
id-ov-samp-count = <10>; /* number of samples */
id-ov-samp-sleep = <100>; /* sleep between each sample [mS] */
};
wd {
compatible = "marvell,88pm80x-wdt";
};
};