@@ -16,21 +16,25 @@
&eeprom {
#address-cells = <1>;
- #size-cells = <1>;
+ #size-cells = <0>;
+ partitions {
+ #address-cells = <1>;
+ #size-cells = <1>;
- board_sn: board-sn at 0 {
- reg = <0x0 0x14>;
- };
+ board_sn: board-sn at 0 {
+ reg = <0x0 0x14>;
+ };
- eth_mac: eth-mac at 20 {
- reg = <0x20 0x6>;
- };
+ eth_mac: eth-mac at 20 {
+ reg = <0x20 0x6>;
+ };
- board_name: board-name at d0 {
- reg = <0xd0 0x6>;
- };
+ board_name: board-name at d0 {
+ reg = <0xd0 0x6>;
+ };
- board_revision: board-revision at e0 {
- reg = <0xe0 0x3>;
+ board_revision: board-revision at e0 {
+ reg = <0xe0 0x3>;
+ };
};
};
@@ -129,7 +129,28 @@
compatible = "atmel,24c08";
reg = <0x54>;
#address-cells = <1>;
- #size-cells = <1>;
+ #size-cells = <0>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ board_sn: board-sn at 0 {
+ reg = <0x0 0x14>;
+ };
+
+ eth_mac: eth-mac at 20 {
+ reg = <0x20 0x6>;
+ };
+
+ board_name: board-name at d0 {
+ reg = <0xd0 0x6>;
+ };
+
+ board_revision: board-revision at e0 {
+ reg = <0xe0 0x3>;
+ };
+ };
};
};
@@ -154,7 +154,28 @@
compatible = "atmel,24c08";
reg = <0x54>;
#address-cells = <1>;
- #size-cells = <1>;
+ #size-cells = <0>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ board_sn: board-sn at 0 {
+ reg = <0x0 0x14>;
+ };
+
+ eth_mac: eth-mac at 20 {
+ reg = <0x20 0x6>;
+ };
+
+ board_name: board-name at d0 {
+ reg = <0xd0 0x6>;
+ };
+
+ board_revision: board-revision at e0 {
+ reg = <0xe0 0x3>;
+ };
+ };
};
};
@@ -483,6 +483,29 @@
eeprom: eeprom at 54 { /* u23 */
compatible = "atmel,24c08";
reg = <0x54>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ board_sn: board-sn at 0 {
+ reg = <0x0 0x14>;
+ };
+
+ eth_mac: eth-mac at 20 {
+ reg = <0x20 0x6>;
+ };
+
+ board_name: board-name at d0 {
+ reg = <0xd0 0x6>;
+ };
+
+ board_revision: board-revision at e0 {
+ reg = <0xe0 0x3>;
+ };
+ };
};
};
i2c at 1 {
@@ -379,6 +379,29 @@
eeprom: eeprom at 54 { /* u88 */
compatible = "atmel,24c08";
reg = <0x54>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ board_sn: board-sn at 0 {
+ reg = <0x0 0x14>;
+ };
+
+ eth_mac: eth-mac at 20 {
+ reg = <0x20 0x6>;
+ };
+
+ board_name: board-name at d0 {
+ reg = <0xd0 0x6>;
+ };
+
+ board_revision: board-revision at e0 {
+ reg = <0xe0 0x3>;
+ };
+ };
};
};
i2c at 1 {
@@ -152,6 +152,29 @@
eeprom: eeprom at 54 { /* u101 */
compatible = "atmel,24c32"; /* 24LC32A */
reg = <0x54>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ board_sn: board-sn at 0 {
+ reg = <0x0 0x14>;
+ };
+
+ eth_mac: eth-mac at 20 {
+ reg = <0x20 0x6>;
+ };
+
+ board_name: board-name at d0 {
+ reg = <0xd0 0x6>;
+ };
+
+ board_revision: board-revision at e0 {
+ reg = <0xe0 0x3>;
+ };
+ };
};
};
i2c at 3 {
@@ -397,6 +397,29 @@
eeprom: eeprom at 54 { /* u21 */
compatible = "atmel,24c128";
reg = <0x54>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ board_sn: board-sn at 0 {
+ reg = <0x0 0x14>;
+ };
+
+ eth_mac: eth-mac at 20 {
+ reg = <0x20 0x6>;
+ };
+
+ board_name: board-name at d0 {
+ reg = <0xd0 0x6>;
+ };
+
+ board_revision: board-revision at e0 {
+ reg = <0xe0 0x3>;
+ };
+ };
};
};
i2c_si5341: i2c at 1 {
@@ -401,6 +401,29 @@
eeprom: eeprom at 54 { /* u21 */
compatible = "atmel,24c128";
reg = <0x54>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ board_sn: board-sn at 0 {
+ reg = <0x0 0x14>;
+ };
+
+ eth_mac: eth-mac at 20 {
+ reg = <0x20 0x6>;
+ };
+
+ board_name: board-name at d0 {
+ reg = <0xd0 0x6>;
+ };
+
+ board_revision: board-revision at e0 {
+ reg = <0xe0 0x3>;
+ };
+ };
};
};
i2c_si5341: i2c at 1 {
Use fixed partition to cover eeprom content on zynqmp boards. Signed-off-by: Michal Simek <michal.simek at xilinx.com> --- arch/arm/dts/zynqmp-zcu102-rev1.0.dts | 28 +++++++++++++++------------ arch/arm/dts/zynqmp-zcu104-revA.dts | 23 +++++++++++++++++++++- arch/arm/dts/zynqmp-zcu104-revC.dts | 23 +++++++++++++++++++++- arch/arm/dts/zynqmp-zcu106-revA.dts | 23 ++++++++++++++++++++++ arch/arm/dts/zynqmp-zcu111-revA.dts | 23 ++++++++++++++++++++++ arch/arm/dts/zynqmp-zcu1285-revA.dts | 23 ++++++++++++++++++++++ arch/arm/dts/zynqmp-zcu208-revA.dts | 23 ++++++++++++++++++++++ arch/arm/dts/zynqmp-zcu216-revA.dts | 23 ++++++++++++++++++++++ 8 files changed, 175 insertions(+), 14 deletions(-)