cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

davicom,dm9051.yaml (1379B)


      1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
      2%YAML 1.2
      3---
      4$id: http://devicetree.org/schemas/net/davicom,dm9051.yaml#
      5$schema: http://devicetree.org/meta-schemas/core.yaml#
      6
      7title: Davicom DM9051 SPI Ethernet Controller
      8
      9maintainers:
     10  - Joseph CHANG <josright123@gmail.com>
     11
     12description: |
     13  The DM9051 is a fully integrated and cost-effective low pin count single
     14  chip Fast Ethernet controller with a Serial Peripheral Interface (SPI).
     15
     16allOf:
     17  - $ref: ethernet-controller.yaml#
     18
     19properties:
     20  compatible:
     21    const: davicom,dm9051
     22
     23  reg:
     24    maxItems: 1
     25
     26  spi-max-frequency:
     27    maximum: 45000000
     28
     29  interrupts:
     30    maxItems: 1
     31
     32  local-mac-address: true
     33
     34  mac-address: true
     35
     36required:
     37  - compatible
     38  - reg
     39  - spi-max-frequency
     40  - interrupts
     41
     42additionalProperties: false
     43
     44examples:
     45  # Raspberry Pi platform
     46  - |
     47    /* for Raspberry Pi with pin control stuff for GPIO irq */
     48    #include <dt-bindings/interrupt-controller/irq.h>
     49    #include <dt-bindings/gpio/gpio.h>
     50    spi {
     51        #address-cells = <1>;
     52        #size-cells = <0>;
     53
     54        ethernet@0 {
     55            compatible = "davicom,dm9051";
     56            reg = <0>; /* spi chip select */
     57            local-mac-address = [00 00 00 00 00 00];
     58            interrupt-parent = <&gpio>;
     59            interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
     60            spi-max-frequency = <31200000>;
     61        };
     62    };