From: Shubhrajyoti Datta Date: Thu, 1 Mar 2018 09:42:27 +0000 (+0530) Subject: arm64: zynqmp: Add the devicetree node for ocm apm node X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5b166169a6875878d1f8b91f2f904400b6a53d4;p=thirdparty%2Fu-boot.git arm64: zynqmp: Add the devicetree node for ocm apm node Add the dt node for ocm apm. Signed-off-by: Shubhrajyoti Datta Signed-off-by: Michal Simek --- diff --git a/arch/arm/dts/zynqmp-clk-ccf.dtsi b/arch/arm/dts/zynqmp-clk-ccf.dtsi index e0cccc9c332..d1877d90ad9 100644 --- a/arch/arm/dts/zynqmp-clk-ccf.dtsi +++ b/arch/arm/dts/zynqmp-clk-ccf.dtsi @@ -200,6 +200,10 @@ clocks = <&clk 62>; }; +&perf_monitor_ocm { + clocks = <&clk 31>; +}; + &pcie { clocks = <&clk 23>; }; diff --git a/arch/arm/dts/zynqmp-clk.dtsi b/arch/arm/dts/zynqmp-clk.dtsi index f6e83e15132..873799f54b3 100644 --- a/arch/arm/dts/zynqmp-clk.dtsi +++ b/arch/arm/dts/zynqmp-clk.dtsi @@ -178,6 +178,10 @@ clocks = <&clk100>; }; +&perf_monitor_ocm { + clocks = <&clk100>; +}; + &qspi { clocks = <&clk300 &clk300>; }; diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 0527ff3bb58..719633668c9 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -802,6 +802,24 @@ 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";