summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-04-06 22:22:38 +0300
committerIgor Opaniuk <igor.opaniuk@toradex.com>2020-05-04 21:42:21 +0300
commit3592c5c1372551820a69a323ef30ba54e29fec9e (patch)
tree5467873a590880193b13f728ae6df80c9bf70fb0
parent4554a0918af7e74c934a3ad707aba10ef31e111a (diff)
ARM: dts: imx8mm-verdin: eeprom nodes adjustments
1. Rename EEPROM nodes. 2. Create aliases for EEPROM to unify their order: eeprom0 - on-module EEPROM eeprom1 - carrier-board EEPROM eeprom2 - MIPI-DSI to HDMI adapter EEPROM Relates-to: ELB-1402 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
-rw-r--r--arch/arm/dts/fsl-imx8mm-verdin.dts22
1 files changed, 14 insertions, 8 deletions
diff --git a/arch/arm/dts/fsl-imx8mm-verdin.dts b/arch/arm/dts/fsl-imx8mm-verdin.dts
index a4f131fe4c..6d74ef4501 100644
--- a/arch/arm/dts/fsl-imx8mm-verdin.dts
+++ b/arch/arm/dts/fsl-imx8mm-verdin.dts
@@ -16,6 +16,12 @@
stdout-path = &uart1;
};
+ aliases {
+ eeprom0 = &eeprom_module;
+ eeprom1 = &eeprom_carrier_board;
+ eeprom2 = &eeprom_display_adapter;
+ };
+
regulators {
compatible = "simple-bus";
#address-cells = <1>;
@@ -270,8 +276,8 @@
vcc-supply = <&ldo5_reg>;
};
- eeprom@50 {
- compatible = "st,24c02";
+ eeprom_module: eeprom@50 {
+ compatible = "st,24c02", "atmel,24c02", "i2c-eeprom";
pagesize = <16>;
reg = <0x50>;
};
@@ -339,16 +345,16 @@
};
};
- /* EEPROM on MIPI-DSI to HDMI adapter */
- eeprom_50: eeprom@50 {
- compatible = "st,24c02";
+ /* EEPROM on display adapter (MIPI DSI Display Adapter) */
+ eeprom_display_adapter: eeprom@50 {
+ compatible = "st,24c02", "atmel,24c02", "i2c-eeprom";
pagesize = <16>;
reg = <0x50>;
};
- /* EEPROM on Verdin Development board */
- eeprom_57: eeprom@57 {
- compatible = "st,24c02";
+ /* EEPROM on carrier board */
+ eeprom_carrier_board: eeprom@57 {
+ compatible = "st,24c02", "atmel,24c02", "i2c-eeprom";
pagesize = <16>;
reg = <0x57>;
};