|
|
@@ -228,6 +228,39 @@
|
|
|
|
|
|
partitions {
|
|
|
compatible = "qcom,smem-part";
|
|
|
+
|
|
|
+ partition-0-art {
|
|
|
+ label = "0:art";
|
|
|
+ read-only;
|
|
|
+
|
|
|
+ nvmem-layout {
|
|
|
+ compatible = "fixed-layout";
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <1>;
|
|
|
+
|
|
|
+ precal_art_1000: pre-calibration@1000 {
|
|
|
+ reg = <0x1000 0x2f20>;
|
|
|
+ };
|
|
|
+
|
|
|
+ precal_art_5000: pre-calibration@5000 {
|
|
|
+ reg = <0x5000 0x2f20>;
|
|
|
+ };
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
+ partition-0-appsblenv {
|
|
|
+ label = "0:appsblenv";
|
|
|
+ read-only;
|
|
|
+
|
|
|
+ nvmem-layout {
|
|
|
+ compatible = "u-boot,env";
|
|
|
+ env-size = <0x10000>;
|
|
|
+
|
|
|
+ macaddr_uboot_ethaddr: ethaddr {
|
|
|
+ #nvmem-cell-cells = <1>;
|
|
|
+ };
|
|
|
+ };
|
|
|
+ };
|
|
|
};
|
|
|
};
|
|
|
};
|
|
|
@@ -278,6 +311,24 @@
|
|
|
max-link-speed = <1>;
|
|
|
};
|
|
|
|
|
|
+&pcie_bridge0 {
|
|
|
+ wifi@0,0 {
|
|
|
+ compatible = "qcom,ath10k";
|
|
|
+ reg = <0x00010000 0 0 0 0>;
|
|
|
+ nvmem-cells = <&precal_art_1000>, <&macaddr_uboot_ethaddr 1>;
|
|
|
+ nvmem-cell-names = "pre-calibration", "mac-address";
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
+&pcie_bridge1 {
|
|
|
+ wifi@0,0 {
|
|
|
+ compatible = "qcom,ath10k";
|
|
|
+ reg = <0x00010000 0 0 0 0>;
|
|
|
+ nvmem-cells = <&precal_art_5000>, <&macaddr_uboot_ethaddr 0>;
|
|
|
+ nvmem-cell-names = "pre-calibration", "mac-address";
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
&mdio0 {
|
|
|
status = "okay";
|
|
|
|
|
|
@@ -399,6 +450,9 @@
|
|
|
pinctrl-0 = <&rgmii2_pins>;
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
+ nvmem-cells = <&macaddr_uboot_ethaddr 3>;
|
|
|
+ nvmem-cell-names = "mac-address";
|
|
|
+
|
|
|
fixed-link {
|
|
|
speed = <1000>;
|
|
|
full-duplex;
|
|
|
@@ -417,6 +471,9 @@
|
|
|
qcom,irq = <258>;
|
|
|
mdiobus = <&mdio0>;
|
|
|
|
|
|
+ nvmem-cells = <&macaddr_uboot_ethaddr 2>;
|
|
|
+ nvmem-cell-names = "mac-address";
|
|
|
+
|
|
|
fixed-link {
|
|
|
speed = <1000>;
|
|
|
full-duplex;
|