diff options
author | Mathias Kresin <dev@kresin.me> | 2020-03-01 08:09:19 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2020-03-16 22:28:16 +0100 |
commit | 005dedd3480f47ff1049e132ec8d83bc0e24fbef (patch) | |
tree | 56fdc5bdf6c715d63fc5acb963eab4e747747920 /target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2-hynix.dts | |
parent | 0dbe8b9029df1c1b254101bacbc20c3418eb956f (diff) | |
download | upstream-005dedd3480f47ff1049e132ec8d83bc0e24fbef.tar.gz upstream-005dedd3480f47ff1049e132ec8d83bc0e24fbef.tar.bz2 upstream-005dedd3480f47ff1049e132ec8d83bc0e24fbef.zip |
lantiq: copy target to kernel 5.4
Duplicate kernel 4.19 config and patches for kernel 5.4.
Duplicate the devicetree source files as well, they need kernel 5.4
specific adjustments.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2-hynix.dts')
-rw-r--r-- | target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2-hynix.dts | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2-hynix.dts b/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2-hynix.dts new file mode 100644 index 0000000000..1aea98260a --- /dev/null +++ b/target/linux/lantiq/files-4.19/arch/mips/boot/dts/lantiq/vr9_avm_fritz3370-rev2-hynix.dts @@ -0,0 +1,39 @@ +/dts-v1/; + +#include "vr9_avm_fritz3370-rev2.dtsi" + +/ { + compatible = "avm,fritz3370-rev2-hynix", "avm,fritz3370-rev2", "lantiq,xway", "lantiq,vr9"; + model = "AVM FRITZ!Box 3370 Rev. 2 (Hynix NAND)"; +}; + +&localbus { + flash@1 { + compatible = "lantiq,nand-xway"; + bank-width = <2>; + reg = <1 0x0 0x2000000>; + + pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>; + pinctrl-names = "default"; + + nand-ecc-mode = "soft"; + nand-ecc-strength = <3>; + nand-ecc-step-size = <256>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "kernel"; + reg = <0x0 0x400000>; + }; + + partition@400000 { + label = "ubi"; + reg = <0x400000 0x7c00000>; + }; + }; + }; +}; |