dt-bindings: net: dsa: microchip: add wakeup-source property
authorOleksij Rempel <o.rempel@pengutronix.de>
Mon, 23 Oct 2023 09:33:36 +0000 (11:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2023 07:47:33 +0000 (08:47 +0100)
Add wakeup-source property to enable Wake on Lan functionality in the
switch.

Since PME wake pin is not always attached to the SoC, use wakeup-source
instead of wakeup-gpios

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml

index 41014f5c01c42302a47a305415b64b80bac981f2..b3029c64d0d5a3582036b8b6b3d86197044a8973 100644 (file)
@@ -38,6 +38,8 @@ properties:
       Should be a gpio specifier for a reset line.
     maxItems: 1
 
+  wakeup-source: true
+
   microchip,synclko-125:
     $ref: /schemas/types.yaml#/definitions/flag
     description: