2019-04-03 14:48:05 +07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/mtd/allwinner,sun4i-a10-nand.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: Allwinner A10 NAND Controller Device Tree Bindings
|
|
|
|
|
|
|
|
allOf:
|
|
|
|
- $ref: "nand-controller.yaml"
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Chen-Yu Tsai <wens@csie.org>
|
|
|
|
- Maxime Ripard <maxime.ripard@bootlin.com>
|
|
|
|
|
|
|
|
properties:
|
|
|
|
"#address-cells": true
|
|
|
|
"#size-cells": true
|
|
|
|
|
|
|
|
compatible:
|
2019-04-08 14:41:44 +07:00
|
|
|
enum:
|
|
|
|
- allwinner,sun4i-a10-nand
|
|
|
|
- allwinner,sun8i-a23-nand-controller
|
2019-04-03 14:48:05 +07:00
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
interrupts:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: Bus Clock
|
|
|
|
- description: Module Clock
|
|
|
|
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: ahb
|
|
|
|
- const: mod
|
|
|
|
|
|
|
|
resets:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
reset-names:
|
|
|
|
const: ahb
|
|
|
|
|
|
|
|
dmas:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
dma-names:
|
|
|
|
const: rxtx
|
|
|
|
|
|
|
|
pinctrl-names: true
|
|
|
|
|
|
|
|
patternProperties:
|
|
|
|
"^pinctrl-[0-9]+$": true
|
|
|
|
|
|
|
|
"^nand@[a-f0-9]+$":
|
2019-07-04 03:17:06 +07:00
|
|
|
type: object
|
2019-04-03 14:48:05 +07:00
|
|
|
properties:
|
|
|
|
reg:
|
|
|
|
minimum: 0
|
|
|
|
maximum: 7
|
|
|
|
|
|
|
|
nand-ecc-mode: true
|
|
|
|
|
|
|
|
nand-ecc-algo:
|
|
|
|
const: bch
|
|
|
|
|
|
|
|
nand-ecc-step-size:
|
|
|
|
enum: [ 512, 1024 ]
|
|
|
|
|
|
|
|
nand-ecc-strength:
|
|
|
|
maximum: 80
|
|
|
|
|
|
|
|
allwinner,rb:
|
|
|
|
description:
|
|
|
|
Contains the native Ready/Busy IDs.
|
|
|
|
allOf:
|
|
|
|
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
|
|
|
- minItems: 1
|
|
|
|
maxItems: 2
|
|
|
|
items:
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1
|
|
|
|
|
|
|
|
additionalProperties: false
|
|
|
|
|
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
- interrupts
|
|
|
|
- clocks
|
|
|
|
- clock-names
|
|
|
|
|
|
|
|
additionalProperties: false
|
|
|
|
|
|
|
|
...
|