[PATCH 4/4] MIPS: mobileye: dts: eyeq6h: add I2C controllers
From: Gregory CLEMENT
Date: Fri Nov 27 2026 - 11:10:36 EST
Add the four EyeQ6H I2C controllers. Enable I2C3 on the EPM6 board and
the on-board TMP101 sensor. It also allowed I2C testing.
Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>
---
arch/mips/boot/dts/mobileye/eyeq6h-epm6.dts | 12 +++++
arch/mips/boot/dts/mobileye/eyeq6h.dtsi | 68 +++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/arch/mips/boot/dts/mobileye/eyeq6h-epm6.dts b/arch/mips/boot/dts/mobileye/eyeq6h-epm6.dts
index c0e1de2bb5a0e..f3448252d728c 100644
--- a/arch/mips/boot/dts/mobileye/eyeq6h-epm6.dts
+++ b/arch/mips/boot/dts/mobileye/eyeq6h-epm6.dts
@@ -20,3 +20,15 @@ memory@0 {
reg = <0x1 0x00000000 0x1 0x00000000>;
};
};
+
+&i2c3 {
+ clock-frequency = <400000>;
+ i2c-transfer-timeout-us = <100000>;
+
+ status = "okay";
+
+ temperature-sensor@48 {
+ compatible = "ti,tmp101";
+ reg = <0x48>;
+ };
+};
diff --git a/arch/mips/boot/dts/mobileye/eyeq6h.dtsi b/arch/mips/boot/dts/mobileye/eyeq6h.dtsi
index dd0f1c7483180..cc5ecd63df07c 100644
--- a/arch/mips/boot/dts/mobileye/eyeq6h.dtsi
+++ b/arch/mips/boot/dts/mobileye/eyeq6h.dtsi
@@ -13,6 +13,10 @@ / {
aliases {
serial0 = &uart0;
+ i2c0 = &i2c0;
+ i2c1 = &i2c1;
+ i2c2 = &i2c2;
+ i2c3 = &i2c3;
};
xtal: clock-30000000 {
@@ -79,6 +83,38 @@ uart0: serial@d3331000 {
clock-names = "uartclk", "apb_pclk";
};
+ i2c0: i2c@d3333000 {
+ compatible = "mobileye,eyeq6h-i2c", "arm,primecell";
+ reg = <0x0 0xd3333000 0x0 0x1000>;
+ interrupts = <GIC_SHARED 37 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&olb_west EQ6HC_WEST_I2C_SER>,
+ <&olb_west EQ6HC_WEST_PER_OCC>;
+ clock-names = "i2cclk", "apb_pclk";
+ resets = <&olb_west 5>;
+ pinctrl-0 = <&i2c0_pins>;
+ pinctrl-names = "default";
+
+ status = "disabled";
+ };
+
+ i2c1: i2c@d3334000 {
+ compatible = "mobileye,eyeq6h-i2c", "arm,primecell";
+ reg = <0x0 0xd3334000 0x0 0x1000>;
+ interrupts = <GIC_SHARED 38 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&olb_west EQ6HC_WEST_I2C_SER>,
+ <&olb_west EQ6HC_WEST_PER_OCC>;
+ clock-names = "i2cclk", "apb_pclk";
+ resets = <&olb_west 6>;
+ pinctrl-0 = <&i2c1_pins>;
+ pinctrl-names = "default";
+
+ status = "disabled";
+ };
+
pinctrl_west: pinctrl@d3337000 {
compatible = "pinctrl-single";
reg = <0x0 0xd3337000 0x0 0xb0>;
@@ -96,6 +132,38 @@ olb_west: system-controller@d3338000 {
clock-names = "ref";
};
+ i2c2: i2c@d3353000 {
+ compatible = "mobileye,eyeq6h-i2c", "arm,primecell";
+ reg = <0x0 0xd3353000 0x0 0x1000>;
+ interrupts = <GIC_SHARED 39 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&olb_east EQ6HC_EAST_I2C_SER>,
+ <&olb_east EQ6HC_EAST_PER_OCC>;
+ clock-names = "i2cclk", "apb_pclk";
+ resets = <&olb_east 5>;
+ pinctrl-0 = <&i2c2_pins>;
+ pinctrl-names = "default";
+
+ status = "disabled";
+ };
+
+ i2c3: i2c@d3354000 {
+ compatible = "mobileye,eyeq6h-i2c", "arm,primecell";
+ reg = <0x0 0xd3354000 0x0 0x1000>;
+ interrupts = <GIC_SHARED 40 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&olb_east EQ6HC_EAST_I2C_SER>,
+ <&olb_east EQ6HC_EAST_PER_OCC>;
+ clock-names = "i2cclk", "apb_pclk";
+ resets = <&olb_east 6>;
+ pinctrl-0 = <&i2c3_pins>;
+ pinctrl-names = "default";
+
+ status = "disabled";
+ };
+
pinctrl_east: pinctrl@d3357000 {
compatible = "pinctrl-single";
reg = <0x0 0xd3357000 0x0 0xb0>;
--
2.53.0