dt-bindings: Add bindings for Broadcom STB DRAM Sensors
authorMarkus Mayer <mmayer@broadcom.com>
Thu, 24 Aug 2017 23:36:25 +0000 (16:36 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 18 Sep 2017 18:59:38 +0000 (11:59 -0700)
Provide bindings for the Broadcom STB DDR PHY Front End (DPFE).

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.txt b/Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.txt
new file mode 100644 (file)
index 0000000..82d923e
--- /dev/null
@@ -0,0 +1,27 @@
+DDR PHY Front End (DPFE) for Broadcom STB
+=========================================
+
+DPFE and the DPFE firmware provide an interface for the host CPU to
+communicate with the DCPU, which resides inside the DDR PHY.
+
+There are three memory regions for interacting with the DCPU. These are
+specified in a single reg property.
+
+Required properties:
+  - compatible: must be "brcm,bcm7271-dpfe-cpu", "brcm,bcm7268-dpfe-cpu"
+    or "brcm,dpfe-cpu"
+  - reg: must reference three register ranges
+      - start address and length of the DCPU register space
+      - start address and length of the DCPU data memory space
+      - start address and length of the DCPU instruction memory space
+  - reg-names: must contain "dpfe-cpu", "dpfe-dmem", and "dpfe-imem";
+        they must be in the same order as the register declarations
+
+Example:
+       dpfe_cpu0: dpfe-cpu@f1132000 {
+               compatible = "brcm,bcm7271-dpfe-cpu", "brcm,dpfe-cpu";
+               reg =  <0xf1132000 0x180
+                       0xf1134000 0x1000
+                       0xf1138000 0x4000>;
+               reg-names = "dpfe-cpu", "dpfe-dmem", "dpfe-imem";
+       };