From 1e41de2f48e284c9d6658f9403365651178f6826 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Tue, 29 Jan 2019 23:52:27 +0100 Subject: mpc85xx: convert TL-WDR4900 v1 to simpleImage Converts the TP-Link WDR4900 v1 to use the simpleImage in the hopes of prolonging the life of the device. While at it, the patch makes the fdt.bin an ARTIFACT and sets the KERNEL_SIZE to 2684 KiB as a precaution since the stock u-boot is using a fixed kernel size. Note: Give the image some time, it will take much longer to extract and boot. [tested for 4.14/4.19] Signed-off-by: Christian Lamparter Co-authored-by: Pawel Dembicki Signed-off-by: Pawel Dembicki --- .../files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts') diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts index ab4952aad5..f9fdfc6465 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts @@ -236,6 +236,36 @@ /include/ "fsl/p1010si-post.dtsi" +/ { + cpus { + PowerPC,P1010@0 { + bus-frequency = <399999996>; + timebase-frequency = <49999999>; + clock-frequency = <799999992>; + }; + }; + + memory { + reg = <0x0 0x0 0x0 0x8000000>; + }; + + soc@ffe00000 { + bus-frequency = <399999996>; + + serial@4600 { + clock-frequency = <399999996>; + }; + + serial@4500 { + clock-frequency = <399999996>; + }; + + pic@40000 { + clock-frequency = <399999996>; + }; + }; +}; + /* * The TL-WDR4900 v1 uses the NXP (Freescale) P1014 SoC which is closely * related to the P1010. -- cgit v1.2.3