blob: 71f6a7e458bd9dc384a46a30150f318745aa8574 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/*
2 * Copyright (C) 2015 Marvell Technology Group Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9&pmic1 {
10 compatible = "marvell,88pm801";
11 reg = <0x30>;
12 interrupts = <4>;
13 interrupt-parent = <&intc>;
14 interrupt-controller;
15 #interrupt-cells = <1>;
16 marvell,88pm801-irq-write-clear;
17
18 marvell,88pm801-power-page-addr = <0x31>;
19 marvell,88pm801-gpadc-page-addr = <0x32>;
20
21 regulators {
22 compatible = "marvell,88pm801-regulator";
23
24 BUCK1 {
25 regulator-compatible = "88PM801-BUCK1";
26 regulator-min-microvolt = <600000>;
27 regulator-max-microvolt = <3950000>;
28 regulator-boot-on;
29 regulator-always-on;
30 };
31 BUCK2 {
32 regulator-compatible = "88PM801-BUCK2";
33 regulator-min-microvolt = <600000>;
34 regulator-max-microvolt = <3950000>;
35 regulator-boot-on;
36 regulator-always-on;
37 };
38 BUCK3 {
39 regulator-compatible = "88PM801-BUCK3";
40 regulator-min-microvolt = <600000>;
41 regulator-max-microvolt = <3950000>;
42 regulator-boot-on;
43 regulator-always-on;
44 };
45 BUCK4 {
46 regulator-compatible = "88PM801-BUCK4";
47 regulator-min-microvolt = <600000>;
48 regulator-max-microvolt = <3950000>;
49 regulator-boot-on;
50 regulator-always-on;
51 };
52 BUCK5 {
53 regulator-compatible = "88PM801-BUCK5";
54 regulator-min-microvolt = <600000>;
55 regulator-max-microvolt = <3950000>;
56 regulator-always-on;
57 };
58 LDO1 {
59 regulator-compatible = "88PM801-LDO1";
60 regulator-min-microvolt = <1200000>;
61 regulator-max-microvolt = <3300000>;
62 regulator-boot-on;
63 regulator-always-on;
64 };
65 LDO2 {
66 regulator-compatible = "88PM801-LDO2";
67 regulator-min-microvolt = <1700000>;
68 regulator-max-microvolt = <3300000>;
69 regulator-boot-on;
70 regulator-always-on;
71 };
72 LDO3 {
73 regulator-compatible = "88PM801-LDO3";
74 regulator-min-microvolt = <1800000>;
75 regulator-max-microvolt = <3300000>;
76 };
77 ldo4: LDO4 {
78 regulator-compatible = "88PM801-LDO4";
79 regulator-min-microvolt = <1800000>;
80 regulator-max-microvolt = <3300000>;
81 };
82 LDO5 {
83 regulator-compatible = "88PM801-LDO5";
84 regulator-min-microvolt = <1200000>;
85 regulator-max-microvolt = <3300000>;
86 regulator-boot-on;
87 regulator-always-on;
88 };
89 ldo6: LDO6 {
90 regulator-compatible = "88PM801-LDO6";
91 regulator-min-microvolt = <1200000>;
92 regulator-max-microvolt = <3300000>;
93 };
94 };
95 dvc {
96 status = "okay";
97 compatible = "marvell,88pm8xx-dvc";
98 /* pm800 dvc affect buck1/4, affected 32bit = (1 << 3) | (1 << 0)*/
99 dvc-affected-buckbits = <9>;
100 dvc-gpio1 = <13>;
101 dvc-gpio2 = <127>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&dvc_pmx_func>;
104 };
105 usb801: usb {
106 compatible = "marvell,88pm80x-usb";
107 vbus-gpio = <0xff>; /* set_vbus */
108 id-gpadc = <0xff>; /* usb-id */
109 vchg-from-exton = <1>;
110 };
111 wd {
112 compatible = "marvell,88pm80x-wdt";
113 };
114};