[PATCH 04/10] ARM: mvebu: clearfog: add EEPROM devices
Stefan Roese
sr at denx.de
Mon Jan 13 08:12:17 CET 2020
On 25.11.19 11:30, Baruch Siach wrote:
> Add device-tree description for the EEPROM devices on Armada 388 SOM rev
> 2.1.
>
> Another EEPROM is now on Clearfog Pro carrier rev 2.2, and Clearfog Base
> rev 1.3.
>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
> arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 12 ++++++++++++
> arch/arm/dts/armada-388-clearfog.dts | 6 ++++++
> arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 8 ++++++++
> 3 files changed, 26 insertions(+)
>
> diff --git a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> index 27af14555001..71a073a225a4 100644
> --- a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> +++ b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> @@ -20,3 +20,15 @@
> &ahci1 {
> u-boot,dm-spl;
> };
> +
> +&i2c0 {
> + u-boot,dm-spl;
> +
> + eeprom at 52 {
> + u-boot,dm-spl;
> + };
> +
> + eeprom at 53 {
> + u-boot,dm-spl;
> + };
> +};
> diff --git a/arch/arm/dts/armada-388-clearfog.dts b/arch/arm/dts/armada-388-clearfog.dts
> index 4ddeaa02f122..e4164f49b24d 100644
> --- a/arch/arm/dts/armada-388-clearfog.dts
> +++ b/arch/arm/dts/armada-388-clearfog.dts
> @@ -259,6 +259,12 @@
> compatible = "microchip,mcp3021";
> reg = <0x4c>;
> };
> +
> + eeprom at 52 {
> + compatible = "atmel,24c02";
> + reg = <0x52>;
> + pagesize = <16>;
> + };
> };
>
> &i2c1 {
> diff --git a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> index a2627223ce3b..a322a28c215c 100644
> --- a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> +++ b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
> @@ -99,3 +99,11 @@
> status = "okay";
> u-boot,dm-pre-reloc;
> };
> +
> +&i2c0 {
> + eeprom at 53 {
> + compatible = "atmel,24c02";
> + reg = <0x53>;
> + pagesize = <16>;
> + };
> +};
>
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
More information about the U-Boot
mailing list