summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sama5d3_gmac.dtsi
diff options
context:
space:
mode:
authorBoris BREZILLON <b.brezillon@overkiz.com>2013-10-19 01:48:27 +0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-12-02 18:31:28 +0400
commitd2e8190b7916ed5d8a8b5145b3dd85ca07412edd (patch)
tree5cca8cb40b573e7ee731ab61d896ad3bd57ccace /arch/arm/boot/dts/sama5d3_gmac.dtsi
parentd1ff2300228e54f1d748f810a28134f4e6f160c7 (diff)
downloadlinux-d2e8190b7916ed5d8a8b5145b3dd85ca07412edd.tar.xz
ARM: at91/dt: define sama5d3 clocks
Define sama5d3 clocks in sama5d3 device tree. Add references to the appropriate clocks in each peripheral. Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/sama5d3_gmac.dtsi')
-rw-r--r--arch/arm/boot/dts/sama5d3_gmac.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sama5d3_gmac.dtsi b/arch/arm/boot/dts/sama5d3_gmac.dtsi
index 0ba8be30ccd8..a6cb0508762f 100644
--- a/arch/arm/boot/dts/sama5d3_gmac.dtsi
+++ b/arch/arm/boot/dts/sama5d3_gmac.dtsi
@@ -64,12 +64,23 @@
};
};
+ pmc: pmc@fffffc00 {
+ periphck {
+ macb0_clk: macb0_clk {
+ #clock-cells = <0>;
+ reg = <34>;
+ };
+ };
+ };
+
macb0: ethernet@f0028000 {
compatible = "cdns,pc302-gem", "cdns,gem";
reg = <0xf0028000 0x100>;
interrupts = <34 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_macb0_data_rgmii &pinctrl_macb0_signal_rgmii>;
+ clocks = <&macb0_clk>, <&macb0_clk>;
+ clock-names = "hclk", "pclk";
status = "disabled";
};
};