summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-04-24 14:43:40 +0200
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-04-29 12:09:40 +0200
commit174758ba8511f68e331d586a8643d96835cbfd33 (patch)
treeb52ddadbbf9b3323e89b86bb0d679b297d06507b /arch
parent6b48751b09e2a714724f6778c4e5b76ef951f019 (diff)
dts: puma: Add SPD EEPROM node.
Recent Puma versions have an on-board I2C EEPROM, which is used for storing SPD information. This patch adds the required information for SPL. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/rk3399-puma.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi
index 8304f67192..1b409a4d4b 100644
--- a/arch/arm/dts/rk3399-puma.dtsi
+++ b/arch/arm/dts/rk3399-puma.dtsi
@@ -202,11 +202,19 @@
};
&i2c0 {
+ u-boot,dm-pre-reloc;
status = "okay";
i2c-scl-rising-time-ns = <168>;
i2c-scl-falling-time-ns = <4>;
clock-frequency = <400000>;
+ spd_eeprom: spd_eeprom {
+ u-boot,dm-pre-reloc;
+ status = "okay";
+ compatible = "i2c-eeprom";
+ reg = <0x50>;
+ };
+
vdd_gpu: vdd_gpu {
status = "okay";
compatible = "fcs,fan53555";
@@ -669,3 +677,7 @@
&spi5 {
status = "okay";
};
+
+&dmc {
+ theobroma-systems,spd-eeprom = <&spd_eeprom>;
+}; \ No newline at end of file