mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-19 21:51:25 +02:00
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.]
This commit is contained in:
parent
c8eaebb426
commit
ae08097faa
@ -8,6 +8,25 @@
|
|||||||
#include "r8a77995-draak.dts"
|
#include "r8a77995-draak.dts"
|
||||||
#include "r8a77995-u-boot.dtsi"
|
#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 {
|
&rpc {
|
||||||
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0x04000000>;
|
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0x04000000>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
@ -33,6 +33,7 @@ CONFIG_HUSH_PARSER=y
|
|||||||
CONFIG_SYS_MAXARGS=64
|
CONFIG_SYS_MAXARGS=64
|
||||||
CONFIG_SYS_PBSIZE=2068
|
CONFIG_SYS_PBSIZE=2068
|
||||||
CONFIG_CMD_BOOTZ=y
|
CONFIG_CMD_BOOTZ=y
|
||||||
|
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=10
|
||||||
CONFIG_CMD_DFU=y
|
CONFIG_CMD_DFU=y
|
||||||
CONFIG_CMD_GPIO=y
|
CONFIG_CMD_GPIO=y
|
||||||
CONFIG_CMD_I2C=y
|
CONFIG_CMD_I2C=y
|
||||||
@ -65,6 +66,9 @@ CONFIG_DFU_SF=y
|
|||||||
CONFIG_RCAR_GPIO=y
|
CONFIG_RCAR_GPIO=y
|
||||||
CONFIG_DM_I2C=y
|
CONFIG_DM_I2C=y
|
||||||
CONFIG_SYS_I2C_RCAR_I2C=y
|
CONFIG_SYS_I2C_RCAR_I2C=y
|
||||||
|
CONFIG_MISC=y
|
||||||
|
CONFIG_I2C_EEPROM=y
|
||||||
|
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
||||||
CONFIG_MMC_IO_VOLTAGE=y
|
CONFIG_MMC_IO_VOLTAGE=y
|
||||||
CONFIG_MMC_UHS_SUPPORT=y
|
CONFIG_MMC_UHS_SUPPORT=y
|
||||||
CONFIG_MMC_HS200_SUPPORT=y
|
CONFIG_MMC_HS200_SUPPORT=y
|
||||||
@ -94,6 +98,7 @@ CONFIG_SCIF_CONSOLE=y
|
|||||||
CONFIG_SPI=y
|
CONFIG_SPI=y
|
||||||
CONFIG_DM_SPI=y
|
CONFIG_DM_SPI=y
|
||||||
CONFIG_RENESAS_RPC_SPI=y
|
CONFIG_RENESAS_RPC_SPI=y
|
||||||
|
CONFIG_SYSINFO=y
|
||||||
CONFIG_TEE=y
|
CONFIG_TEE=y
|
||||||
CONFIG_OPTEE=y
|
CONFIG_OPTEE=y
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user