diff mbox series

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

Message ID 20230418050514.2392717-3-u-kumar1@ti.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: ti: k3-j7200-common-proc-board fixes | expand

Commit Message

Kumar, Udit April 18, 2023, 5:05 a.m. UTC
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(+)

Comments

Nishanth Menon April 18, 2023, 12:14 p.m. UTC | #1
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
>
Kumar, Udit April 19, 2023, 3:37 a.m. UTC | #2
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
diff mbox series

Patch

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>;