1*d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2*d5b0e70fSEmmanuel Vadot%YAML 1.2 3*d5b0e70fSEmmanuel Vadot--- 4*d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/net/smsc,lan91c111.yaml# 5*d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*d5b0e70fSEmmanuel Vadot 7*d5b0e70fSEmmanuel Vadottitle: Smart Mixed-Signal Connectivity (SMSC) LAN91C9x/91C1xx Controller 8*d5b0e70fSEmmanuel Vadot 9*d5b0e70fSEmmanuel Vadotmaintainers: 10*d5b0e70fSEmmanuel Vadot - Nicolas Pitre <nico@fluxnic.net> 11*d5b0e70fSEmmanuel Vadot 12*d5b0e70fSEmmanuel VadotallOf: 13*d5b0e70fSEmmanuel Vadot - $ref: ethernet-controller.yaml# 14*d5b0e70fSEmmanuel Vadot 15*d5b0e70fSEmmanuel Vadotproperties: 16*d5b0e70fSEmmanuel Vadot compatible: 17*d5b0e70fSEmmanuel Vadot const: smsc,lan91c111 18*d5b0e70fSEmmanuel Vadot 19*d5b0e70fSEmmanuel Vadot reg: 20*d5b0e70fSEmmanuel Vadot maxItems: 1 21*d5b0e70fSEmmanuel Vadot 22*d5b0e70fSEmmanuel Vadot interrupts: 23*d5b0e70fSEmmanuel Vadot maxItems: 1 24*d5b0e70fSEmmanuel Vadot 25*d5b0e70fSEmmanuel Vadot reg-shift: true 26*d5b0e70fSEmmanuel Vadot 27*d5b0e70fSEmmanuel Vadot reg-io-width: 28*d5b0e70fSEmmanuel Vadot enum: [ 1, 2, 4 ] 29*d5b0e70fSEmmanuel Vadot default: 4 30*d5b0e70fSEmmanuel Vadot 31*d5b0e70fSEmmanuel Vadot reset-gpios: 32*d5b0e70fSEmmanuel Vadot description: GPIO connected to control RESET pin 33*d5b0e70fSEmmanuel Vadot maxItems: 1 34*d5b0e70fSEmmanuel Vadot 35*d5b0e70fSEmmanuel Vadot power-gpios: 36*d5b0e70fSEmmanuel Vadot description: GPIO connect to control PWRDWN pin 37*d5b0e70fSEmmanuel Vadot maxItems: 1 38*d5b0e70fSEmmanuel Vadot 39*d5b0e70fSEmmanuel Vadot pxa-u16-align4: 40*d5b0e70fSEmmanuel Vadot description: put in place the workaround the force all u16 writes to be 41*d5b0e70fSEmmanuel Vadot 32 bits aligned 42*d5b0e70fSEmmanuel Vadot type: boolean 43*d5b0e70fSEmmanuel Vadot 44*d5b0e70fSEmmanuel Vadotrequired: 45*d5b0e70fSEmmanuel Vadot - compatible 46*d5b0e70fSEmmanuel Vadot - reg 47*d5b0e70fSEmmanuel Vadot - interrupts 48*d5b0e70fSEmmanuel Vadot 49*d5b0e70fSEmmanuel VadotunevaluatedProperties: false 50*d5b0e70fSEmmanuel Vadot 51*d5b0e70fSEmmanuel Vadotexamples: 52*d5b0e70fSEmmanuel Vadot - | 53*d5b0e70fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 54*d5b0e70fSEmmanuel Vadot 55*d5b0e70fSEmmanuel Vadot ethernet@4010000 { 56*d5b0e70fSEmmanuel Vadot compatible = "smsc,lan91c111"; 57*d5b0e70fSEmmanuel Vadot reg = <0x40100000 0x10000>; 58*d5b0e70fSEmmanuel Vadot phy-mode = "mii"; 59*d5b0e70fSEmmanuel Vadot interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; 60*d5b0e70fSEmmanuel Vadot reg-io-width = <2>; 61*d5b0e70fSEmmanuel Vadot }; 62