|
@@ -8,6 +8,9 @@ Required properties:
|
|
- reg : should contain registers location and length for data and reg.
|
|
- reg : should contain registers location and length for data and reg.
|
|
- reg-names: Should contain the reg names "nand_data" and "denali_reg"
|
|
- reg-names: Should contain the reg names "nand_data" and "denali_reg"
|
|
- interrupts : The interrupt number.
|
|
- interrupts : The interrupt number.
|
|
|
|
+ - clocks: should contain phandle of the controller core clock, the bus
|
|
|
|
+ interface clock, and the ECC circuit clock.
|
|
|
|
+ - clock-names: should contain "nand", "nand_x", "ecc"
|
|
|
|
|
|
Optional properties:
|
|
Optional properties:
|
|
- nand-ecc-step-size: see nand.txt for details. If present, the value must be
|
|
- nand-ecc-step-size: see nand.txt for details. If present, the value must be
|
|
@@ -31,5 +34,7 @@ nand: nand@ff900000 {
|
|
compatible = "altr,socfpga-denali-nand";
|
|
compatible = "altr,socfpga-denali-nand";
|
|
reg = <0xff900000 0x20>, <0xffb80000 0x1000>;
|
|
reg = <0xff900000 0x20>, <0xffb80000 0x1000>;
|
|
reg-names = "nand_data", "denali_reg";
|
|
reg-names = "nand_data", "denali_reg";
|
|
|
|
+ clocks = <&nand_clk>, <&nand_x_clk>, <&nand_ecc_clk>;
|
|
|
|
+ clock-names = "nand", "nand_x", "ecc";
|
|
interrupts = <0 144 4>;
|
|
interrupts = <0 144 4>;
|
|
};
|
|
};
|