This provides an example of how to use the Tegra CAR clock binding in a board .dts file. Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx> --- I think it makes sense to check the previous patch into the Linux kernel, since it's mainly just defining what the binding is. However, this patch is just an example and needs to be reworked to cover all boards, and add a PMU node for the true clk_32k source. I'm providing this patch mostly as an example that Simon Glass can use within U-Boot in the interim. --- arch/arm/boot/dts/tegra-seaboard.dts | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra-seaboard.dts b/arch/arm/boot/dts/tegra-seaboard.dts index b55a02e..06a3cb1 100644 --- a/arch/arm/boot/dts/tegra-seaboard.dts +++ b/arch/arm/boot/dts/tegra-seaboard.dts @@ -11,6 +11,30 @@ reg = < 0x00000000 0x40000000 >; }; + clocks { + #address-cells = <1>; + #size-cells = <0>; + + /* This will eventually be a clock output from a PMU IC */ + clk_32k: clock@0 { + compatible = "fixed-clock"; + reg = <0>; + #clock-cells = <0>; + clock-frequency = <32768>; + }; + + osc: clock@1 { + compatible = "fixed-clock"; + reg = <1>; + #clock-cells = <0>; + clock-frequency = <12000000>; + }; + }; + + clock@60006000 { + clocks = <&clk_32k> <&osc>; + }; + i2c@7000c000 { clock-frequency = <400000>; }; -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html