[U-Boot] [PATCH 5/6] arm: zynq: Fix eeprom dt nodes
Michal Simek
michal.simek at xilinx.com
Wed Mar 28 14:23:02 UTC 2018
- Use eeprom for node name
- Use atmel compatible string instead of at.
- Add missing labels
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
arch/arm/dts/zynq-zc770-xm010.dts | 4 ++--
arch/arm/dts/zynq-zc770-xm011.dts | 4 ++--
arch/arm/dts/zynq-zc770-xm012.dts | 8 ++++----
arch/arm/dts/zynq-zc770-xm013.dts | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/dts/zynq-zc770-xm010.dts b/arch/arm/dts/zynq-zc770-xm010.dts
index 0c364dfcc14f..2c594b7ecc6c 100644
--- a/arch/arm/dts/zynq-zc770-xm010.dts
+++ b/arch/arm/dts/zynq-zc770-xm010.dts
@@ -54,8 +54,8 @@
status = "okay";
clock-frequency = <400000>;
- m24c02_eeprom at 52 {
- compatible = "at,24c02";
+ eeprom: eeprom at 52 {
+ compatible = "atmel,24c02";
reg = <0x52>;
};
diff --git a/arch/arm/dts/zynq-zc770-xm011.dts b/arch/arm/dts/zynq-zc770-xm011.dts
index f711675dd88e..3fe6eb559ea7 100644
--- a/arch/arm/dts/zynq-zc770-xm011.dts
+++ b/arch/arm/dts/zynq-zc770-xm011.dts
@@ -41,8 +41,8 @@
status = "okay";
clock-frequency = <400000>;
- m24c02_eeprom at 52 {
- compatible = "at,24c02";
+ eeprom: eeprom at 52 {
+ compatible = "atmel,24c02";
reg = <0x52>;
};
};
diff --git a/arch/arm/dts/zynq-zc770-xm012.dts b/arch/arm/dts/zynq-zc770-xm012.dts
index ee6809d51bcf..19d5b275ae06 100644
--- a/arch/arm/dts/zynq-zc770-xm012.dts
+++ b/arch/arm/dts/zynq-zc770-xm012.dts
@@ -37,8 +37,8 @@
status = "okay";
clock-frequency = <400000>;
- m24c02_eeprom at 52 {
- compatible = "at,24c02";
+ eeprom0: eeprom at 52 {
+ compatible = "atmel,24c02";
reg = <0x52>;
};
};
@@ -47,8 +47,8 @@
status = "okay";
clock-frequency = <400000>;
- m24c02_eeprom at 52 {
- compatible = "at,24c02";
+ eeprom1: eeprom at 52 {
+ compatible = "atmel,24c02";
reg = <0x52>;
};
};
diff --git a/arch/arm/dts/zynq-zc770-xm013.dts b/arch/arm/dts/zynq-zc770-xm013.dts
index 88a7ef068219..efd0833eab91 100644
--- a/arch/arm/dts/zynq-zc770-xm013.dts
+++ b/arch/arm/dts/zynq-zc770-xm013.dts
@@ -67,7 +67,7 @@
status = "okay";
num-cs = <4>;
is-decoded-cs = <0>;
- eeprom: at25 at 0 {
+ eeprom: eeprom at 0 {
at25,byte-len = <8192>;
at25,addr-mode = <2>;
at25,page-size = <32>;
--
1.9.1
More information about the U-Boot
mailing list