[V2 2/2] arm64: dts: Add dts files for Hisilicon Hi3660 SoC
Mark Rutland
mark.rutland at arm.com
Mon Jan 23 05:46:57 PST 2017
On Tue, Jan 10, 2017 at 03:55:15PM +0800, Chen Feng wrote:
> + memory at 0 {
> + device_type = "memory";
> + reg = <0x0 0x00400000 0x0 0xbfe00000>;
> + };
The unit-address here is incorrect. The base address of this memory is
not zero.
> + timer {
> + compatible = "arm,armv8-timer";
> + interrupt-parent = <&gic>;
> + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
> + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
> + <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
> + <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
> + clock-frequency = <1920000>;
> + };
This clock-frequency property should not be required; please remove it.
Your FW should program CNTFRQ_EL0 with the timer frequency.
Thanks,
Mark.
More information about the linux-arm-kernel
mailing list