ath79: csac: sync with upstream source

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 2385ffcedb00b9f46efd553f65972ef2a9de9db8)
This commit is contained in:
Tianling Shen 2021-08-24 02:48:47 +08:00
parent 35028a39c7
commit a4f8dde6e9
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 13 additions and 1 deletions

View File

@ -168,6 +168,8 @@
&eth0 {
status = "okay";
mtd-mac-address = <&art 0x0>;
nvmem-cells = <&macaddr_art_0>;
nvmem-cell-names = "mac-address";
pll-data = <0x03000101 0x00000101 0x00001919>;
@ -179,3 +181,13 @@
status = "okay";
mtd-cal-data = <&art 0x1000>;
};
&art {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
reg = <0x0 0x6>;
};
};

View File

@ -2232,7 +2232,7 @@ define Device/xwrt_csac
KERNEL_SIZE := 1472k
IMAGE_SIZE := 16000k
IMAGES += factory-10.bin factory-05.bin
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | pad-to 14528k | append-kernel | append-metadata | check-size $$$$(IMAGE_SIZE)
IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | pad-to 14528k | append-kernel | append-metadata | check-size
IMAGE/factory-10.bin := $$(IMAGE/sysupgrade.bin) | xwrt_csac10-factory $(1)
IMAGE/factory-05.bin := $$(IMAGE/sysupgrade.bin) | xwrt_csac05-factory $(1)
DEVICE_PACKAGES := kmod-leds-reset kmod-ath10k-ct ath10k-firmware-qca9888-ct kmod-usb-core kmod-usb2