[linux-yocto] [PATCH 4.1] fsl-mpc8315e-rdb: Enable EEPROM

Bruce Ashfield bruce.ashfield at windriver.com
Thu Nov 19 14:15:31 PST 2015


On 15-11-19 12:48 AM, Kevin Hao wrote:
> From: Bruce Ashfield <bruce.ashfield at windriver.com>
>
> Update the mpc8315erdb.dts to contain the eeprom device
> information. Coupled with adding "MISC_DEVICES" into the
> kernel configuration, we have a working eeprom.

thanks Kevin, I've staged this now, and put it on the master
branch as well .. so it won't be missed in the future.

Bruce

>
> Signed-off-by: Jingdong Lu <jingdong.lu at windriver.com>
> Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
> ---
>   arch/powerpc/boot/dts/mpc8315erdb.dts | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/arch/powerpc/boot/dts/mpc8315erdb.dts b/arch/powerpc/boot/dts/mpc8315erdb.dts
> index 4354684..90c06aa 100644
> --- a/arch/powerpc/boot/dts/mpc8315erdb.dts
> +++ b/arch/powerpc/boot/dts/mpc8315erdb.dts
> @@ -118,6 +118,12 @@
>   			interrupts = <14 0x8>;
>   			interrupt-parent = <&ipic>;
>   			dfsrr;
> +
> +			eeprom at 50 {
> +				compatible = "atmel,24c256";
> +				reg = <0x50>;
> +			};
> +
>   			rtc at 68 {
>   				compatible = "dallas,ds1339";
>   				reg = <0x68>;
>



More information about the linux-yocto mailing list