soc: rockchip: add cpuinfo support
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / soc / rockchip / rockchip-cpuinfo.txt
diff --git a/Documentation/devicetree/bindings/soc/rockchip/rockchip-cpuinfo.txt b/Documentation/devicetree/bindings/soc/rockchip/rockchip-cpuinfo.txt
new file mode 100644 (file)
index 0000000..2e80be3
--- /dev/null
@@ -0,0 +1,16 @@
+Rockchip cpuinfo device tree bindings
+----------------------------------
+
+Required properties:
+- compatible: Should be one of the following.
+ - "rockchip,cpuinfo"
+- nvmem-cells: A phandle to the ID data provided by a nvmem device.
+- nvmem-cell-names: Should be "id"
+
+Example:
+
+cpuinfo {
+       compatible = "rockchip,cpuinfo";
+       nvmem-cells = <&efuse_id>;
+       nvmem-cell-names = "id";
+};