Aleksander Jan Bajkowski | 5535bcf | 2021-09-14 23:21:03 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/net/lantiq,xrx200-net.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Lantiq xRX200 GSWIP PMAC Ethernet driver |
| 8 | |
| 9 | maintainers: |
| 10 | - Hauke Mehrtens <hauke@hauke-m.de> |
| 11 | |
| 12 | properties: |
| 13 | $nodename: |
| 14 | pattern: "^ethernet@[0-9a-f]+$" |
| 15 | |
| 16 | compatible: |
| 17 | const: lantiq,xrx200-net |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | interrupts: |
| 23 | items: |
| 24 | - description: TX interrupt |
| 25 | - description: RX interrupt |
| 26 | |
| 27 | interrupt-names: |
| 28 | items: |
| 29 | - const: tx |
| 30 | - const: rx |
| 31 | |
| 32 | '#address-cells': |
| 33 | const: 1 |
| 34 | |
| 35 | '#size-cells': |
| 36 | const: 0 |
| 37 | |
| 38 | required: |
| 39 | - compatible |
| 40 | - reg |
| 41 | - interrupt-parent |
| 42 | - interrupts |
| 43 | - interrupt-names |
| 44 | - "#address-cells" |
| 45 | - "#size-cells" |
| 46 | |
| 47 | additionalProperties: false |
| 48 | |
| 49 | examples: |
| 50 | - | |
| 51 | ethernet@e10b308 { |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <0>; |
| 54 | compatible = "lantiq,xrx200-net"; |
| 55 | reg = <0xe10b308 0xcf8>; |
| 56 | interrupt-parent = <&icu0>; |
| 57 | interrupts = <73>, <72>; |
| 58 | interrupt-names = "tx", "rx"; |
Aleksander Jan Bajkowski | 5535bcf | 2021-09-14 23:21:03 +0200 | [diff] [blame] | 59 | }; |