ARM: tegra: remove clock-frequency properties from serial nodes
authorStephen Warren <swarren@nvidia.com>
Tue, 12 Feb 2013 17:26:45 +0000 (10:26 -0700)
committerStephen Warren <swarren@nvidia.com>
Wed, 13 Feb 2013 18:17:02 +0000 (11:17 -0700)
Currently, the serial nodes define both a clock-frequency and a clocks
property. We should not provide both, since they might conflict.

In practice, this also causes problems since the of_serial driver uses
the clock-frequency property in preference to the clocks property, and
hence doesn't clk_prepare_enable() the clock, which may then leave it
with no known users, and hence the common clock framework will disable
it, thus breaking the port, which is usually the console.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30.dtsi

index cdb8da0b69833f6f3084b5c7a48f7db7a5b80311..9a428931d0429d2befef3d6d3084b7499eeb3a02 100644 (file)
                reg = <0x70006000 0x40>;
                reg-shift = <2>;
                interrupts = <0 36 0x04>;
-               clock-frequency = <216000000>;
                nvidia,dma-request-selector = <&apbdma 8>;
                clocks = <&tegra_car 6>;
                status = "disabled";
                reg = <0x70006040 0x40>;
                reg-shift = <2>;
                interrupts = <0 37 0x04>;
-               clock-frequency = <216000000>;
                nvidia,dma-request-selector = <&apbdma 9>;
                clocks = <&tegra_car 96>;
                status = "disabled";
                reg = <0x70006200 0x100>;
                reg-shift = <2>;
                interrupts = <0 46 0x04>;
-               clock-frequency = <216000000>;
                nvidia,dma-request-selector = <&apbdma 10>;
                clocks = <&tegra_car 55>;
                status = "disabled";
                reg = <0x70006300 0x100>;
                reg-shift = <2>;
                interrupts = <0 90 0x04>;
-               clock-frequency = <216000000>;
                nvidia,dma-request-selector = <&apbdma 19>;
                clocks = <&tegra_car 65>;
                status = "disabled";
                reg = <0x70006400 0x100>;
                reg-shift = <2>;
                interrupts = <0 91 0x04>;
-               clock-frequency = <216000000>;
                nvidia,dma-request-selector = <&apbdma 20>;
                clocks = <&tegra_car 66>;
                status = "disabled";
index 572a45bab93be3c2e150a315cd57f9813bd367e0..767803e1fd55f2d6e75053527e47a26d536e4f77 100644 (file)
                reg = <0x70006000 0x40>;
                reg-shift = <2>;
                interrupts = <0 36 0x04>;
-               clock-frequency = <408000000>;
                nvidia,dma-request-selector = <&apbdma 8>;
                clocks = <&tegra_car 6>;
                status = "disabled";
                compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
                reg = <0x70006040 0x40>;
                reg-shift = <2>;
-               clock-frequency = <408000000>;
                interrupts = <0 37 0x04>;
                nvidia,dma-request-selector = <&apbdma 9>;
                clocks = <&tegra_car 160>;
                compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
                reg = <0x70006200 0x100>;
                reg-shift = <2>;
-               clock-frequency = <408000000>;
                interrupts = <0 46 0x04>;
                nvidia,dma-request-selector = <&apbdma 10>;
                clocks = <&tegra_car 55>;
                compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
                reg = <0x70006300 0x100>;
                reg-shift = <2>;
-               clock-frequency = <408000000>;
                interrupts = <0 90 0x04>;
                nvidia,dma-request-selector = <&apbdma 19>;
                clocks = <&tegra_car 65>;
                compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
                reg = <0x70006400 0x100>;
                reg-shift = <2>;
-               clock-frequency = <408000000>;
                interrupts = <0 91 0x04>;
                nvidia,dma-request-selector = <&apbdma 20>;
                clocks = <&tegra_car 66>;