]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
Documentation: devicetree: TSN IP core driver devicetree binding
authorSaurabh Sengar <saurabh.singh@xilinx.com>
Thu, 16 Mar 2017 14:56:15 +0000 (20:26 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 15 Mar 2018 14:18:02 +0000 (15:18 +0100)
Describes the TSN IP core driver (xilinx_axienet_main) device tree binding

Signed-off-by: Saurabh Sengar <saurabhs@xilinx.com>
Acked-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Documentation/devicetree/bindings/net/xilinx_tsn.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/net/xilinx_tsn.txt b/Documentation/devicetree/bindings/net/xilinx_tsn.txt
new file mode 100644 (file)
index 0000000..dd6a16b
--- /dev/null
@@ -0,0 +1,39 @@
+Xilinx TSN (time sensitive networking) controller Device Tree Bindings
+-----------------------------------------------------------------------
+
+Required properties:
+- compatible           : Should be "xlnx,tsn-ethernet-1.00.a"
+- reg                  : Physical base address and size of the TSN registers map.
+- interrupts           : Property with a value describing the interrupt
+                         number.
+- interrupt-parent     : Must be core interrupt controller.
+- phy-handle           : See ethernet.txt file in the same directory.
+- local-mac-address    : See ethernet.txt file in the same directory.
+- phy-mode             : see ethernet.txt file in the same directory.
+
+Optional properties:
+- xlnx,tsn             : Denotes a ethernet with TSN capabilities
+- xlnx,tsn-slave       : Denotes a TSN slave port
+- xlnx,txcsum          : Checks for tx checksum.
+- xlnx,rxcsum          : Check for rx checksum.
+- xlnx,phy-type                : Phy device type.
+- xlnx,eth-hasnobuf    : Used when 1G MAC is configured in non processor mode.
+
+Example:
+
+       tsn_emac_1: tsn_mac@80060000 {
+               compatible = "xlnx,tsn-ethernet-1.00.a";
+               interrupt-parent = <&gic>;
+               interrupts = < 0 105 1>, <0 107 1>, <0 109 1>, <0 111 1 >;
+               interrupt-names = "ptp_rx", "ptp_tx", "qbv_irq", "rtc_irq";
+               clock-frequency = <100000000>;
+               clocks = <&misc_clk_0>;
+               axistream-connected = <&axi_dma_0>, <&axi_dma_1>, <&axi_dma_2>;
+               axistream-control-connected = <&axi_dma_2>;
+               local-mac-address = [ 00 0A 35 00 01 0f ];
+               phy-mode = "gmii";
+               xlnx,tsn;
+               xlnx,tsn-slave;
+               xlnx,eth-hasnobuf;
+               xlnx,bus2core-clk-ratio = <0x1>;
+       };