Browse Source

ARM: shmobile: Document DT bindings for Product Register

Add device tree binding documentation for the Product Register (PRR),
which provides product and revision information on most Renesas ARM
SoCs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Geert Uytterhoeven 8 years ago
parent
commit
5384f45cd9
1 changed files with 18 additions and 0 deletions
  1. 18 0
      Documentation/devicetree/bindings/arm/shmobile.txt

+ 18 - 0
Documentation/devicetree/bindings/arm/shmobile.txt

@@ -75,3 +75,21 @@ Boards:
     compatible = "renesas,silk", "renesas,r8a7794"
     compatible = "renesas,silk", "renesas,r8a7794"
   - Wheat
   - Wheat
     compatible = "renesas,wheat", "renesas,r8a7792"
     compatible = "renesas,wheat", "renesas,r8a7792"
+
+
+Most Renesas ARM SoCs have a Product Register that allows to retrieve SoC
+product and revision information.  If present, a device node for this register
+should be added.
+
+Required properties:
+  - compatible: Must be "renesas,prr".
+  - reg: Base address and length of the register block.
+
+
+Examples
+--------
+
+	prr: chipid@ff000044 {
+		compatible = "renesas,prr";
+		reg = <0 0xff000044 0 4>;
+	};