devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH 13/13] ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes
           [not found] <1471515066-3626-1-git-send-email-narmstrong@baylibre.com>
           [not found] ` <1471515066-3626-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
    @ 2016-08-18 10:11 ` Neil Armstrong
      1 sibling, 0 replies; 4+ messages in thread
    From: Neil Armstrong @ 2016-08-18 10:11 UTC (permalink / raw)
      To: linux-arm-kernel, linux-kernel, sudeep.holla, devicetree
      Cc: Neil Armstrong, linux-amlogic, khilman, heiko, wxt, frank.wang
    
    Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
    ---
     arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 36 +++++++++++++++++++++++++++++
     1 file changed, 36 insertions(+)
    
    diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
    index 2748007..257845a 100644
    --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
    +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
    @@ -61,6 +61,7 @@
     			compatible = "arm,cortex-a53", "arm,armv8";
     			reg = <0x0 0x0>;
     			enable-method = "psci";
    +			clocks = <&scpi_dvfs 0>;
     		};
     
     		cpu1: cpu@1 {
    @@ -68,6 +69,7 @@
     			compatible = "arm,cortex-a53", "arm,armv8";
     			reg = <0x0 0x1>;
     			enable-method = "psci";
    +			clocks = <&scpi_dvfs 0>;
     		};
     
     		cpu2: cpu@2 {
    @@ -75,6 +77,7 @@
     			compatible = "arm,cortex-a53", "arm,armv8";
     			reg = <0x0 0x2>;
     			enable-method = "psci";
    +			clocks = <&scpi_dvfs 0>;
     		};
     
     		cpu3: cpu@3 {
    @@ -82,6 +85,7 @@
     			compatible = "arm,cortex-a53", "arm,armv8";
     			reg = <0x0 0x3>;
     			enable-method = "psci";
    +			clocks = <&scpi_dvfs 0>;
     		};
     	};
     
    @@ -99,6 +103,28 @@
     		method = "smc";
     	};
     
    +	scpi {
    +		compatible = "amlogic,meson-gxbb-scpi";
    +		mboxes = <&mailbox 1 &mailbox 2>;
    +		shmem = <&cpu_scp_lpri &cpu_scp_hpri>;
    +
    +		clocks {
    +			compatible = "arm,scpi-clocks";
    +
    +			scpi_dvfs: scpi_clocks@0 {
    +				compatible = "arm,scpi-dvfs-clocks";
    +				#clock-cells = <1>;
    +				clock-indices = <0>;
    +				clock-output-names = "vcpu";
    +			};
    +		};
    +
    +		scpi_sensors: sensors {
    +			compatible = "arm,scpi-sensors";
    +			#thermal-sensor-cells = <1>;
    +		};
    +	};
    +
     	timer {
     		compatible = "arm,armv8-timer";
     		interrupts = <GIC_PPI 13
    @@ -131,6 +157,16 @@
     			#address-cells = <1>;
     			#size-cells = <1>;
     			ranges = <0 0x0 0xc8000000 0x14000>;
    +
    +			cpu_scp_lpri: scp-shmem@0 {
    +				compatible = "amlogic,meson-gxbb-scp-shmem";
    +				reg = <0x13000 0x400>;
    +			};
    +
    +			cpu_scp_hpri: scp-shmem@200 {
    +				compatible = "amlogic,meson-gxbb-scp-shmem";
    +				reg = <0x13400 0x400>;
    +			};
     		};
     
     		cbus: cbus@c1100000 {
    -- 
    1.9.1
    
    ^ permalink raw reply related	[flat|nested] 4+ messages in thread

  • end of thread, other threads:[~2016-08-19 13:45 UTC | newest]
    
    Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1471515066-3626-1-git-send-email-narmstrong@baylibre.com>
         [not found] ` <1471515066-3626-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
    2016-08-18 10:11   ` [PATCH 11/13] dt-bindings: Add support for Amlogic GXBB SCPI Interface Neil Armstrong
         [not found]     ` <1471515066-3626-12-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
    2016-08-19 13:45       ` Rob Herring
    2016-08-18 10:11   ` [PATCH 12/13] ARM64: dts: meson-gxbb: Add SRAM node Neil Armstrong
    2016-08-18 10:11 ` [PATCH 13/13] ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes Neil Armstrong
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).