summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/at91sam9x5_macb1.dtsi
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-05-12 20:23:35 +0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-05-22 20:03:13 +0400
commita80d3ec609c34828a821e1da45f06ad15f1218a5 (patch)
tree75cd20fd17932889d7e1d5b6f29f756abea9c71f /arch/arm/boot/dts/at91sam9x5_macb1.dtsi
parentb099c604d31d4f0cecd212e0830d33e84ded2f1b (diff)
downloadlinux-a80d3ec609c34828a821e1da45f06ad15f1218a5.tar.xz
ARM: at91/dt: define sam9x5 clocks
Define sam9x5 clocks in sam9x5 dt files and make use of them in peripheral definitions. Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9x5_macb1.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9x5_macb1.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5_macb1.dtsi b/arch/arm/boot/dts/at91sam9x5_macb1.dtsi
index 77425a627a94..663676c02861 100644
--- a/arch/arm/boot/dts/at91sam9x5_macb1.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5_macb1.dtsi
@@ -31,12 +31,23 @@
};
};
+ pmc: pmc@fffffc00 {
+ periphck {
+ macb1_clk: macb1_clk {
+ #clock-cells = <0>;
+ reg = <27>;
+ };
+ };
+ };
+
macb1: ethernet@f8030000 {
compatible = "cdns,at32ap7000-macb", "cdns,macb";
reg = <0xf8030000 0x100>;
interrupts = <27 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_macb1_rmii>;
+ clocks = <&macb1_clk>, <&macb1_clk>;
+ clock-names = "hclk", "pclk";
status = "disabled";
};
};