Skip to content

Commit f559f58

Browse files
pefechkartben
authored andcommitted
dts: nxp_imx8ml_m7: Add i2c Devicetree nodes
Add i2c DeviceTree nodes for use with the Coretex M7 on the NXP imx8ml. Signed-off-by: Peter Fecher <p.fecher@phytec.de>
1 parent 99957e1 commit f559f58

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

dts/arm/nxp/nxp_imx8ml_m7.dtsi

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,90 @@
170170
status = "disabled";
171171
};
172172

173+
i2c1: i2c@30a20000 {
174+
compatible = "nxp,ii2c";
175+
#address-cells = <1>;
176+
#size-cells = <0>;
177+
reg = <0x30a20000 0x10000>;
178+
interrupts = <35 0>;
179+
clocks = <&ccm IMX_CCM_I2C1_CLK 0 0>;
180+
rdc = <(RDC_DOMAIN_PERM(A7_DOMAIN_ID,\
181+
RDC_DOMAIN_PERM_RW)|\
182+
RDC_DOMAIN_PERM(M7_DOMAIN_ID,\
183+
RDC_DOMAIN_PERM_RW))>;
184+
status = "disabled";
185+
};
186+
187+
i2c2: i2c@30a30000 {
188+
compatible = "nxp,ii2c";
189+
#address-cells = <1>;
190+
#size-cells = <0>;
191+
reg = <0x30a30000 0x10000>;
192+
interrupts = <36 0>;
193+
clocks = <&ccm IMX_CCM_I2C2_CLK 0 0>;
194+
rdc = <(RDC_DOMAIN_PERM(A7_DOMAIN_ID,\
195+
RDC_DOMAIN_PERM_RW)|\
196+
RDC_DOMAIN_PERM(M7_DOMAIN_ID,\
197+
RDC_DOMAIN_PERM_RW))>;
198+
status = "disabled";
199+
};
200+
201+
i2c3: i2c@30a40000 {
202+
compatible = "nxp,ii2c";
203+
#address-cells = <1>;
204+
#size-cells = <0>;
205+
reg = <0x30a40000 0x10000>;
206+
interrupts = <37 0>;
207+
clocks = <&ccm IMX_CCM_I2C3_CLK 0 0>;
208+
rdc = <(RDC_DOMAIN_PERM(A7_DOMAIN_ID,\
209+
RDC_DOMAIN_PERM_RW)|\
210+
RDC_DOMAIN_PERM(M7_DOMAIN_ID,\
211+
RDC_DOMAIN_PERM_RW))>;
212+
status = "disabled";
213+
};
214+
215+
i2c4: i2c@30a50000 {
216+
compatible = "nxp,ii2c";
217+
#address-cells = <1>;
218+
#size-cells = <0>;
219+
reg = <0x30a50000 0x10000>;
220+
interrupts = <38 0>;
221+
clocks = <&ccm IMX_CCM_I2C4_CLK 0 0>;
222+
rdc = <(RDC_DOMAIN_PERM(A7_DOMAIN_ID,\
223+
RDC_DOMAIN_PERM_RW)|\
224+
RDC_DOMAIN_PERM(M7_DOMAIN_ID,\
225+
RDC_DOMAIN_PERM_RW))>;
226+
status = "disabled";
227+
};
228+
229+
i2c5: i2c@30ad0000 {
230+
compatible = "nxp,ii2c";
231+
#address-cells = <1>;
232+
#size-cells = <0>;
233+
reg = <0x30ad0000 0x10000>;
234+
interrupts = <76 0>;
235+
clocks = <&ccm IMX_CCM_I2C5_CLK 0 0>;
236+
rdc = <(RDC_DOMAIN_PERM(A7_DOMAIN_ID,\
237+
RDC_DOMAIN_PERM_RW)|\
238+
RDC_DOMAIN_PERM(M7_DOMAIN_ID,\
239+
RDC_DOMAIN_PERM_RW))>;
240+
status = "disabled";
241+
};
242+
243+
i2c6: i2c@30ae0000 {
244+
compatible = "nxp,ii2c";
245+
#address-cells = <1>;
246+
#size-cells = <0>;
247+
reg = <0x30ae0000 0x10000>;
248+
interrupts = <77 0>;
249+
clocks = <&ccm IMX_CCM_I2C6_CLK 0 0>;
250+
rdc = <(RDC_DOMAIN_PERM(A7_DOMAIN_ID,\
251+
RDC_DOMAIN_PERM_RW)|\
252+
RDC_DOMAIN_PERM(M7_DOMAIN_ID,\
253+
RDC_DOMAIN_PERM_RW))>;
254+
status = "disabled";
255+
};
256+
173257
mailbox0: mailbox@30ab0000 {
174258
compatible = "nxp,imx-mu";
175259
reg = <0x30ab0000 DT_SIZE_K(64)>;

0 commit comments

Comments
 (0)