Skip to content

Commit

Permalink
dts/bindings: Add uint8-array type for ethernet mac address
Browse files Browse the repository at this point in the history
Introduce uint8-array type for local-mac-address as we need to
distinguish it from 'array' meaning a uint32 array.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
galak committed Jun 15, 2019
1 parent 9ac4dc6 commit 6589286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dts/bindings/device_node.yaml.template
Expand Up @@ -26,7 +26,7 @@ properties:
#
# <name of the property in the device tree - regexes are supported>:
# category: <required | optional>
# type: <string | int | boolean | array | string-array | compound>
# type: <string | int | boolean | array | uint8-array | string-array | compound>
# description: <description of property>
# generation: define
#
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/ethernet/ethernet.yaml
Expand Up @@ -14,7 +14,7 @@ inherits:
!include base.yaml
properties:
local-mac-address:
type: array
type: uint8-array
category: optional
description: mac address
generation: define
Expand Down

0 comments on commit 6589286

Please sign in to comment.