lkml.org 
[lkml]   [2021]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 net-next 10/10] dt-bindings: net: korina: Add DT bindings for IDT 79RC3243x SoCs
    Date
    Add device tree bindings for ethernet controller integrated into
    IDT 79RC3243x SoCs.

    Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
    ---
    .../bindings/net/idt,3243x-emac.yaml | 74 +++++++++++++++++++
    1 file changed, 74 insertions(+)
    create mode 100644 Documentation/devicetree/bindings/net/idt,3243x-emac.yaml

    diff --git a/Documentation/devicetree/bindings/net/idt,3243x-emac.yaml b/Documentation/devicetree/bindings/net/idt,3243x-emac.yaml
    new file mode 100644
    index 000000000000..3697af5cb66f
    --- /dev/null
    +++ b/Documentation/devicetree/bindings/net/idt,3243x-emac.yaml
    @@ -0,0 +1,74 @@
    +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
    +%YAML 1.2
    +---
    +$id: http://devicetree.org/schemas/net/idt,3243x-emac.yaml#
    +$schema: http://devicetree.org/meta-schemas/core.yaml#
    +
    +title: IDT 79rc3243x Ethernet controller
    +
    +description: Ethernet controller integrated into IDT 79RC3243x family SoCs
    +
    +maintainers:
    + - Thomas Bogendoerfer <tsbogend@alpha.franken.de>
    +
    +allOf:
    + - $ref: ethernet-controller.yaml#
    +
    +properties:
    + compatible:
    + const: idt,3243x-emac
    +
    + reg:
    + maxItems: 3
    +
    + reg-names:
    + items:
    + - const: korina_regs
    + - const: korina_dma_rx
    + - const: korina_dma_tx
    +
    + interrupts:
    + items:
    + - description: RX interrupt
    + - description: TX interrupt
    +
    + interrupt-names:
    + items:
    + - const: korina_rx
    + - const: korina_tx
    +
    + clocks:
    + maxItems: 1
    +
    + clock-names:
    + items:
    + - const: mdioclk
    +
    +required:
    + - compatible
    + - reg
    + - reg-names
    + - interrupts
    + - interrupt-names
    +
    +additionalProperties: false
    +
    +examples:
    + - |
    +
    + ethernet@60000 {
    + compatible = "idt,3243x-emac";
    +
    + reg = <0x60000 0x10000>,
    + <0x40000 0x14>,
    + <0x40014 0x14>;
    + reg-names = "korina_regs",
    + "korina_dma_rx",
    + "korina_dma_tx";
    +
    + interrupts-extended = <&rcpic3 0>, <&rcpic3 1>;
    + interrupt-names = "korina_rx", "korina_tx";
    +
    + clocks = <&iclk>;
    + clock-names = "mdioclk";
    + };
    --
    2.29.2
    \
     
     \ /
      Last update: 2021-04-16 10:55    [W:4.470 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site