[PATCH 3/3] ARM: mvebu: add ethernet node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch adds the ethernet node to the dove devicetree, and enables the
support for the dove-cubox. The node is a copy of the kernel devicetree.

Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
---
 arch/arm/dts/dove-cubox.dts |  4 ++++
 arch/arm/dts/dove.dtsi      | 10 ++++++++++
 2 files changed, 14 insertions(+)

diff --git a/arch/arm/dts/dove-cubox.dts b/arch/arm/dts/dove-cubox.dts
index 61f38fe..f508222 100644
--- a/arch/arm/dts/dove-cubox.dts
+++ b/arch/arm/dts/dove-cubox.dts
@@ -153,3 +153,7 @@
 		marvell,function = "gpio";
 	};
 };
+
+&eth {
+	status = "okay";
+};
diff --git a/arch/arm/dts/dove.dtsi b/arch/arm/dts/dove.dtsi
index 32fbf28..5406a64 100644
--- a/arch/arm/dts/dove.dtsi
+++ b/arch/arm/dts/dove.dtsi
@@ -267,6 +267,16 @@
 			};
 		};
 
+		eth: ethernet-ctrl@72000 {
+			compatible = "marvell,orion-eth";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x72000 0x4000>;
+			clocks = <&gate_clk 2>;
+			marvell,tx-checksum-limit = <1600>;
+			status = "disabled";
+		};
+
 		lcd0: lcd-controller@820000 {
 			compatible = "marvell,dove-lcd";
 			reg = <0x820000 0x200>;
-- 
1.8.5.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux