From 99d9e6531e841b935d628e30025609547b09d594 Mon Sep 17 00:00:00 2001 From: Tony Han Date: Mon, 14 Apr 2025 16:22:22 +0800 Subject: [PATCH] boards: microchip: sam: add eeprom nodes to sama7g54_ek dts file Add the nodes for on board EEPROM devices. Only the basic compatible functions implemented. EUI-48 Node Address not added. Signed-off-by: Tony Han --- .../microchip/sam/sama7g54_ek/sama7g54_ek.dts | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/boards/microchip/sam/sama7g54_ek/sama7g54_ek.dts b/boards/microchip/sam/sama7g54_ek/sama7g54_ek.dts index 82648923842..d17d3ac722e 100644 --- a/boards/microchip/sam/sama7g54_ek/sama7g54_ek.dts +++ b/boards/microchip/sam/sama7g54_ek/sama7g54_ek.dts @@ -49,6 +49,37 @@ }; }; +&flx8 { + mchp,flexcom-mode = ; + status = "okay"; + + i2c8: i2c8@600 { + pinctrl-0 = <&pinctrl_i2c8_default>; + pinctrl-names = "default"; + status = "okay"; + + eeprom0: eeprom0@52 { + compatible = "atmel,24mac02e4", "atmel,at24"; + reg = <0x52>; + address-width = <8>; + pagesize = <16>; + size = <256>; + timeout = <5>; + status = "okay"; + }; + + eeprom1: eeprom1@53 { + compatible = "atmel,24mac02e4", "atmel,at24"; + reg = <0x53>; + address-width = <8>; + pagesize = <16>; + size = <256>; + timeout = <5>; + status = "okay"; + }; + }; +}; + &pinctrl { pinctrl_flx3_default: flx3_default { group1 { @@ -57,6 +88,14 @@ bias-pull-up; }; }; + + pinctrl_i2c8_default: i2c8_default { + group1 { + pinmux = , + ; + bias-disable; + }; + }; }; &pit64b0 {