]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Add the devicetree node for ocm apm node
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Thu, 1 Mar 2018 09:42:27 +0000 (15:12 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 23 Apr 2018 06:57:39 +0000 (08:57 +0200)
Add the dt node for ocm apm.

Signed-off-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 e0cccc9c332dc70e2a1600f4818cf2949181e7a3..d1877d90ad98da3e5997a434e69d192db888e621 100644 (file)
        clocks = <&clk 62>;
 };
 
+&perf_monitor_ocm {
+       clocks = <&clk 31>;
+};
+
 &pcie {
        clocks = <&clk 23>;
 };
index f6e83e15132aa8fb407d726198753ec0873fdb33..873799f54b3562151479ee5852315476d1ac231a 100644 (file)
        clocks = <&clk100>;
 };
 
+&perf_monitor_ocm {
+       clocks = <&clk100>;
+};
+
 &qspi {
        clocks = <&clk300 &clk300>;
 };
index 0527ff3bb585cfb2a841f40269913a66f79f5385..719633668c99cacb21412c7838be12693ac4ce90 100644 (file)
                        interrupts = <0 10 4>;
                };
 
+               perf_monitor_ocm: perf-monitor@ffa00000 {
+                       compatible = "xlnx,axi-perf-monitor";
+                       reg = <0x0 0xffa00000 0x0 0x10000>;
+                       interrupts = <0 25 4>;
+                       interrupt-parent = <&gic>;
+                       xlnx,enable-profile = <0>;
+                       xlnx,enable-trace = <0>;
+                       xlnx,num-monitor-slots = <4>;
+                       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";