Skip to content

Commit b526c9a

Browse files
Dingqiang Linrkhuangtao
authored andcommitted
Documentation: bindings: adjust rockchip nandc compatible naming
Change-Id: I675492b321f6c4a658f0bf40c39bc32d231a5698 Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
1 parent 01faef7 commit b526c9a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • Documentation/devicetree/bindings/rkflash

Documentation/devicetree/bindings/rkflash/nandc.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
Rockchip NANDC Controller for SOC
22

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

1314
Examples:
1415
nandc: nandc@30100000 {
15-
compatible = "rockchip,nandc";
16-
reg = <0x30100000 0x1000>;
16+
compatible = "rockchip,rk-nandc";
17+
reg = <0x0 0xff4b0000 0x0 0x4000>;
1718
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
19+
nandc_id = <0>;
1820
clocks = <&clk_nandc>, <&clk_gates15 3>, <&clk_gates5 3>;
1921
clock-names = "clk_nandc", "hclk_nandc", "g_clk_nandc";
2022
status = "disabled";

0 commit comments

Comments
 (0)