Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / nvmem / rockchip-otp.txt
1 Rockchip internal OTP (One Time Programmable) memory device tree bindings
2
3 Required 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
14 See nvmem.txt for more information.
15
16 Example:
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         };