[PATCH v1 3/3] MIPS: dts: dpt-module: add Atheros ART partition

Oleksij Rempel o.rempel at pengutronix.de
Tue Jun 5 11:10:21 PDT 2018


and define it as source of MAC address for ag71xx driver

Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
---
 arch/mips/dts/ar9331-dptechnics-dpt-module.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
index 2c38bbc09..2adf02438 100644
--- a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
+++ b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
@@ -11,6 +11,12 @@
 			compatible = "barebox,environment";
 			device-path = &spiflash, "partname:barebox-environment";
 		};
+
+		art at 0 {
+			compatible = "qca,art-ar9331", "qca,art";
+			device-path = &spiflash, "partname:art";
+			barebox,provide-mac-address = <&mac0>;
+		};
 	};
 
 	leds {
@@ -30,6 +36,11 @@
 		label = "barebox-environment";
 		reg = <0x80000 0x10000>;
 	};
+
+	partition at 7f0000 {
+		label = "art";
+		reg = <0x7f0000 0x10000>;
+	};
 };
 
 &mac0 {
-- 
2.17.1




More information about the barebox mailing list