mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
dt-bindings: add binding document for Rockchip otp
This patch documents the Rockchip otp device tree binding. Change-Id: I90dc6110c386bd0fab3b9531d857514b300c81df Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
23
Documentation/devicetree/bindings/nvmem/rockchip-otp.txt
Normal file
23
Documentation/devicetree/bindings/nvmem/rockchip-otp.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
Rockchip internal OTP (One Time Programmable) memory device tree bindings
|
||||
|
||||
Required properties:
|
||||
- compatible: Should be "rockchip,px30-otp"
|
||||
- reg: Must contain an entry with the physical base address and length
|
||||
for each entry in reg-names.
|
||||
- address-cells: must be set to 1.
|
||||
- size-cells: must be set to 1.
|
||||
- clocks: Must contain an entry for each entry in clock-names.
|
||||
- clock-names: Should be "clk_opt", "pclk_otp" and "pclk_otp_phy".
|
||||
|
||||
See nvmem.txt for more information.
|
||||
|
||||
Example:
|
||||
otp: otp@ff290000 {
|
||||
compatible = "rockchip,px30-otp";
|
||||
reg = <0x0 0xff290000 0x0 0x4000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&cru SCLK_OTP_USR>, <&cru PCLK_OTP_NS>,
|
||||
<&cru PCLK_OTP_PHY>;
|
||||
clock-names = "clk_opt", "pclk_otp", "pclk_otp_phy";
|
||||
};
|
||||
Reference in New Issue
Block a user