summaryrefslogtreecommitdiff
path: root/arch/arm/dts/r8a77960-ulcb-u-boot.dts
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2021-07-03 18:16:14 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2021-07-20 23:33:54 +0200
commit778fbe2668cf653bfd0d0d80e45dcc8a682e0b15 (patch)
treedbc4fe18d7407a523245b77f10d4bfabb639f0fa /arch/arm/dts/r8a77960-ulcb-u-boot.dts
parent85cd345dc8a979b7d67c69030e081711e68bb2be (diff)
ARM: dts: rmobile: Add sysinfo extras on R-Car Gen3
Add sysinfo node and phandle to the board ID EEPROM on all boards where this functionality is described in DT, which is Salvator-X(S), ULCB and Ebisu. The u-boot,dm-pre-reloc is necessary here, since the sysinfo must be available early during boot. The V3M and V3H boards currently do not describe this board ID EEPROM in upstream DT, but that could be easily added later, once the DTs contain the necessary nodes. ULCB and Ebisu needs the full EEPROM node in the u-boot extras DT, since the EEPROM node is still missing in the upstream DTs. Ebisu also needs extra compatible string override for the i2c_dvfs. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'arch/arm/dts/r8a77960-ulcb-u-boot.dts')
-rw-r--r--arch/arm/dts/r8a77960-ulcb-u-boot.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/dts/r8a77960-ulcb-u-boot.dts b/arch/arm/dts/r8a77960-ulcb-u-boot.dts
index aab9c95931..e4f77ae262 100644
--- a/arch/arm/dts/r8a77960-ulcb-u-boot.dts
+++ b/arch/arm/dts/r8a77960-ulcb-u-boot.dts
@@ -17,6 +17,24 @@
gpio-miso = <&gpio6 10 0>;
gpio-sstbz = <&gpio2 3 0>;
};
+
+ sysinfo {
+ compatible = "renesas,rcar-sysinfo";
+ i2c-eeprom = <&sysinfo_eeprom>;
+ u-boot,dm-pre-reloc;
+ };
+};
+
+&i2c_dvfs {
+ u-boot,dm-pre-reloc;
+
+ sysinfo_eeprom: eeprom@50 {
+ compatible = "rohm,br24t01", "atmel,24c01";
+ reg = <0x50>;
+ pagesize = <8>;
+ u-boot,dm-pre-reloc;
+ status = "okay";
+ };
};
&rpc {