Skip to contentSkip to conversation

ARM: dts: imx6qdl: pfla02: Remove eeprom node

PATCH In review Alexander Shiyan 2 participants 2 messages Oct 30, 2020 – Nov 2, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl: pfla02: Remove eeprom node

The upstream dtsi now has a eeprom node, so no need to duplicate anymore. Let's keep the "page_size" property for a while.

---
 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi +4 -6
index b83511cb0..d0b056b2f 100644
@@ -155,6 +155,10 @@
 	barebox,provide-mac-address = <&fec 0x620>;
 };
 
+&som_eeprom {
+	pagesize = <32>;
+};
+
 &usdhc3 {
 	#address-cells = <1>;
 	#size-cells = <1>;
@@ -175,12 +179,6 @@
 	pinctrl-0 = <&pinctrl_i2c1>;
 	status = "okay";
 
-	eeprom: eeprom@50 {
-		compatible = "atmel,24c32";
-		pagesize = <32>;
-		reg = <0x50>;
-	};
-
 	pmic@58 {
 		watchdog-priority = <500>;
 		restart-priority = <500>;
Signature · 7 lines
2.26.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
maintainer
#1 lore raw
Quoted 2 lines · Alexander Shiyan

The upstream dtsi now has a eeprom node, so no need to duplicate anymore. Let's keep the "page_size" property for a while.

Patch looks good, so applied, thanks

I just wonder why the pagesize isn't included in the upstream dts. Shouldn't it be there as well?

Sascha

Quoted 43 lines
---
 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi +4 -6
index b83511cb0..d0b056b2f 100644
@@ -155,6 +155,10 @@
 	barebox,provide-mac-address = <&fec 0x620>;
 };
 
+&som_eeprom {
+	pagesize = <32>;
+};
+
 &usdhc3 {
 	#address-cells = <1>;
 	#size-cells = <1>;
@@ -175,12 +179,6 @@
 	pinctrl-0 = <&pinctrl_i2c1>;
 	status = "okay";
 
-	eeprom: eeprom@50 {
-		compatible = "atmel,24c32";
-		pagesize = <32>;
-		reg = <0x50>;
-	};
-
 	pmic@58 {
 		watchdog-priority = <500>;
 		restart-priority = <500>;
Signature · 7 lines
2.26.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox