|
@@ -20,6 +20,7 @@
|
|
|
led-failsafe = &led_power;
|
|
|
led-running = &led_power;
|
|
|
led-upgrade = &led_power;
|
|
|
+ label-mac-device = &swport5;
|
|
|
};
|
|
|
|
|
|
soc {
|
|
@@ -247,13 +248,44 @@
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
partition@0 {
|
|
|
- label = "ubi";
|
|
|
+ compatible = "linux,ubi";
|
|
|
reg = <0x00000000 0x08000000>;
|
|
|
+ label = "ubi";
|
|
|
+
|
|
|
+ volumes {
|
|
|
+ ubi_factory: ubi-volume-factory {
|
|
|
+ volname = "Factory";
|
|
|
+ };
|
|
|
+ };
|
|
|
};
|
|
|
};
|
|
|
};
|
|
|
};
|
|
|
|
|
|
+&ubi_factory {
|
|
|
+ nvmem-layout {
|
|
|
+ compatible = "fixed-layout";
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <1>;
|
|
|
+
|
|
|
+ precal_factory_1000: precal@1000 {
|
|
|
+ reg = <0x1000 0x2f20>;
|
|
|
+ };
|
|
|
+
|
|
|
+ macaddr_factory_1006: macaddr@1006 {
|
|
|
+ reg = <0x1006 0x6>;
|
|
|
+ };
|
|
|
+
|
|
|
+ precal_factory_5000: precal@5000 {
|
|
|
+ reg = <0x5000 0x2f20>;
|
|
|
+ };
|
|
|
+
|
|
|
+ macaddr_factory_5006: macaddr@5006 {
|
|
|
+ reg = <0x5006 0x6>;
|
|
|
+ };
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
&blsp1_uart1 {
|
|
|
pinctrl-0 = <&serial_pins>;
|
|
|
pinctrl-names = "default";
|
|
@@ -293,6 +325,8 @@
|
|
|
|
|
|
&gmac {
|
|
|
status = "okay";
|
|
|
+ nvmem-cells = <&macaddr_factory_5006>;
|
|
|
+ nvmem-cell-names = "mac-address";
|
|
|
};
|
|
|
|
|
|
&switch {
|
|
@@ -317,14 +351,20 @@
|
|
|
|
|
|
&swport5 {
|
|
|
status = "okay";
|
|
|
+ nvmem-cells = <&macaddr_factory_1006>;
|
|
|
+ nvmem-cell-names = "mac-address";
|
|
|
};
|
|
|
|
|
|
&wifi0 {
|
|
|
status = "okay";
|
|
|
+ nvmem-cell-names = "pre-calibration";
|
|
|
+ nvmem-cells = <&precal_factory_1000>;
|
|
|
qcom,ath10k-calibration-variant = "RT-AC58U";
|
|
|
};
|
|
|
|
|
|
&wifi1 {
|
|
|
status = "okay";
|
|
|
+ nvmem-cell-names = "pre-calibration";
|
|
|
+ nvmem-cells = <&precal_factory_5000>;
|
|
|
qcom,ath10k-calibration-variant = "RT-AC58U";
|
|
|
};
|