• Frank Li's avatar
    ARM: dts: imx7d: add cortex-a7 coresight component · 3adab7c7
    Frank Li authored
    Added etm, etb, funnel and replicator
    
    usage example:
    
        echo 1 >/sys/bus/coresight/devices/30086000.etr/enable_sink
        echo 1 >/sys/bus/coresight/devices/3007c000.etm/enable_source
    
            coresight-tmc 30086000.etr: TMC enabled
            coresight-replicator replicator.1: REPLICATOR enabled
            coresight-tmc 30084000.tmc: TMC enabled
            coresight-funnel 30083000.funnel: FUNNEL inport 0 enabled
            coresight-funnel 30041000.funnel: FUNNEL inport 0 enabled
            coresight-etm3x 3007c000.etm: ETM tracing enabled
    
        etm enable here.
        trace data save at /dev/30086000.etr
    
        cat /dev/30086000.etr > trace.data
    
            coresight-tmc 30086000.etr: TMC read start
            coresight-tmc 30086000.etr: TMC read end
    
        use ptm2human(https://github.com/hwangcc23/ptm2human) to show trace data
    
        ptm2human -i trace.data
    Signed-off-by: default avatarFrank Li <Frank.Li@freescale.com>
    Acked-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
    Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
    3adab7c7
imx7d.dtsi 18.3 KB