dt-bindings: nvmem: imx-ocotp: update the binding to reflect data cells
imx-ocotp is implemented based on nvmem which can have data cells as child node. Update the binding doc to reflect it to be more easily understood by users. Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0ab09d651b
commit
a1078b440f
|
@ -11,17 +11,32 @@ Required properties:
|
||||||
"fsl,imx6ul-ocotp" (i.MX6UL),
|
"fsl,imx6ul-ocotp" (i.MX6UL),
|
||||||
"fsl,imx7d-ocotp" (i.MX7D/S),
|
"fsl,imx7d-ocotp" (i.MX7D/S),
|
||||||
followed by "syscon".
|
followed by "syscon".
|
||||||
|
- #address-cells : Should be 1
|
||||||
|
- #size-cells : Should be 1
|
||||||
- reg: Should contain the register base and length.
|
- reg: Should contain the register base and length.
|
||||||
- clocks: Should contain a phandle pointing to the gated peripheral clock.
|
- clocks: Should contain a phandle pointing to the gated peripheral clock.
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
- read-only: disable write access
|
- read-only: disable write access
|
||||||
|
|
||||||
Example:
|
Optional Child nodes:
|
||||||
|
|
||||||
|
- Data cells of ocotp:
|
||||||
|
Detailed bindings are described in bindings/nvmem/nvmem.txt
|
||||||
|
|
||||||
|
Example:
|
||||||
ocotp: ocotp@21bc000 {
|
ocotp: ocotp@21bc000 {
|
||||||
compatible = "fsl,imx6q-ocotp", "syscon";
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
compatible = "fsl,imx6sx-ocotp", "syscon";
|
||||||
reg = <0x021bc000 0x4000>;
|
reg = <0x021bc000 0x4000>;
|
||||||
clocks = <&clks IMX6QDL_CLK_IIM>;
|
clocks = <&clks IMX6SX_CLK_OCOTP>;
|
||||||
read-only;
|
|
||||||
|
tempmon_calib: calib@38 {
|
||||||
|
reg = <0x38 4>;
|
||||||
|
};
|
||||||
|
|
||||||
|
tempmon_temp_grade: temp-grade@20 {
|
||||||
|
reg = <0x20 4>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue