浏览代码

arm: mvebu: add 'clocks' property to Ethernet nodes for Armada 370/XP SoCs

The mvneta driver now understands a standard 'clocks' clock pointer
property in the Device Tree nodes for the Ethernet devices, so we add
the right clock reference for the different Ethernet ports of the
Armada 370/XP SoCs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 12 年之前
父节点
当前提交
4aa935a2cf
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      arch/arm/boot/dts/armada-370-xp.dtsi
  2. 2 0
      arch/arm/boot/dts/armada-xp.dtsi

+ 2 - 0
arch/arm/boot/dts/armada-370-xp.dtsi

@@ -90,6 +90,7 @@
 				compatible = "marvell,armada-370-neta";
 				compatible = "marvell,armada-370-neta";
 				reg = <0xd0070000 0x2500>;
 				reg = <0xd0070000 0x2500>;
 				interrupts = <8>;
 				interrupts = <8>;
+				clocks = <&gateclk 4>;
 				status = "disabled";
 				status = "disabled";
 		};
 		};
 
 
@@ -97,6 +98,7 @@
 				compatible = "marvell,armada-370-neta";
 				compatible = "marvell,armada-370-neta";
 				reg = <0xd0074000 0x2500>;
 				reg = <0xd0074000 0x2500>;
 				interrupts = <10>;
 				interrupts = <10>;
+				clocks = <&gateclk 3>;
 				status = "disabled";
 				status = "disabled";
 		};
 		};
 	};
 	};

+ 2 - 0
arch/arm/boot/dts/armada-xp.dtsi

@@ -76,6 +76,7 @@
 				compatible = "marvell,armada-370-neta";
 				compatible = "marvell,armada-370-neta";
 				reg = <0xd0030000 0x2500>;
 				reg = <0xd0030000 0x2500>;
 				interrupts = <12>;
 				interrupts = <12>;
+				clocks = <&gateclk 2>;
 				status = "disabled";
 				status = "disabled";
 		};
 		};
 
 
@@ -83,6 +84,7 @@
 				compatible = "marvell,armada-370-neta";
 				compatible = "marvell,armada-370-neta";
 				reg = <0xd0034000 0x2500>;
 				reg = <0xd0034000 0x2500>;
 				interrupts = <14>;
 				interrupts = <14>;
+				clocks = <&gateclk 1>;
 				status = "disabled";
 				status = "disabled";
 		};
 		};
 	};
 	};