blob: 71f6a7e458bd9dc384a46a30150f318745aa8574 [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.
*/
&pmic1 {
compatible = "marvell,88pm801";
reg = <0x30>;
interrupts = <4>;
interrupt-parent = <&intc>;
interrupt-controller;
#interrupt-cells = <1>;
marvell,88pm801-irq-write-clear;
marvell,88pm801-power-page-addr = <0x31>;
marvell,88pm801-gpadc-page-addr = <0x32>;
regulators {
compatible = "marvell,88pm801-regulator";
BUCK1 {
regulator-compatible = "88PM801-BUCK1";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
BUCK2 {
regulator-compatible = "88PM801-BUCK2";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
BUCK3 {
regulator-compatible = "88PM801-BUCK3";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
BUCK4 {
regulator-compatible = "88PM801-BUCK4";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
BUCK5 {
regulator-compatible = "88PM801-BUCK5";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-always-on;
};
LDO1 {
regulator-compatible = "88PM801-LDO1";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
LDO2 {
regulator-compatible = "88PM801-LDO2";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
LDO3 {
regulator-compatible = "88PM801-LDO3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
ldo4: LDO4 {
regulator-compatible = "88PM801-LDO4";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
LDO5 {
regulator-compatible = "88PM801-LDO5";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
ldo6: LDO6 {
regulator-compatible = "88PM801-LDO6";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};
};
dvc {
status = "okay";
compatible = "marvell,88pm8xx-dvc";
/* pm800 dvc affect buck1/4, affected 32bit = (1 << 3) | (1 << 0)*/
dvc-affected-buckbits = <9>;
dvc-gpio1 = <13>;
dvc-gpio2 = <127>;
pinctrl-names = "default";
pinctrl-0 = <&dvc_pmx_func>;
};
usb801: usb {
compatible = "marvell,88pm80x-usb";
vbus-gpio = <0xff>; /* set_vbus */
id-gpadc = <0xff>; /* usb-id */
vchg-from-exton = <1>;
};
wd {
compatible = "marvell,88pm80x-wdt";
};
};