xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/rockchip-otp.txt (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1Rockchip internal OTP (One Time Programmable) memory device tree bindings
2
3Required properties:
4- compatible: Should be one of the following.
5  - "rockchip,px30-otp" - for PX30 SoCs.
6  - "rockchip,rk3308-otp" - for RK3308 SoCs.
7- reg: Should contain the registers location and size
8- clocks: Must contain an entry for each entry in clock-names.
9- clock-names: Should be "otp", "apb_pclk" and "phy".
10- resets: Must contain an entry for each entry in reset-names.
11  See ../../reset/reset.txt for details.
12- reset-names: Should be "phy".
13
14See nvmem.txt for more information.
15
16Example:
17	otp: otp@ff290000 {
18		compatible = "rockchip,px30-otp";
19		reg = <0x0 0xff290000 0x0 0x4000>;
20		#address-cells = <1>;
21		#size-cells = <1>;
22		clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
23			 <&cru PCLK_OTP_PHY>;
24		clock-names = "otp", "apb_pclk", "phy";
25	};
26