blob: 2568746400a6fd83a902ac3d020887d86ca76675 [file] [log] [blame]
/*
* Copyright 2020 ASR Microelectronics (Shanghai) Co., 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.
*/
&pmic6 {
compatible = "asr,pm803";
reg = <0x30>;
/* interrupts = <4>;
interrupt-parent = <&intc>;
interrupt-controller;
#interrupt-cells = <1>;
*/
asr,pm803-irq-write-clear;
asr,pm803-power-page-addr = <0x1>;
regulators {
compatible = "asr,pm803-regulator";
BUCK1 {
regulator-compatible = "PM803-BUCK1";
regulator-min-microvolt = <600000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
pm803ldo1: LDO1 {
regulator-compatible = "PM803-LDO1";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
pm803ldo2: LDO2 {
regulator-compatible = "PM803-LDO2";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
/*pm803ldo3: LDO3 {
regulator-compatible = "PM803-LDO3";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
};*/
pm803ldo4: LDO4 {
regulator-compatible = "PM803-LDO4";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
pm803ldo5: LDO5 {
regulator-compatible = "PM803-LDO5";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
pm803ldo6: LDO6 {
regulator-compatible = "PM803-LDO6";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
pm803ldo7: LDO7 {
regulator-compatible = "PM803-LDO7";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
pm803ldo8: LDO8 {
regulator-compatible = "PM803-LDO8";
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 = <1>;
dvc-gpio1 = <13>;
dvc-gpio2 = <127>;
pinctrl-names = "default";
pinctrl-0 = <&dvc_pmx_func>;
};
usb803: usb {
compatible = "marvell,88pm80x-usb";
vbus_gpio = <0xff>; /* set_vbus */
/* id-gpadc = <0xff>;*//* usb-id */
vchg-from-exton = <1>;
};
wd {
compatible = "marvell,88pm80x-wdt";
};
};