summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-02-28 08:07:49 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-29 08:12:48 +0200
commitcd474cbae676d63f3bfe6c7f080e61262c2d74a7 (patch)
tree477a0bec9646556815b911ce42b32896a0aeec23
parent1f1a02123cc1643517498e93497a67dfe8824bd7 (diff)
downloadu-boot-imx-cd474cbae676d63f3bfe6c7f080e61262c2d74a7.zip
u-boot-imx-cd474cbae676d63f3bfe6c7f080e61262c2d74a7.tar.gz
u-boot-imx-cd474cbae676d63f3bfe6c7f080e61262c2d74a7.tar.bz2
tegra: fdt: Add clock bindings for Tegra2 Seaboard
Add the definition of the oscillator clock frequency and the 32KHz clock. The latter is provided by a PMIC on I2C which we don't actually use at present, but we expect this definition to be used in the kernel and want to keep our .dts the same. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r--board/nvidia/dts/tegra2-seaboard.dts27
1 files changed, 27 insertions, 0 deletions
diff --git a/board/nvidia/dts/tegra2-seaboard.dts b/board/nvidia/dts/tegra2-seaboard.dts
index dde5d03..452679f 100644
--- a/board/nvidia/dts/tegra2-seaboard.dts
+++ b/board/nvidia/dts/tegra2-seaboard.dts
@@ -16,6 +16,33 @@
reg = < 0x00000000 0x40000000 >;
};
+ /* This is not used in U-Boot, but is expected to be in kernel .dts */
+ i2c@7000d000 {
+ pmic@34 {
+ compatible = "ti,tps6586x";
+ reg = <0x34>;
+
+ clk_32k: clock {
+ compatible = "fixed-clock";
+ /*
+ * leave out for now due to CPP:
+ * #clock-cells = <0>;
+ */
+ clock-frequency = <32768>;
+ };
+ };
+ };
+
+ clocks {
+ osc {
+ clock-frequency = <12000000>;
+ };
+ };
+
+ clock@60006000 {
+ clocks = <&clk_32k &osc>;
+ };
+
serial@70006300 {
clock-frequency = < 216000000 >;
};