Skip to content

Commit 73f2b94

Browse files
Alexandre GRIVEAUXpaulburton
authored andcommitted
MIPS: CI20: DTS: Add I2C nodes
Adding missing I2C nodes and some peripheral: - PMU - RTC Signed-off-by: Alexandre GRIVEAUX <[email protected]> Signed-off-by: Paul Burton <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]
1 parent f56a040 commit 73f2b94

File tree

1 file changed

+147
-0
lines changed

1 file changed

+147
-0
lines changed

arch/mips/boot/dts/ingenic/ci20.dts

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,123 @@
8787
pinctrl-0 = <&pins_uart4>;
8888
};
8989

90+
&i2c0 {
91+
status = "okay";
92+
93+
pinctrl-names = "default";
94+
pinctrl-0 = <&pins_i2c0>;
95+
96+
clock-frequency = <400000>;
97+
98+
act8600: act8600@5a {
99+
compatible = "active-semi,act8600";
100+
reg = <0x5a>;
101+
status = "okay";
102+
103+
regulators {
104+
vddcore: SUDCDC1 {
105+
regulator-name = "VDDCORE";
106+
regulator-min-microvolt = <1100000>;
107+
regulator-max-microvolt = <1100000>;
108+
regulator-always-on;
109+
};
110+
vddmem: SUDCDC2 {
111+
regulator-name = "VDDMEM";
112+
regulator-min-microvolt = <1500000>;
113+
regulator-max-microvolt = <1500000>;
114+
regulator-always-on;
115+
};
116+
vcc_33: SUDCDC3 {
117+
regulator-name = "VCC33";
118+
regulator-min-microvolt = <3300000>;
119+
regulator-max-microvolt = <3300000>;
120+
regulator-always-on;
121+
};
122+
vcc_50: SUDCDC4 {
123+
regulator-name = "VCC50";
124+
regulator-min-microvolt = <5000000>;
125+
regulator-max-microvolt = <5000000>;
126+
regulator-always-on;
127+
};
128+
vcc_25: LDO_REG5 {
129+
regulator-name = "VCC25";
130+
regulator-min-microvolt = <2500000>;
131+
regulator-max-microvolt = <2500000>;
132+
regulator-always-on;
133+
};
134+
wifi_io: LDO_REG6 {
135+
regulator-name = "WIFIIO";
136+
regulator-min-microvolt = <2500000>;
137+
regulator-max-microvolt = <2500000>;
138+
regulator-always-on;
139+
};
140+
vcc_28: LDO_REG7 {
141+
regulator-name = "VCC28";
142+
regulator-min-microvolt = <2800000>;
143+
regulator-max-microvolt = <2800000>;
144+
regulator-always-on;
145+
};
146+
vcc_15: LDO_REG8 {
147+
regulator-name = "VCC15";
148+
regulator-min-microvolt = <1500000>;
149+
regulator-max-microvolt = <1500000>;
150+
regulator-always-on;
151+
};
152+
vcc_18: LDO_REG9 {
153+
regulator-name = "VCC18";
154+
regulator-min-microvolt = <1800000>;
155+
regulator-max-microvolt = <1800000>;
156+
regulator-always-on;
157+
};
158+
vcc_11: LDO_REG10 {
159+
regulator-name = "VCC11";
160+
regulator-min-microvolt = <1100000>;
161+
regulator-max-microvolt = <1100000>;
162+
regulator-always-on;
163+
};
164+
};
165+
};
166+
};
167+
168+
&i2c1 {
169+
status = "okay";
170+
171+
pinctrl-names = "default";
172+
pinctrl-0 = <&pins_i2c1>;
173+
174+
};
175+
176+
&i2c2 {
177+
status = "okay";
178+
179+
pinctrl-names = "default";
180+
pinctrl-0 = <&pins_i2c2>;
181+
182+
};
183+
184+
&i2c3 {
185+
status = "okay";
186+
187+
pinctrl-names = "default";
188+
pinctrl-0 = <&pins_i2c3>;
189+
190+
};
191+
192+
&i2c4 {
193+
status = "okay";
194+
195+
pinctrl-names = "default";
196+
pinctrl-0 = <&pins_i2c4>;
197+
198+
clock-frequency = <400000>;
199+
200+
rtc@51 {
201+
compatible = "nxp,pcf8563";
202+
reg = <0x51>;
203+
interrupts = <110>;
204+
};
205+
};
206+
90207
&nemc {
91208
status = "okay";
92209

@@ -209,6 +326,36 @@
209326
bias-disable;
210327
};
211328

329+
pins_i2c0: i2c0 {
330+
function = "i2c0";
331+
groups = "i2c0-data";
332+
bias-disable;
333+
};
334+
335+
pins_i2c1: i2c1 {
336+
function = "i2c1";
337+
groups = "i2c1-data";
338+
bias-disable;
339+
};
340+
341+
pins_i2c2: i2c2 {
342+
function = "i2c2";
343+
groups = "i2c2-data";
344+
bias-disable;
345+
};
346+
347+
pins_i2c3: i2c3 {
348+
function = "i2c3";
349+
groups = "i2c3-data";
350+
bias-disable;
351+
};
352+
353+
pins_i2c4: i2c4 {
354+
function = "i2c4";
355+
groups = "i2c4-data-e";
356+
bias-disable;
357+
};
358+
212359
pins_nemc: nemc {
213360
function = "nemc";
214361
groups = "nemc-data", "nemc-cle-ale", "nemc-rd-we", "nemc-frd-fwe";

0 commit comments

Comments
 (0)