commit | b6555331b18e53657920bf1a95540993cfa59148 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Wed Nov 30 15:52:42 2022 +0800 |
committer | developer <developer@mediatek.com> | Wed Nov 30 17:33:21 2022 +0800 |
tree | 46e8af9267d8578de6d97184b56422c662fa3a08 | |
parent | bf24a8ab81c0383bf51bf68c38b1c420408ddc84 [diff] |
[][kernel][mt7988][cpu][Add PMU node to dts] [Description] Add PMU node to dts. If without this patch, perf cannot monitor CPU hardware events. [Release-log] N/A Change-Id: I8b1ed2da4a8f6c810a86b6f1ee2c0a35851d7dba Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6855313
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi index 28e3002..e7f5b6d 100644 --- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi +++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi
@@ -112,6 +112,12 @@ }; }; + pmu { + compatible = "arm,cortex-a73-pmu"; + interrupt-parent = <&gic>; + interrupt = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>; + }; + thermal-zones { cpu_thermal: cpu-thermal { polling-delay-passive = <1000>;