Commit c6887214 authored by Aleksander Jan Bajkowski's avatar Aleksander Jan Bajkowski Committed by David S. Miller

dt-bindings: net: lantiq: Add the burst length properties

The new added properties are used for configuring burst length.
Signed-off-by: default avatarAleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dac0bad9
...@@ -29,6 +29,18 @@ properties: ...@@ -29,6 +29,18 @@ properties:
- const: tx - const: tx
- const: rx - const: rx
lantiq,tx-burst-length:
$ref: /schemas/types.yaml#/definitions/uint32
description: |
TX programmable burst length.
enum: [2, 4, 8]
lantiq,rx-burst-length:
$ref: /schemas/types.yaml#/definitions/uint32
description: |
RX programmable burst length.
enum: [2, 4, 8]
phy-mode: true phy-mode: true
required: required:
...@@ -37,6 +49,8 @@ required: ...@@ -37,6 +49,8 @@ required:
- interrupt-parent - interrupt-parent
- interrupts - interrupts
- interrupt-names - interrupt-names
- lantiq,tx-burst-length
- lantiq,rx-burst-length
- phy-mode - phy-mode
additionalProperties: false additionalProperties: false
...@@ -49,5 +63,7 @@ examples: ...@@ -49,5 +63,7 @@ examples:
interrupt-parent = <&icu0>; interrupt-parent = <&icu0>;
interrupts = <73>, <78>; interrupts = <73>, <78>;
interrupt-names = "tx", "rx"; interrupt-names = "tx", "rx";
lantiq,tx-burst-length = <8>;
lantiq,rx-burst-length = <8>;
phy-mode = "rmii"; phy-mode = "rmii";
}; };
...@@ -29,6 +29,18 @@ properties: ...@@ -29,6 +29,18 @@ properties:
- const: tx - const: tx
- const: rx - const: rx
lantiq,tx-burst-length:
$ref: /schemas/types.yaml#/definitions/uint32
description: |
TX programmable burst length.
enum: [2, 4, 8]
lantiq,rx-burst-length:
$ref: /schemas/types.yaml#/definitions/uint32
description: |
RX programmable burst length.
enum: [2, 4, 8]
'#address-cells': '#address-cells':
const: 1 const: 1
...@@ -41,6 +53,8 @@ required: ...@@ -41,6 +53,8 @@ required:
- interrupt-parent - interrupt-parent
- interrupts - interrupts
- interrupt-names - interrupt-names
- lantiq,tx-burst-length
- lantiq,rx-burst-length
- "#address-cells" - "#address-cells"
- "#size-cells" - "#size-cells"
...@@ -56,4 +70,6 @@ examples: ...@@ -56,4 +70,6 @@ examples:
interrupt-parent = <&icu0>; interrupt-parent = <&icu0>;
interrupts = <73>, <72>; interrupts = <73>, <72>;
interrupt-names = "tx", "rx"; interrupt-names = "tx", "rx";
lantiq,tx-burst-length = <8>;
lantiq,rx-burst-length = <8>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment