blob: 2568746400a6fd83a902ac3d020887d86ca76675 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/*
2 * Copyright 2020 ASR Microelectronics (Shanghai) Co., 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&pmic6 {
10 compatible = "asr,pm803";
11 reg = <0x30>;
12/* interrupts = <4>;
13 interrupt-parent = <&intc>;
14 interrupt-controller;
15 #interrupt-cells = <1>;
16*/
17 asr,pm803-irq-write-clear;
18
19 asr,pm803-power-page-addr = <0x1>;
20
21 regulators {
22 compatible = "asr,pm803-regulator";
23
24 BUCK1 {
25 regulator-compatible = "PM803-BUCK1";
26 regulator-min-microvolt = <600000>;
27 regulator-max-microvolt = <3950000>;
28 regulator-boot-on;
29 regulator-always-on;
30 };
31 pm803ldo1: LDO1 {
32 regulator-compatible = "PM803-LDO1";
33 regulator-min-microvolt = <1200000>;
34 regulator-max-microvolt = <3300000>;
35 regulator-boot-on;
36 regulator-always-on;
37 };
38 pm803ldo2: LDO2 {
39 regulator-compatible = "PM803-LDO2";
40 regulator-min-microvolt = <1200000>;
41 regulator-max-microvolt = <3300000>;
42 regulator-boot-on;
43 regulator-always-on;
44 };
45 /*pm803ldo3: LDO3 {
46 regulator-compatible = "PM803-LDO3";
47 regulator-min-microvolt = <1200000>;
48 regulator-max-microvolt = <3300000>;
49 };*/
50 pm803ldo4: LDO4 {
51 regulator-compatible = "PM803-LDO4";
52 regulator-min-microvolt = <1200000>;
53 regulator-max-microvolt = <3300000>;
54 regulator-boot-on;
55 regulator-always-on;
56 };
57 pm803ldo5: LDO5 {
58 regulator-compatible = "PM803-LDO5";
59 regulator-min-microvolt = <1200000>;
60 regulator-max-microvolt = <3300000>;
61 regulator-boot-on;
62 regulator-always-on;
63 };
64 pm803ldo6: LDO6 {
65 regulator-compatible = "PM803-LDO6";
66 regulator-min-microvolt = <1200000>;
67 regulator-max-microvolt = <3300000>;
68 regulator-boot-on;
69 regulator-always-on;
70 };
71 pm803ldo7: LDO7 {
72 regulator-compatible = "PM803-LDO7";
73 regulator-min-microvolt = <1200000>;
74 regulator-max-microvolt = <3300000>;
75 regulator-boot-on;
76 regulator-always-on;
77 };
78 pm803ldo8: LDO8 {
79 regulator-compatible = "PM803-LDO8";
80 regulator-min-microvolt = <1200000>;
81 regulator-max-microvolt = <3300000>;
82 };
83 };
84 dvc {
85 status = "okay";
86 compatible = "marvell,88pm8xx-dvc";
87 /* pm800 dvc affect buck1/4, affected 32bit = (1 << 3) | (1 << 0)*/
88 dvc-affected-buckbits = <1>;
89 dvc-gpio1 = <13>;
90 dvc-gpio2 = <127>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&dvc_pmx_func>;
93 };
94 usb803: usb {
95 compatible = "marvell,88pm80x-usb";
96 vbus_gpio = <0xff>; /* set_vbus */
97 /* id-gpadc = <0xff>;*//* usb-id */
98 vchg-from-exton = <1>;
99 };
100 wd {
101 compatible = "marvell,88pm80x-wdt";
102 };
103};