File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 88#include <arm/armv8-r.dtsi>
99#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
1010#include <zephyr/dt-bindings/clock/nxp_s32z2_clock.h>
11+ #include <zephyr/dt-bindings/i2c/i2c.h>
1112
1213/ {
1314 cpus {
10941095 status = "disabled";
10951096 };
10961097
1098+ lpi2c1: i2c@409d0000 {
1099+ compatible = "nxp,imx-lpi2c";
1100+ reg = <0x409d0000 0x10000>;
1101+ #address-cells = <1>;
1102+ #size-cells = <0>;
1103+ interrupts = <GIC_SPI 253 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1104+ clocks = <&clock NXP_S32_P1_REG_INTF_CLK>;
1105+ clock-frequency = <I2C_BITRATE_STANDARD>;
1106+ status = "disabled";
1107+ };
1108+
1109+ lpi2c2: i2c@421d0000 {
1110+ compatible = "nxp,imx-lpi2c";
1111+ reg = <0x421d0000 0x10000>;
1112+ #address-cells = <1>;
1113+ #size-cells = <0>;
1114+ interrupts = <GIC_SPI 254 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1115+ clocks = <&clock NXP_S32_P4_REG_INTF_CLK>;
1116+ clock-frequency = <I2C_BITRATE_STANDARD>;
1117+ status = "disabled";
1118+ };
10971119 };
10981120};
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ config SOC_SERIES_S32ZE
1717 select HAS_MCUX
1818 select HAS_MCUX_PIT
1919 select HAS_MCUX_FLEXCAN
20+ select HAS_MCUX_LPI2C
2021
2122if SOC_SERIES_S32ZE
2223
You can’t perform that action at this time.
0 commit comments