1 Macronix Raw NAND Controller Device Tree Bindi 1 Macronix Raw NAND Controller Device Tree Bindings 2 ---------------------------------------------- 2 ------------------------------------------------- 3 3 4 Required properties: 4 Required properties: 5 - compatible: should be "mxic,multi-itfc-v009- 5 - compatible: should be "mxic,multi-itfc-v009-nand-controller" 6 - reg: should contain 1 entry for the register 6 - reg: should contain 1 entry for the registers 7 - #address-cells: should be set to 1 7 - #address-cells: should be set to 1 8 - #size-cells: should be set to 0 8 - #size-cells: should be set to 0 9 - interrupts: interrupt line connected to this 9 - interrupts: interrupt line connected to this raw NAND controller 10 - clock-names: should contain "ps", "send" and 10 - clock-names: should contain "ps", "send" and "send_dly" 11 - clocks: should contain 3 phandles for the "p 11 - clocks: should contain 3 phandles for the "ps", "send" and 12 "send_dly" clocks 12 "send_dly" clocks 13 13 14 Children nodes: 14 Children nodes: 15 - children nodes represent the available NAND 15 - children nodes represent the available NAND chips. 16 16 17 See Documentation/devicetree/bindings/mtd/nand 17 See Documentation/devicetree/bindings/mtd/nand-controller.yaml 18 for more details on generic bindings. 18 for more details on generic bindings. 19 19 20 Example: 20 Example: 21 21 22 nand: nand-controller@43c30000 { 22 nand: nand-controller@43c30000 { 23 compatible = "mxic,multi-itfc- 23 compatible = "mxic,multi-itfc-v009-nand-controller"; 24 reg = <0x43c30000 0x10000>; 24 reg = <0x43c30000 0x10000>; 25 #address-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <0>; 26 #size-cells = <0>; 27 interrupts = <GIC_SPI 0x1d IRQ 27 interrupts = <GIC_SPI 0x1d IRQ_TYPE_EDGE_RISING>; 28 clocks = <&clkwizard 0>, <&clk 28 clocks = <&clkwizard 0>, <&clkwizard 1>, <&clkc 15>; 29 clock-names = "send", "send_dl 29 clock-names = "send", "send_dly", "ps"; 30 30 31 nand@0 { 31 nand@0 { 32 reg = <0>; 32 reg = <0>; 33 nand-ecc-mode = "soft" 33 nand-ecc-mode = "soft"; 34 nand-ecc-algo = "bch"; 34 nand-ecc-algo = "bch"; 35 }; 35 }; 36 }; 36 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.