Skip to content

Commit

Permalink
Documentation: bindings: adjust rockchip nandc compatible naming
Browse files Browse the repository at this point in the history
Change-Id: I675492b321f6c4a658f0bf40c39bc32d231a5698
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
  • Loading branch information
Dingqiang Lin authored and rkhuangtao committed Jun 12, 2018
1 parent 01faef7 commit b526c9a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Documentation/devicetree/bindings/rkflash/nandc.txt
@@ -1,9 +1,10 @@
Rockchip NANDC Controller for SOC

Required properties:
- compatible : "rockchip,nandc".
- compatible : "rockchip,rk-nandc".
- reg : shall contain registers location and length for data and reg.
- interrupts : shall define the nandc controller interrupt.
- nandc_id : shall reference the number of nandc controllers;
- clocks : shall reference nandc controller clocks.
- clock-names : nandc controller internal clock names. Shall contain :
* "clk_nandc" : nand controller clock
Expand All @@ -12,9 +13,10 @@ Required properties:

Examples:
nandc: nandc@30100000 {
compatible = "rockchip,nandc";
reg = <0x30100000 0x1000>;
compatible = "rockchip,rk-nandc";
reg = <0x0 0xff4b0000 0x0 0x4000>;
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
nandc_id = <0>;
clocks = <&clk_nandc>, <&clk_gates15 3>, <&clk_gates5 3>;
clock-names = "clk_nandc", "hclk_nandc", "g_clk_nandc";
status = "disabled";
Expand Down

0 comments on commit b526c9a

Please sign in to comment.