]> git.sur5r.net Git - u-boot/commitdiff
tegra: fdt: Add clock bindings for Tegra2 Seaboard
authorSimon Glass <sjg@chromium.org>
Tue, 28 Feb 2012 08:07:49 +0000 (08:07 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:12:48 +0000 (08:12 +0200)
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>
board/nvidia/dts/tegra2-seaboard.dts

index dde5d032bdfa49559a00aa0f5556b3cbed0858df..452679f5594126885837a773d9f1e232b806595c 100644 (file)
                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 >;
        };