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