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 11Optional properties: 12- resets: Must contain an entry for each entry in reset-names. 13 See ../../reset/reset.txt for details. 14- reset-names: Should be "phy". 15 16See nvmem.txt for more information. 17 18Example: 19 otp: otp@ff290000 { 20 compatible = "rockchip,px30-otp"; 21 reg = <0x0 0xff290000 0x0 0x4000>; 22 #address-cells = <1>; 23 #size-cells = <1>; 24 clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>, 25 <&cru PCLK_OTP_PHY>; 26 clock-names = "otp", "apb_pclk", "phy"; 27 }; 28