Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
Macronix Raw NAND Controller Device Tree Bindings
|
|
-------------------------------------------------
|
|
|
|
Required properties:
|
|
- compatible: should be "mxic,multi-itfc-v009-nand-controller"
|
|
- reg: should contain 1 entry for the registers
|
|
- #address-cells: should be set to 1
|
|
- #size-cells: should be set to 0
|
|
- interrupts: interrupt line connected to this raw NAND controller
|
|
- clock-names: should contain "ps", "send" and "send_dly"
|
|
- clocks: should contain 3 phandles for the "ps", "send" and
|
|
"send_dly" clocks
|
|
|
|
Children nodes:
|
|
- children nodes represent the available NAND chips.
|
|
|
|
See Documentation/devicetree/bindings/mtd/nand-controller.yaml
|
|
for more details on generic bindings.
|
|
|
|
Example:
|
|
|
|
nand: nand-controller@43c30000 {
|
|
compatible = "mxic,multi-itfc-v009-nand-controller";
|
|
reg = <0x43c30000 0x10000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
interrupts = <GIC_SPI 0x1d IRQ_TYPE_EDGE_RISING>;
|
|
clocks = <&clkwizard 0>, <&clkwizard 1>, <&clkc 15>;
|
|
clock-names = "send", "send_dly", "ps";
|
|
|
|
nand@0 {
|
|
reg = <0>;
|
|
nand-ecc-mode = "soft";
|
|
nand-ecc-algo = "bch";
|
|
};
|
|
};
|