]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/rk3288-evb-rk808.dts
ARM: dts: Add rk808 PMIC to rk3288-evb-rk808
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / rk3288-evb-rk808.dts
CommitLineData
6ce0562a
HS
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13/dts-v1/;
14#include "rk3288-evb.dtsi"
15
16/ {
17 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
18};
60c20784
DA
19
20&i2c0 {
21 status = "okay";
22
23 rk808: pmic@1b {
24 compatible = "rockchip,rk808";
25 reg = <0x1b>;
26 interrupt-parent = <&gpio0>;
27 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
28 pinctrl-names = "default";
29 pinctrl-0 = <&pmic_int>;
30 rockchip,system-power-controller;
31 wakeup-source;
32 #clock-cells = <1>;
33 clock-output-names = "xin32k", "rk808-clkout2";
34
35 vcc8-supply = <&vcc_18>;
36 vcc9-supply = <&vcc_io>;
37 vcc10-supply = <&vcc_io>;
38 vcc12-supply = <&vcc_io>;
39 vddio-supply = <&vccio_pmu>;
40
41 regulators {
42 vdd_cpu: DCDC_REG1 {
43 regulator-always-on;
44 regulator-boot-on;
45 regulator-min-microvolt = <750000>;
46 regulator-max-microvolt = <1300000>;
47 regulator-name = "vdd_arm";
48 };
49
50 vdd_gpu: DCDC_REG2 {
51 regulator-always-on;
52 regulator-boot-on;
53 regulator-min-microvolt = <850000>;
54 regulator-max-microvolt = <1250000>;
55 regulator-name = "vdd_gpu";
56 };
57
58 vcc_ddr: DCDC_REG3 {
59 regulator-always-on;
60 regulator-boot-on;
61 regulator-name = "vcc_ddr";
62 };
63
64 vcc_io: DCDC_REG4 {
65 regulator-always-on;
66 regulator-boot-on;
67 regulator-min-microvolt = <3300000>;
68 regulator-max-microvolt = <3300000>;
69 regulator-name = "vcc_io";
70 };
71
72 vccio_pmu: LDO_REG1 {
73 regulator-always-on;
74 regulator-boot-on;
75 regulator-min-microvolt = <3300000>;
76 regulator-max-microvolt = <3300000>;
77 regulator-name = "vccio_pmu";
78 };
79
80 vcc_tp: LDO_REG2 {
81 regulator-always-on;
82 regulator-boot-on;
83 regulator-min-microvolt = <3300000>;
84 regulator-max-microvolt = <3300000>;
85 regulator-name = "vcc_tp";
86 };
87
88 vdd_10: LDO_REG3 {
89 regulator-always-on;
90 regulator-boot-on;
91 regulator-min-microvolt = <1000000>;
92 regulator-max-microvolt = <1000000>;
93 regulator-name = "vdd_10";
94 };
95
96 vcc18_lcd: LDO_REG4 {
97 regulator-always-on;
98 regulator-boot-on;
99 regulator-min-microvolt = <1800000>;
100 regulator-max-microvolt = <1800000>;
101 regulator-name = "vcc18_lcd";
102 };
103
104 vccio_sd: LDO_REG5 {
105 regulator-always-on;
106 regulator-boot-on;
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <3300000>;
109 regulator-name = "vccio_sd";
110 };
111
112 vdd10_lcd: LDO_REG6 {
113 regulator-always-on;
114 regulator-boot-on;
115 regulator-min-microvolt = <1000000>;
116 regulator-max-microvolt = <1000000>;
117 regulator-name = "vdd10_lcd";
118 };
119
120 vcc_18: LDO_REG7 {
121 regulator-always-on;
122 regulator-boot-on;
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <1800000>;
125 regulator-name = "vcc_18";
126 };
127
128 vcca_codec: LDO_REG8 {
129 regulator-always-on;
130 regulator-boot-on;
131 regulator-min-microvolt = <3300000>;
132 regulator-max-microvolt = <3300000>;
133 regulator-name = "vcca_codec";
134 };
135
136 vcc_wl: SWITCH_REG1 {
137 regulator-always-on;
138 regulator-boot-on;
139 regulator-name = "vcc_wl";
140 };
141
142 vcc_lcd: SWITCH_REG2 {
143 regulator-always-on;
144 regulator-boot-on;
145 regulator-name = "vcc_lcd";
146 };
147 };
148 };
149};