dt-bindings: net: constrain number of 'reg' in ethernet ports
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 2 Nov 2022 16:15:11 +0000 (12:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2022 08:48:25 +0000 (08:48 +0000)
commitbd881b44fdbcce1fb899601e026a4cebfe38b2df
treea609c73d7d28989be762b20911655bf5987241ad
parenta3de357b087e50e2b2465346f5f67ac7aa4f6b93
dt-bindings: net: constrain number of 'reg' in ethernet ports

'reg' without any constraints allows multiple items which is not the
intention for Ethernet controller's port number.

Constrain the 'reg' on AX88178 and LAN95xx USB Ethernet Controllers.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/asix,ax88178.yaml
Documentation/devicetree/bindings/net/microchip,lan95xx.yaml