Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / qcom,ethqos.txt
blobfcf5035810b5737889c8e403d5f52f7be2085f33
1 Qualcomm Ethernet ETHQOS device
3 This documents dwmmac based ethernet device which supports Gigabit
4 ethernet for version v2.3.0 onwards.
6 This device has following properties:
8 Required properties:
10 - compatible: Should be qcom,qcs404-ethqos"
12 - reg: Address and length of the register set for the device
14 - reg-names: Should contain register names "stmmaceth", "rgmii"
16 - clocks: Should contain phandle to clocks
18 - clock-names: Should contain clock names "stmmaceth", "pclk",
19                 "ptp_ref", "rgmii"
21 - interrupts: Should contain phandle to interrupts
23 - interrupt-names: Should contain interrupt names "macirq", "eth_lpi"
25 Rest of the properties are defined in stmmac.txt file in same directory
28 Example:
30 ethernet: ethernet@7a80000 {
31         compatible = "qcom,qcs404-ethqos";
32         reg = <0x07a80000 0x10000>,
33                 <0x07a96000 0x100>;
34         reg-names = "stmmaceth", "rgmii";
35         clock-names = "stmmaceth", "pclk", "ptp_ref", "rgmii";
36         clocks = <&gcc GCC_ETH_AXI_CLK>,
37                 <&gcc GCC_ETH_SLAVE_AHB_CLK>,
38                 <&gcc GCC_ETH_PTP_CLK>,
39                 <&gcc GCC_ETH_RGMII_CLK>;
40         interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
41                         <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
42         interrupt-names = "macirq", "eth_lpi";
43         snps,reset-gpio = <&tlmm 60 GPIO_ACTIVE_LOW>;
44         snps,reset-active-low;
46         snps,txpbl = <8>;
47         snps,rxpbl = <2>;
48         snps,aal;
49         snps,tso;
51         phy-handle = <&phy1>;
52         phy-mode = "rgmii";
54         mdio {
55                 #address-cells = <0x1>;
56                 #size-cells = <0x0>;
57                 compatible = "snps,dwmac-mdio";
58                 phy1: phy@4 {
59                         device_type = "ethernet-phy";
60                         reg = <0x4>;
61                 };
62         };