1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/net/asix,ax88796c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ASIX AX88796C SPI Ethernet Adapter
10 - Ćukasz Stelmach <l.stelmach@samsung.com>
13 ASIX AX88796C is an Ethernet controller with a built in PHY. This
14 describes SPI mode of the chip.
16 The node for this driver must be a child node of an SPI controller,
17 hence all mandatory properties described in
18 ../spi/spi-controller.yaml must be specified.
21 - $ref: ethernet-controller.yaml#
38 A GPIO line handling reset of the chip. As the line is active low,
39 it should be marked GPIO_ACTIVE_LOW.
42 local-mac-address: true
53 additionalProperties: false
58 #include <dt-bindings/interrupt-controller/irq.h>
59 #include <dt-bindings/gpio/gpio.h>
65 compatible = "asix,ax88796c";
67 local-mac-address = [00 00 00 00 00 00]; /* Filled in by a bootloader */
68 interrupt-parent = <&gpx2>;
69 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
70 spi-max-frequency = <40000000>;
71 reset-gpios = <&gpe0 2 GPIO_ACTIVE_LOW>;