ARM: dts: add board specific fixed rate clock nodes for Exynos based platforms
authorThomas Abraham <thomas.abraham@linaro.org>
Sat, 9 Mar 2013 08:19:22 +0000 (17:19 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 25 Mar 2013 09:18:32 +0000 (18:18 +0900)
The clock frequency of xxti and xusbxti clocks is dependent on the
frequency of the on-board oscillator that is used to generate these
clocks. So allow the frequency of these clocks to be specfied from
device tree.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4210-origen.dts
arch/arm/boot/dts/exynos4210-smdkv310.dts
arch/arm/boot/dts/exynos4210-trats.dts
arch/arm/boot/dts/exynos4412-odroidx.dts
arch/arm/boot/dts/exynos4412-origen.dts
arch/arm/boot/dts/exynos4412-smdk4412.dts
arch/arm/boot/dts/exynos5250-arndale.dts
arch/arm/boot/dts/exynos5250-smdk5250.dts
arch/arm/boot/dts/exynos5250-snow.dts
arch/arm/boot/dts/exynos5440-ssdk5440.dts

index 052606b52ec78290b2e33c0b8580bbfc957c6f5f..1b30bc8e2654f123ff0624b02e095fdb22b70e1d 100644 (file)
                        linux,default-trigger = "heartbeat";
                };
        };
+
+       fixed-rate-clocks {
+               xxti {
+                       compatible = "samsung,clock-xxti";
+                       clock-frequency = <0>;
+               };
+
+               xusbxti {
+                       compatible = "samsung,clock-xusbxti";
+                       clock-frequency = <24000000>;
+               };
+       };
 };
index 2b1e03a4c0d0400ba06c15e0eb91d45af326d889..f52c86e2d424059b1a391ace03f9d87e7fc2119d 100644 (file)
                        };
                };
        };
+
+       fixed-rate-clocks {
+               xxti {
+                       compatible = "samsung,clock-xxti";
+                       clock-frequency = <12000000>;
+               };
+
+               xusbxti {
+                       compatible = "samsung,clock-xusbxti";
+                       clock-frequency = <24000000>;
+               };
+       };
 };
index c346b64dff552ef3d13599846130f63be9068e5e..9a14484c7bb11b61d5e1f1ec3c185a3c50710ecc 100644 (file)
                        };
                };
        };
+
+       fixed-rate-clocks {
+               xxti {
+                       compatible = "samsung,clock-xxti";
+                       clock-frequency = <0>;
+               };
+
+               xusbxti {
+                       compatible = "samsung,clock-xusbxti";
+                       clock-frequency = <24000000>;
+               };
+       };
 };
index 0084d9548bbf44e4387c2ee9f2fd537bd507ea87..15dc0a38b96dce518c75b9206efb9170d3223055 100644 (file)
        serial@13830000 {
                status = "okay";
        };
+
+       fixed-rate-clocks {
+               xxti {
+                       compatible = "samsung,clock-xxti";
+                       clock-frequency = <0>;
+               };
+
+               xusbxti {
+                       compatible = "samsung,clock-xusbxti";
+                       clock-frequency = <24000000>;
+               };
+       };
 };
index 31e14c4b9ac36f9934d0bae6c7b612708ac03bdb..a5478bd20a60f2c701d1c9e744df94de909b16ba 100644 (file)
                        };
                };
        };
+
+       fixed-rate-clocks {
+               xxti {
+                       compatible = "samsung,clock-xxti";
+                       clock-frequency = <0>;
+               };
+
+               xusbxti {
+                       compatible = "samsung,clock-xusbxti";
+                       clock-frequency = <24000000>;
+               };
+       };
 };
index 6ae42765b61397a0fa493f48193c72169206b340..874beeaef99d802f09e414d447dcb32ab28e88ad 100644 (file)
        serial@13830000 {
                status = "okay";
        };
+
+       fixed-rate-clocks {
+               xxti {
+                       compatible = "samsung,clock-xxti";
+                       clock-frequency = <0>;
+               };
+
+               xusbxti {
+                       compatible = "samsung,clock-xusbxti";
+                       clock-frequency = <24000000>;
+               };
+       };
 };
index 63572f9db51d08b185e8a59c151a9f4a0503e37d..5de019cb0e5830db4ca757132b6069caa755957d 100644 (file)
        spi_2: spi@12d40000 {
                status = "disabled";
        };
+
+       fixed-rate-clocks {
+               xxti {
+                       compatible = "samsung,clock-xxti";
+                       clock-frequency = <24000000>;
+               };
+       };
 };
index a8d7233866fab8720e95578751629cfef5cb637b..872ae1f93c75288823d52118bce7e716967c859f 100644 (file)
                samsung,link-rate = <0x0a>;
                samsung,lane-count = <4>;
        };
+
+       fixed-rate-clocks {
+               xxti {
+                       compatible = "samsung,clock-xxti";
+                       clock-frequency = <24000000>;
+               };
+       };
 };
index 47b6b847b4a57eb8c9bcdc2211b6f1d771e0bc48..babd9f9b1bf9fdc955303b6c0f758ba0a35337d8 100644 (file)
        usb@12110000 {
                samsung,vbus-gpio = <&gpx1 1 1 3 3>;
        };
+
+       fixed-rate-clocks {
+               xxti {
+                       compatible = "samsung,clock-xxti";
+                       clock-frequency = <24000000>;
+               };
+       };
 };
index ee60c57823ab22e23d1572c8d7ebc13e46399cd7..a21eb4cbe893e11a7eccfe4ae440e00a92a6542a 100644 (file)
        spi {
                status = "disabled";
        };
+
+       fixed-rate-clocks {
+               xtal {
+                       compatible = "samsung,clock-xtal";
+                       clock-frequency = <50000000>;
+               };
+       };
 };