mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
367aaaea1d
Activate the shiny new riic driver for i2c2. Tested by accessing the eeprom on the genmai board. Signed-off-by: Wolfram Sang <wsa@sang-engineering.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
43 lines
786 B
Plaintext
43 lines
786 B
Plaintext
/*
|
|
* Device Tree Source for the Genmai board
|
|
*
|
|
* Copyright (C) 2013 Renesas Solutions Corp.
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "r7s72100.dtsi"
|
|
|
|
/ {
|
|
model = "Genmai";
|
|
compatible = "renesas,genmai-reference", "renesas,r7s72100";
|
|
|
|
chosen {
|
|
bootargs = "console=ttySC2,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x08000000 0x08000000>;
|
|
};
|
|
|
|
lbsc {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
};
|
|
};
|
|
|
|
&i2c2 {
|
|
status = "okay";
|
|
clock-frequency = <400000>;
|
|
|
|
eeprom@50 {
|
|
compatible = "renesas,24c128";
|
|
reg = <0x50>;
|
|
pagesize = <64>;
|
|
};
|
|
};
|