diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2019-01-29 23:52:27 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-06-10 11:21:35 +0200 |
commit | 1e41de2f48e284c9d6658f9403365651178f6826 (patch) | |
tree | 90d34b3f3846e72374beb796576ade2951736274 /target/linux/mpc85xx/files/arch/powerpc/boot/dts | |
parent | 452d88e8f798c550151cd1e1d204a528fb00db08 (diff) | |
download | upstream-1e41de2f48e284c9d6658f9403365651178f6826.tar.gz upstream-1e41de2f48e284c9d6658f9403365651178f6826.tar.bz2 upstream-1e41de2f48e284c9d6658f9403365651178f6826.zip |
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 <chunkeey@gmail.com>
Co-authored-by: Pawel Dembicki <paweldembicki@gmail.com>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/mpc85xx/files/arch/powerpc/boot/dts')
-rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 30 |
1 files changed, 30 insertions, 0 deletions
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. |