diff options
author | Tam Nguyen | 2023-02-27 23:58:48 +0100 |
---|---|---|
committer | Marek Vasut | 2023-03-10 17:46:09 +0100 |
commit | ae08097faac226a951f4258c481e3e62d6ed8ac2 (patch) | |
tree | ec029372ca5028734895e65b05e0416aac7bd783 /arch | |
parent | c8eaebb426fed1bbb7020566486b4a8f4eb0f159 (diff) |
ARM: dts: renesas: Enable sysinfo on R-Car D3 Draak
Enable support for sysinfo on R-Car D3 Draak board. The sysinfo is used
e.g. to access and decode board-specific information and then in turn
used by board-info to print those information.
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Tam Nguyen <tam.nguyen.xa@renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
[Marek: Drop compatible from I2C node, this is in r8a77995.dtsi already.
Drop status = "okay" from EEPROM node.
Add dts: tag.
Fix Kconfig EEPROM address to be 0x50 and match the DT, sync config.]
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/r8a77995-draak-u-boot.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/dts/r8a77995-draak-u-boot.dts b/arch/arm/dts/r8a77995-draak-u-boot.dts index 0ea2570c1dc..260bc5da19f 100644 --- a/arch/arm/dts/r8a77995-draak-u-boot.dts +++ b/arch/arm/dts/r8a77995-draak-u-boot.dts @@ -8,6 +8,25 @@ #include "r8a77995-draak.dts" #include "r8a77995-u-boot.dtsi" +/ { + sysinfo { + compatible = "renesas,rcar-sysinfo"; + i2c-eeprom = <&sysinfo_eeprom>; + u-boot,dm-pre-reloc; + }; +}; + +&i2c0 { + u-boot,dm-pre-reloc; + + sysinfo_eeprom: eeprom@50 { + compatible = "rohm,br24t01", "atmel,24c01"; + reg = <0x50>; + pagesize = <8>; + u-boot,dm-pre-reloc; + }; +}; + &rpc { reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0x04000000>; status = "disabled"; |