diff options
author | John Klug <john.klug@multitech.com> | 2022-02-22 10:28:58 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2022-02-22 10:28:58 -0600 |
commit | 5c28cd92b2cded0718d9b5a6795c184739503918 (patch) | |
tree | e896852c906a6442b765812dfb5a5b58eee7681f | |
parent | c2d055e0f51fedcfcff8158bd986bad86b879908 (diff) | |
download | meta-multitech-atmel-5c28cd92b2cded0718d9b5a6795c184739503918.tar.gz meta-multitech-atmel-5c28cd92b2cded0718d9b5a6795c184739503918.tar.bz2 meta-multitech-atmel-5c28cd92b2cded0718d9b5a6795c184739503918.zip |
Map device tree nand@0 to /dev/mtd0
-rw-r--r-- | recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts b/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts index b45d187..adbc505 100644 --- a/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts +++ b/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts @@ -369,6 +369,12 @@ cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>; nand-ecc-strength=<4>; partitions { + /* Stanzas are order dependent, + * so we must delete at91bootstrap + * and uboot so nand@0 is first + * and enumerated as /dev/mtd0. */ + /delete-node/ at91bootstrap@0; + /delete-node/ uboot@40000; /delete-node/ ubootenvred@100000; /delete-node/ ubootenv@140000; /delete-node/ dtb@180000; @@ -379,12 +385,12 @@ reg = <0x0 0x10000000>; }; - at91bootstrap@0 { + at91bootstrapMT@0 { label = "at91bootstrap"; reg = <0x0 0x40000>; }; - uboot@40000 { + ubootMT@40000 { label = "u-Boot"; reg = <0x40000 0x80000>; }; |