devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH v4 7/8] ARM64: dts: meson-gxbb: Add SRAM node
           [not found] <1475652814-30619-1-git-send-email-narmstrong@baylibre.com>
           [not found] ` <1475652814-30619-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
    @ 2016-10-05  7:33 ` Neil Armstrong
      2016-10-05  7:33 ` [PATCH v4 8/8] ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes Neil Armstrong
      2 siblings, 0 replies; 8+ messages in thread
    From: Neil Armstrong @ 2016-10-05  7:33 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 | 9 +++++++++
     1 file changed, 9 insertions(+)
    
    diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
    index 443811b..88f98f5 100644
    --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
    +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
    @@ -94,6 +94,15 @@
     			status = "disabled";
     		};
     
    +		sram: sram@c8000000 {
    +			compatible = "amlogic,meson-gxbb-sram", "mmio-sram";
    +			reg = <0x0 0xc8000000 0x0 0x14000>;
    +
    +			#address-cells = <1>;
    +			#size-cells = <1>;
    +			ranges = <0 0x0 0xc8000000 0x14000>;
    +		};
    +
     		usb0: usb@c9000000 {
     			compatible = "amlogic,meson-gxbb-usb", "snps,dwc2";
     			reg = <0x0 0xc9000000 0x0 0x40000>;
    -- 
    1.9.1
    
    ^ permalink raw reply related	[flat|nested] 8+ messages in thread
  • * [PATCH v4 8/8] ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes
           [not found] <1475652814-30619-1-git-send-email-narmstrong@baylibre.com>
           [not found] ` <1475652814-30619-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
      2016-10-05  7:33 ` [PATCH v4 7/8] ARM64: dts: meson-gxbb: Add SRAM node Neil Armstrong
    @ 2016-10-05  7:33 ` Neil Armstrong
      2 siblings, 0 replies; 8+ messages in thread
    From: Neil Armstrong @ 2016-10-05  7:33 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 | 48 +++++++++++++++++++++++++++++
     1 file changed, 48 insertions(+)
    
    diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
    index 88f98f5..3fdb2d7 100644
    --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
    +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
    @@ -74,6 +74,28 @@
     		};
     	};
     
    +	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>;
    +		};
    +	};
    +
     	soc {
     		usb0_phy: phy@c0000000 {
     			compatible = "amlogic,meson-gxbb-usb2-phy";
    @@ -101,6 +123,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>;
    +			};
     		};
     
     		usb0: usb@c9000000 {
    @@ -143,6 +175,22 @@
     	};
     };
     
    +&cpu0 {
    +	clocks = <&scpi_dvfs 0>;
    +};
    +
    +&cpu1 {
    +	clocks = <&scpi_dvfs 0>;
    +};
    +
    +&cpu2 {
    +	clocks = <&scpi_dvfs 0>;
    +};
    +
    +&cpu3 {
    +	clocks = <&scpi_dvfs 0>;
    +};
    +
     &cbus {
     	reset: reset-controller@4404 {
     		compatible = "amlogic,meson-gxbb-reset";
    -- 
    1.9.1
    
    ^ permalink raw reply related	[flat|nested] 8+ messages in thread

  • end of thread, other threads:[~2016-11-03  8:48 UTC | newest]
    
    Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1475652814-30619-1-git-send-email-narmstrong@baylibre.com>
         [not found] ` <1475652814-30619-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
    2016-10-05  7:33   ` [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface Neil Armstrong
         [not found]     ` <1475652814-30619-7-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
    2016-10-29 18:39       ` Olof Johansson
    2016-11-02 22:20         ` Sudeep Holla
    2016-11-03  3:51           ` Rob Herring
    2016-11-03  4:37             ` Sudeep Holla
         [not found]           ` <20161102222050.GA32189-/VhreBaVJnzZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
    2016-11-03  8:48             ` Neil Armstrong
    2016-10-05  7:33 ` [PATCH v4 7/8] ARM64: dts: meson-gxbb: Add SRAM node Neil Armstrong
    2016-10-05  7:33 ` [PATCH v4 8/8] 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).