cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

stm32mp15-scmi.dtsi (1941B)


      1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
      2/*
      3 * Copyright (C) STMicroelectronics 2022 - All Rights Reserved
      4 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
      5 */
      6
      7/ {
      8	firmware {
      9		optee: optee {
     10			compatible = "linaro,optee-tz";
     11			method = "smc";
     12		};
     13
     14		scmi: scmi {
     15			compatible = "linaro,scmi-optee";
     16			#address-cells = <1>;
     17			#size-cells = <0>;
     18			linaro,optee-channel-id = <0>;
     19			shmem = <&scmi_shm>;
     20
     21			scmi_clk: protocol@14 {
     22				reg = <0x14>;
     23				#clock-cells = <1>;
     24			};
     25
     26			scmi_reset: protocol@16 {
     27				reg = <0x16>;
     28				#reset-cells = <1>;
     29			};
     30
     31			scmi_voltd: protocol@17 {
     32				reg = <0x17>;
     33
     34				scmi_reguls: regulators {
     35					#address-cells = <1>;
     36					#size-cells = <0>;
     37
     38					scmi_reg11: reg11@0 {
     39						reg = <0>;
     40						regulator-name = "reg11";
     41						regulator-min-microvolt = <1100000>;
     42						regulator-max-microvolt = <1100000>;
     43					};
     44
     45					scmi_reg18: reg18@1 {
     46						voltd-name = "reg18";
     47						reg = <1>;
     48						regulator-name = "reg18";
     49						regulator-min-microvolt = <1800000>;
     50						regulator-max-microvolt = <1800000>;
     51					};
     52
     53					scmi_usb33: usb33@2 {
     54						reg = <2>;
     55						regulator-name = "usb33";
     56						regulator-min-microvolt = <3300000>;
     57						regulator-max-microvolt = <3300000>;
     58					};
     59				};
     60			};
     61		};
     62	};
     63
     64	soc {
     65		scmi_sram: sram@2ffff000 {
     66			compatible = "mmio-sram";
     67			reg = <0x2ffff000 0x1000>;
     68			#address-cells = <1>;
     69			#size-cells = <1>;
     70			ranges = <0 0x2ffff000 0x1000>;
     71
     72			scmi_shm: scmi-sram@0 {
     73				compatible = "arm,scmi-shmem";
     74				reg = <0 0x80>;
     75			};
     76		};
     77	};
     78};
     79
     80&reg11 {
     81	status = "disabled";
     82};
     83
     84&reg18 {
     85	status = "disabled";
     86};
     87
     88&usb33 {
     89	status = "disabled";
     90};
     91
     92&usbotg_hs {
     93	usb33d-supply = <&scmi_usb33>;
     94};
     95
     96&usbphyc {
     97	vdda1v1-supply = <&scmi_reg11>;
     98	vdda1v8-supply = <&scmi_reg18>;
     99};
    100
    101/delete-node/ &clk_hse;
    102/delete-node/ &clk_hsi;
    103/delete-node/ &clk_lse;
    104/delete-node/ &clk_lsi;
    105/delete-node/ &clk_csi;