1 * Qualcomm Atheros QCA8xxx switch family
5 - compatible: should be one of:
9 - #size-cells: must be 0
10 - #address-cells: must be 1
14 - reset-gpios: GPIO to be used to reset the whole device
18 The integrated switch subnode should be specified according to the binding
19 described in dsa/dsa.txt. If the QCA8K switch is connect to a SoC's external
20 mdio-bus each subnode describing a port needs to have a valid phandle
21 referencing the internal PHY it is connected to. This is because there's no
22 N:N mapping of port and PHY id.
24 Don't use mixed external and internal mdio-bus configurations, as this is
25 not supported by the hardware.
27 The CPU port of this switch is always port 0.
29 A CPU port node has the following optional node:
31 - fixed-link : Fixed-link subnode describing a link to a non-MDIO
33 Documentation/devicetree/bindings/net/fixed-link.txt
36 For QCA8K the 'fixed-link' sub-node supports only the following properties:
38 - 'speed' (integer, mandatory), to indicate the link speed. Accepted
39 values are 10, 100 and 1000
40 - 'full-duplex' (boolean, optional), to indicate that full duplex is
41 used. When absent, half duplex is assumed.
45 for the external mdio-bus configuration:
69 compatible = "qca,qca8337";
73 reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
93 phy-handle = <&phy_port1>;
99 phy-handle = <&phy_port2>;
105 phy-handle = <&phy_port3>;
111 phy-handle = <&phy_port4>;
117 phy-handle = <&phy_port5>;
123 for the internal master mdio-bus configuration:
127 compatible = "qca,qca8337";
128 #address-cells = <1>;
131 reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
135 #address-cells = <1>;