ARM: dts: alpine: add valid clock-frequency values
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Wed, 29 Mar 2017 09:38:27 +0000 (11:38 +0200)
committerAntoine Tenart <antoine.tenart@free-electrons.com>
Mon, 3 Apr 2017 07:06:55 +0000 (09:06 +0200)
Update the Alpine clock-frequency values with valid default values. The
bootloader can still update these values if needed, but at least we can
boot if it does not.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
arch/arm/boot/dts/alpine.dtsi

index d84bd79..731df7a 100644 (file)
                        compatible = "arm,cortex-a15";
                        device_type = "cpu";
                        reg = <0>;
-                       clock-frequency = <0>; /* Filled by loader */
+                       clock-frequency = <1700000000>;
                };
 
                cpu@1 {
                        compatible = "arm,cortex-a15";
                        device_type = "cpu";
                        reg = <1>;
-                       clock-frequency = <0>; /* Filled by loader */
+                       clock-frequency = <1700000000>;
                };
 
                cpu@2 {
                        compatible = "arm,cortex-a15";
                        device_type = "cpu";
                        reg = <2>;
-                       clock-frequency = <0>; /* Filled by loader */
+                       clock-frequency = <1700000000>;
                };
 
                cpu@3 {
                        compatible = "arm,cortex-a15";
                        device_type = "cpu";
                        reg = <3>;
-                       clock-frequency = <0>; /* Filled by loader */
+                       clock-frequency = <1700000000>;
                };
        };
 
@@ -81,7 +81,7 @@
                                <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
                                <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
                                <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
-                       clock-frequency = <0>; /* Filled by loader */
+                       clock-frequency = <50000000>;
                };
 
                /* Interrupt Controller */
                uart0: uart@fd883000 {
                        compatible = "ns16550a";
                        reg = <0x0 0xfd883000 0x0 0x1000>;
-                       clock-frequency = <0>; /* Filled by loader */
+                       clock-frequency = <375000000>;
                        interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
                uart1: uart@fd884000 {
                        compatible = "ns16550a";
                        reg = <0x0 0xfd884000 0x0 0x1000>;
-                       clock-frequency = <0>; /* Filled by loader */
+                       clock-frequency = <375000000>;
                        interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
                        reg-shift = <2>;
                        reg-io-width = <4>;