[PATCH v2 2/2] arm64: dts: ti: k3-j7200-som: Enable I2C

Udit Kumar posted 2 patches 2 years, 8 months ago
There is a newer version of this series
[PATCH v2 2/2] arm64: dts: ti: k3-j7200-som: Enable I2C
Posted by Udit Kumar 2 years, 8 months ago
This patch enables wkup_i2c0 node in board dts file.
and underneath eeprom CAV24C256WE.

J7200 User Guide (Section 4.3, Table 4-2) :
https://www.ti.com/lit/ug/spruiw7a/spruiw7a.pdf

Signed-off-by: Udit Kumar <u-kumar1@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
index fa44ed4c17d5..137492ae89c4 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
@@ -214,6 +214,14 @@ exp_som: gpio@21 {
 	};
 };
 
+&wkup_i2c0 {
+	status = "okay";
+	eeprom@50 {
+		compatible = "atmel,24c256";
+		reg = <0x50>;
+	};
+};
+
 &ospi0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
-- 
2.34.1
Re: [PATCH v2 2/2] arm64: dts: ti: k3-j7200-som: Enable I2C
Posted by Nishanth Menon 2 years, 8 months ago
On 10:35-20230418, Udit Kumar wrote:
> This patch enables wkup_i2c0 node in board dts file.
> and underneath eeprom CAV24C256WE.
> 
> J7200 User Guide (Section 4.3, Table 4-2) :
> https://www.ti.com/lit/ug/spruiw7a/spruiw7a.pdf
> 
> Signed-off-by: Udit Kumar <u-kumar1@ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
> index fa44ed4c17d5..137492ae89c4 100644
> --- a/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
> @@ -214,6 +214,14 @@ exp_som: gpio@21 {
>  	};
>  };
>  
> +&wkup_i2c0 {
> +	status = "okay";
> +	eeprom@50 {
> +		compatible = "atmel,24c256";
> +		reg = <0x50>;
> +	};
> +};

pinmux?
speed ?

> +
>  &ospi0 {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&mcu_fss0_ospi0_pins_default>;
> -- 
> 2.34.1
> 

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
Re: [PATCH v2 2/2] arm64: dts: ti: k3-j7200-som: Enable I2C
Posted by Udit Kumar 2 years, 8 months ago
On 18/04/23 17:44, Nishanth Menon wrote:
> On 10:35-20230418, Udit Kumar wrote:
>> [..]
> pinmux?
> speed ?


I misunderstood your comments in v1.

will fix in v3

Thanks for review