mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
4ad3ad1899
Add compatible and description for i.MX8MP. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20200116161100.30637-2-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
Freescale i.MX6 On-Chip OTP Controller (OCOTP) device tree bindings
|
|
|
|
This binding represents the on-chip eFuse OTP controller found on
|
|
i.MX6Q/D, i.MX6DL/S, i.MX6SL, i.MX6SX, i.MX6UL, i.MX6ULL/ULZ, i.MX6SLL,
|
|
i.MX7D/S, i.MX7ULP, i.MX8MQ, i.MX8MM, i.MX8MN and i.MX8MP SoCs.
|
|
|
|
Required properties:
|
|
- compatible: should be one of
|
|
"fsl,imx6q-ocotp" (i.MX6Q/D/DL/S),
|
|
"fsl,imx6sl-ocotp" (i.MX6SL), or
|
|
"fsl,imx6sx-ocotp" (i.MX6SX),
|
|
"fsl,imx6ul-ocotp" (i.MX6UL),
|
|
"fsl,imx6ull-ocotp" (i.MX6ULL/ULZ),
|
|
"fsl,imx7d-ocotp" (i.MX7D/S),
|
|
"fsl,imx6sll-ocotp" (i.MX6SLL),
|
|
"fsl,imx7ulp-ocotp" (i.MX7ULP),
|
|
"fsl,imx8mq-ocotp" (i.MX8MQ),
|
|
"fsl,imx8mm-ocotp" (i.MX8MM),
|
|
"fsl,imx8mn-ocotp" (i.MX8MN),
|
|
"fsl,imx8mp-ocotp" (i.MX8MP),
|
|
followed by "syscon".
|
|
- #address-cells : Should be 1
|
|
- #size-cells : Should be 1
|
|
- reg: Should contain the register base and length.
|
|
- clocks: Should contain a phandle pointing to the gated peripheral clock.
|
|
|
|
Optional properties:
|
|
- read-only: disable write access
|
|
|
|
Optional Child nodes:
|
|
|
|
- Data cells of ocotp:
|
|
Detailed bindings are described in bindings/nvmem/nvmem.txt
|
|
|
|
Example:
|
|
ocotp: ocotp@21bc000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "fsl,imx6sx-ocotp", "syscon";
|
|
reg = <0x021bc000 0x4000>;
|
|
clocks = <&clks IMX6SX_CLK_OCOTP>;
|
|
|
|
tempmon_calib: calib@38 {
|
|
reg = <0x38 4>;
|
|
};
|
|
|
|
tempmon_temp_grade: temp-grade@20 {
|
|
reg = <0x20 4>;
|
|
};
|
|
};
|