pinctrl-0 = <&spi_0_pins>;
pinctrl-names = "default";
cs-select = <0>;
- status = "ok";
+ status = "okay";
m25p80@0 {
#address-cells = <1>;
reset-gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
- qca8075: ethernet-phy@4 {
- compatible = "ethernet-phy-ieee802.3-c22";
- reg = <4>;
+ ethernet-phy-package@0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "qcom,qca8075-package";
+ reg = <0>;
+
+ qca8075_4: ethernet-phy@4 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <4>;
+ };
};
};
&switch {
status = "okay";
- switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4)>; /* lan port bitmap */
- switch_wan_bmp = <ESS_PORT5>; /* wan port bitmap */
- switch_mac_mode = <0x0>; /* mac mode for uniphy instance0*/
- switch_mac_mode1 = <0xff>; /* mac mode for uniphy instance1*/
- switch_mac_mode2 = <0xff>; /* mac mode for uniphy instance2*/
- bm_tick_mode = <0>; /* bm tick mode */
- tm_tick_mode = <0>; /* tm tick mode */
+ switch_lan_bmp = <ESS_PORT5>; /* lan port bitmap */
+ switch_mac_mode = <MAC_MODE_PSGMII>; /* mac mode for uniphy instance0*/
qcom,port_phyinfo {
- port@0 {
- port_id = <1>;
- phy_address = <0>;
- };
- port@1 {
- port_id = <2>;
- phy_address = <1>;
- };
- port@2 {
- port_id = <3>;
- phy_address = <2>;
- };
- port@3 {
- port_id = <4>;
- phy_address = <3>;
- };
- port@4 {
+ port@5 {
port_id = <5>;
phy_address = <4>;
};
&dp5 {
status = "okay";
- phy-handle = <&qca8075>;
+ phy-handle = <&qca8075_4>;
label = "lan";
};