Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67b17a11 authored by Ariel D'Alessandro's avatar Ariel D'Alessandro Committed by Joachim Eastwood
Browse files

ARM: dts: lpc4350-hitex-eval: add i2c0 and devices



Add the I2C0 bus and the some of the I2C devices on the Hitex
LPC4350 eval board.

Signed-off-by: default avatarAriel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: default avatarJoachim Eastwood <manabian@gmail.com>
parent 474ae430
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -186,6 +186,14 @@
		};
	};

	i2c0_pins: i2c0-pins {
		i2c0_pins_cfg {
			pins = "i2c0_scl", "i2c0_sda";
			function = "i2c0";
			input-enable;
		};
	};

	spifi_pins: spifi-pins {
		spifi_clk_cfg {
			pins = "p3_3";
@@ -300,6 +308,31 @@
	clock-frequency = <25000000>;
};

&i2c0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c0_pins>;
	clock-frequency = <400000>;

	/* NXP SE97BTP with temperature sensor + eeprom */
	sensor@18 {
		compatible = "nxp,jc42";
		reg = <0x18>;
	};

	eeprom@50 {
		compatible = "nxp,24c02";
		reg = <0x50>;
	};

	pca_gpio: gpio@24 {
		compatible = "nxp,pca9673";
		reg = <0x24>;
		gpio-controller;
		#gpio-cells = <2>;
	};
};

&mac {
	status = "okay";
	phy-mode = "mii";