Skip to content

Commit cf526b0

Browse files
committed
ARM: dts: at91: sama5d27_wlsom1: add node for pmic mcp16502
Add node for the PMIC mcp16502 which is present on the wlsom Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
1 parent d3d6f0c commit cf526b0

1 file changed

Lines changed: 122 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,128 @@
4141
atmel,osc-bypass;
4242
};
4343

44+
&i2c1 {
45+
dmas = <0>, <0>;
46+
pinctrl-names = "default";
47+
pinctrl-0 = <&pinctrl_i2c1_default>;
48+
status = "okay";
49+
50+
mcp16502@5b {
51+
compatible = "microchip,mcp16502";
52+
reg = <0x5b>;
53+
status = "okay";
54+
lpm-gpios = <&pioBU 0 GPIO_ACTIVE_LOW>;
55+
56+
regulators {
57+
vdd_3v3: VDD_IO {
58+
regulator-name = "VDD_IO";
59+
regulator-min-microvolt = <1200000>;
60+
regulator-max-microvolt = <3700000>;
61+
regulator-initial-mode = <2>;
62+
regulator-allowed-modes = <2>, <4>;
63+
regulator-always-on;
64+
65+
regulator-state-standby {
66+
regulator-on-in-suspend;
67+
regulator-mode = <4>;
68+
};
69+
70+
regulator-state-mem {
71+
regulator-off-in-suspend;
72+
regulator-mode = <4>;
73+
};
74+
};
75+
76+
vddio_ddr: VDD_DDR {
77+
regulator-name = "VDD_DDR";
78+
regulator-min-microvolt = <600000>;
79+
regulator-max-microvolt = <1850000>;
80+
regulator-initial-mode = <2>;
81+
regulator-allowed-modes = <2>, <4>;
82+
regulator-always-on;
83+
84+
regulator-state-standby {
85+
regulator-on-in-suspend;
86+
regulator-mode = <4>;
87+
};
88+
89+
regulator-state-mem {
90+
regulator-on-in-suspend;
91+
regulator-mode = <4>;
92+
};
93+
};
94+
95+
vdd_core: VDD_CORE {
96+
regulator-name = "VDD_CORE";
97+
regulator-min-microvolt = <600000>;
98+
regulator-max-microvolt = <1850000>;
99+
regulator-initial-mode = <2>;
100+
regulator-allowed-modes = <2>, <4>;
101+
regulator-always-on;
102+
103+
regulator-state-standby {
104+
regulator-on-in-suspend;
105+
regulator-mode = <4>;
106+
};
107+
108+
regulator-state-mem {
109+
regulator-off-in-suspend;
110+
regulator-mode = <4>;
111+
};
112+
};
113+
114+
vdd_ddr: VDD_OTHER {
115+
regulator-name = "VDD_OTHER";
116+
regulator-min-microvolt = <1800000>;
117+
regulator-max-microvolt = <1800000>;
118+
regulator-initial-mode = <2>;
119+
regulator-allowed-modes = <2>, <4>;
120+
regulator-always-on;
121+
122+
regulator-state-standby {
123+
regulator-on-in-suspend;
124+
regulator-mode = <4>;
125+
};
126+
127+
regulator-state-mem {
128+
regulator-off-in-suspend;
129+
regulator-mode = <4>;
130+
};
131+
};
132+
133+
LDO1 {
134+
regulator-name = "LDO1";
135+
regulator-min-microvolt = <1200000>;
136+
regulator-max-microvolt = <3700000>;
137+
regulator-always-on;
138+
139+
regulator-state-standby {
140+
regulator-on-in-suspend;
141+
};
142+
143+
regulator-state-mem {
144+
regulator-off-in-suspend;
145+
};
146+
};
147+
148+
LDO2 {
149+
regulator-name = "LDO2";
150+
regulator-min-microvolt = <1200000>;
151+
regulator-max-microvolt = <3700000>;
152+
regulator-always-on;
153+
154+
regulator-state-standby {
155+
regulator-on-in-suspend;
156+
};
157+
158+
regulator-state-mem {
159+
regulator-off-in-suspend;
160+
};
161+
};
162+
};
163+
};
164+
};
165+
44166
&macb0 {
45167
pinctrl-names = "default";
46168
pinctrl-0 = <&pinctrl_macb0_default>;

0 commit comments

Comments
 (0)