Path: blob/main/sys/contrib/device-tree/Bindings/firmware/nvidia,tegra186-bpmp.txt
48377 views
NVIDIA Tegra Boot and Power Management Processor (BPMP)12The BPMP is a specific processor in Tegra chip, which is designed for3booting process handling and offloading the power management, clock4management, and reset control tasks from the CPU. The binding document5defines the resources that would be used by the BPMP firmware driver,6which can create the interprocessor communication (IPC) between the CPU7and BPMP.89Required properties:10- compatible11Array of strings12One of:13- "nvidia,tegra186-bpmp"14- mboxes : The phandle of mailbox controller and the mailbox specifier.15- shmem : List of the phandle of the TX and RX shared memory area that16the IPC between CPU and BPMP is based on.17- #clock-cells : Should be 1.18- #power-domain-cells : Should be 1.19- #reset-cells : Should be 1.2021This node is a mailbox consumer. See the following files for details of22the mailbox subsystem, and the specifiers implemented by the relevant23provider(s):2425- .../mailbox/mailbox.txt26- .../mailbox/nvidia,tegra186-hsp.txt2728This node is a clock, power domain, and reset provider. See the following29files for general documentation of those features, and the specifiers30implemented by this node:3132- .../clock/clock-bindings.txt33- <dt-bindings/clock/tegra186-clock.h>34- ../power/power-domain.yaml35- <dt-bindings/power/tegra186-powergate.h>36- .../reset/reset.txt37- <dt-bindings/reset/tegra186-reset.h>3839The BPMP implements some services which must be represented by separate nodes.40For example, it can provide access to certain I2C controllers, and the I2C41bindings represent each I2C controller as a device tree node. Such nodes should42be nested directly inside the main BPMP node.4344Software can determine whether a child node of the BPMP node represents a device45by checking for a compatible property. Any node with a compatible property46represents a device that can be instantiated. Nodes without a compatible47property may be used to provide configuration information regarding the BPMP48itself, although no such configuration nodes are currently defined by this49binding.5051The BPMP firmware defines no single global name-/numbering-space for such52services. Put another way, the numbering scheme for I2C buses is distinct from53the numbering scheme for any other service the BPMP may provide (e.g. a future54hypothetical SPI bus service). As such, child device nodes will have no reg55property, and the BPMP node will have no #address-cells or #size-cells property.5657The shared memory bindings for BPMP58-----------------------------------5960The shared memory area for the IPC TX and RX between CPU and BPMP are61predefined and work on top of sysram, which is an SRAM inside the chip.6263See ".../sram/sram.txt" for the bindings.6465Example:6667hsp_top0: hsp@3c00000 {68...69#mbox-cells = <2>;70};7172sysram@30000000 {73compatible = "nvidia,tegra186-sysram", "mmio-sram";74reg = <0x0 0x30000000 0x0 0x50000>;75#address-cells = <2>;76#size-cells = <2>;77ranges = <0 0x0 0x0 0x30000000 0x0 0x50000>;7879cpu_bpmp_tx: shmem@4e000 {80compatible = "nvidia,tegra186-bpmp-shmem";81reg = <0x0 0x4e000 0x0 0x1000>;82label = "cpu-bpmp-tx";83pool;84};8586cpu_bpmp_rx: shmem@4f000 {87compatible = "nvidia,tegra186-bpmp-shmem";88reg = <0x0 0x4f000 0x0 0x1000>;89label = "cpu-bpmp-rx";90pool;91};92};9394bpmp {95compatible = "nvidia,tegra186-bpmp";96mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB TEGRA_HSP_DB_MASTER_BPMP>;97shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;98#clock-cells = <1>;99#power-domain-cells = <1>;100#reset-cells = <1>;101102i2c {103compatible = "...";104...105};106};107108109