Re: [PATCH 1/2] ARM: dts: am57xx-beagle-x15: Add eeprom information
From: Tony Lindgren
Date: Mon Feb 22 2016 - 14:19:11 EST
* Nishanth Menon <nm@xxxxxx> [160222 08:51]:
> Add EEPROM at 0x50 that describes the board configuration.
> This is useful for userspace programs that may need to check board
> revision and other similar information.
>
> Signed-off-by: Nishanth Menon <nm@xxxxxx>
> ---
> arch/arm/boot/dts/am57xx-beagle-x15.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> index 36c0fa6c362a..50312f80b972 100644
> --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> @@ -591,6 +591,11 @@
> DRVDD-supply = <&vdd_3v3>;
> DVDD-supply = <&aic_dvdd>;
> };
> +
> + eeprom: eeprom@50 {
> + compatible = "at,24c32";
> + reg = <0x50>;
> + };
> };
>
Applying into omap-for-v4.6/dt thanks.
Tony