]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Add in lpd, cci, ddr axi perf monitors
authorDaniel Steger <daniel.steger@xilinx.com>
Fri, 11 Jan 2019 22:08:23 +0000 (14:08 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Feb 2019 07:53:07 +0000 (08:53 +0100)
The current zynqmp.dtsi does not include the axi performance
monitors for the lpd, cci, or ddr. This set of patches adds
in the missing dt entries for the ps apms.

Signed-off-by: Daniel Steger <daniel.steger@xilinx.com>
Reviewed-by: Shubhrajyoti Datta <Shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-clk-ccf.dtsi
arch/arm/dts/zynqmp-clk.dtsi
arch/arm/dts/zynqmp.dtsi

index 979a32b7a17217393d967589b278dd4a33fa59c6..dc881b609cb32af2757a5e81084ce80330d464e3 100644 (file)
        clocks = <&clk 31>;
 };
 
+&perf_monitor_ddr {
+       clocks = <&clk 28>;
+};
+
+&perf_monitor_cci {
+       clocks = <&clk 28>;
+};
+
+&perf_monitor_lpd {
+       clocks = <&clk 31>;
+};
+
 &pcie {
        clocks = <&clk 23>;
 };
index ef6fc8efde33fab4e0f5b504e9a0e68b08be5e11..1f45f4290592d767d0243e3930dbc4f730e91f24 100644 (file)
        clocks = <&clk100>;
 };
 
+&perf_monitor_ddr {
+       clocks = <&clk100>;
+};
+
+&perf_monitor_cci {
+       clocks = <&clk100>;
+};
+
+&perf_monitor_lpd {
+       clocks = <&clk100>;
+};
+
 &qspi {
        clocks = <&clk300 &clk300>;
 };
index 9a035b227a9aac2bffb8f5633752db358e5db4d5..ff5a2314bfe663e401629c0d9543c5bc4907e367 100644 (file)
                        xlnx,metric-count-scale = <1>;
                };
 
+               perf_monitor_ddr: perf-monitor@fd0b0000 {
+                       compatible = "xlnx,axi-perf-monitor";
+                       reg = <0x0 0xfd0b0000 0x0 0x10000>;
+                       interrupts = <0 27 4>;
+                       interrupt-parent = <&gic>;
+                       xlnx,enable-profile = <0>;
+                       xlnx,enable-trace = <0>;
+                       xlnx,num-monitor-slots = <6>;
+                       xlnx,enable-event-count = <1>;
+                       xlnx,enable-event-log = <0>;
+                       xlnx,have-sampled-metric-cnt = <1>;
+                       xlnx,num-of-counters = <10>;
+                       xlnx,metric-count-width = <32>;
+                       xlnx,metrics-sample-count-width = <32>;
+                       xlnx,global-count-width = <32>;
+                       xlnx,metric-count-scale = <1>;
+               };
+
+               perf_monitor_cci: perf-monitor@fd490000 {
+                       compatible = "xlnx,axi-perf-monitor";
+                       reg = <0x0 0xfd490000 0x0 0x10000>;
+                       interrupts = <0 27 4>;
+                       interrupt-parent = <&gic>;
+                       xlnx,enable-profile = <0>;
+                       xlnx,enable-trace = <0>;
+                       xlnx,num-monitor-slots = <1>;
+                       xlnx,enable-event-count = <1>;
+                       xlnx,enable-event-log = <0>;
+                       xlnx,have-sampled-metric-cnt = <1>;
+                       xlnx,num-of-counters = <8>;
+                       xlnx,metric-count-width = <32>;
+                       xlnx,metrics-sample-count-width = <32>;
+                       xlnx,global-count-width = <32>;
+                       xlnx,metric-count-scale = <1>;
+               };
+
+               perf_monitor_lpd: perf-monitor@ffa10000 {
+                       compatible = "xlnx,axi-perf-monitor";
+                       reg = <0x0 0xffa10000 0x0 0x10000>;
+                       interrupts = <0 25 4>;
+                       interrupt-parent = <&gic>;
+                       xlnx,enable-profile = <0>;
+                       xlnx,enable-trace = <0>;
+                       xlnx,num-monitor-slots = <1>;
+                       xlnx,enable-event-count = <1>;
+                       xlnx,enable-event-log = <1>;
+                       xlnx,have-sampled-metric-cnt = <1>;
+                       xlnx,num-of-counters = <8>;
+                       xlnx,metric-count-width = <32>;
+                       xlnx,metrics-sample-count-width = <32>;
+                       xlnx,global-count-width = <32>;
+                       xlnx,metric-count-scale = <1>;
+               };
+
                pcie: pcie@fd0e0000 {
                        compatible = "xlnx,nwl-pcie-2.11";
                        status = "disabled";