qualcommax: dts: add reset delay to qca8081 phy
[openwrt/staging/jow.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8074-nbg7815.dts
index 5fb8f3b4de4f850a56fc59af51ea415e429ffe68..be6953f9423a2bd8510b73bc82421e7ce3311979 100644 (file)
                                label = "0:ethphyfw";
                                reg = <0x650000 0x80000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+
+                                       aqr_fw: aqr-fw@0 {
+                                               /* Skip the QCOM MBN Header of 40 bytes */
+                                               reg = <0x28 0x5f402>;
+                                       };
+                               };
                        };
 
                        partition@6d0000 {
        qca8081: ethernet-phy@4{
                compatible = "ethernet-phy-id004d.d101";
                reg = <28>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
        };
 
                compatible = "ethernet-phy-ieee802.3-c45";
                reg = <8>;
                reset-gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
+
+               nvmem-cells = <&aqr_fw>;
+               nvmem-cell-names = "firmware";
        };
 };