2020-04-21 07:09:39 -07:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/nvmem/imx-ocotp.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
2023-06-11 07:03:24 -07:00
|
|
|
title: Freescale i.MX On-Chip OTP Controller (OCOTP)
|
2020-04-21 07:09:39 -07:00
|
|
|
|
|
|
|
maintainers:
|
2024-06-16 23:58:28 -07:00
|
|
|
- Shawn Guo <shawnguo@kernel.org>
|
|
|
|
- Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
- Fabio Estevam <festevam@gmail.com>
|
2020-04-21 07:09:39 -07:00
|
|
|
|
|
|
|
description: |
|
|
|
|
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,
|
2024-09-02 07:29:44 -07:00
|
|
|
i.MX7D/S, i.MX7ULP, i.MX8MQ, i.MX8MM, i.MX8MN i.MX8MP and i.MX93/5 SoCs.
|
2020-04-21 07:09:39 -07:00
|
|
|
|
|
|
|
allOf:
|
2023-04-04 10:21:33 -07:00
|
|
|
- $ref: nvmem.yaml#
|
2023-10-20 03:55:42 -07:00
|
|
|
- $ref: nvmem-deprecated-cells.yaml#
|
2020-04-21 07:09:39 -07:00
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
2020-09-04 08:23:58 -07:00
|
|
|
oneOf:
|
|
|
|
- items:
|
|
|
|
- enum:
|
|
|
|
- fsl,imx6q-ocotp
|
|
|
|
- fsl,imx6sl-ocotp
|
|
|
|
- fsl,imx6sx-ocotp
|
|
|
|
- fsl,imx6ul-ocotp
|
|
|
|
- fsl,imx6ull-ocotp
|
|
|
|
- fsl,imx7d-ocotp
|
|
|
|
- fsl,imx6sll-ocotp
|
|
|
|
- fsl,imx7ulp-ocotp
|
|
|
|
- fsl,imx8mq-ocotp
|
|
|
|
- fsl,imx8mm-ocotp
|
2023-06-11 07:03:24 -07:00
|
|
|
- fsl,imx93-ocotp
|
2024-09-02 07:29:44 -07:00
|
|
|
- fsl,imx95-ocotp
|
2020-09-04 08:23:58 -07:00
|
|
|
- const: syscon
|
|
|
|
- items:
|
|
|
|
- enum:
|
|
|
|
- fsl,imx8mn-ocotp
|
|
|
|
# i.MX8MP not really compatible with fsl,imx8mm-ocotp, however
|
|
|
|
# the code for getting SoC revision depends on fsl,imx8mm-ocotp
|
|
|
|
# compatible.
|
|
|
|
- fsl,imx8mp-ocotp
|
|
|
|
- const: fsl,imx8mm-ocotp
|
|
|
|
- const: syscon
|
2020-04-21 07:09:39 -07:00
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
clocks:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
required:
|
|
|
|
- "#address-cells"
|
|
|
|
- "#size-cells"
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
|
2020-10-05 11:38:27 -07:00
|
|
|
unevaluatedProperties: false
|
|
|
|
|
2020-04-21 07:09:39 -07:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
#include <dt-bindings/clock/imx6sx-clock.h>
|
|
|
|
|
|
|
|
ocotp: efuse@21bc000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "fsl,imx6sx-ocotp", "syscon";
|
|
|
|
reg = <0x021bc000 0x4000>;
|
|
|
|
clocks = <&clks IMX6SX_CLK_OCOTP>;
|
|
|
|
|
|
|
|
cpu_speed_grade: speed-grade@10 {
|
|
|
|
reg = <0x10 4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
tempmon_calib: calib@38 {
|
|
|
|
reg = <0x38 4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
tempmon_temp_grade: temp-grade@20 {
|
|
|
|
reg = <0x20 4>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
...
|