Michael Walle | 36ba764 | 2020-10-15 23:08:57 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | #include <config.h> |
| 4 | |
| 5 | / { |
| 6 | aliases { |
| 7 | mmc0 = &esdhc0; |
| 8 | mmc1 = &esdhc1; |
| 9 | i2c0 = &i2c0; |
| 10 | i2c1 = &i2c3; |
| 11 | i2c2 = &i2c4; |
| 12 | rtc0 = &rtc; |
| 13 | ethernet0 = &enetc0; |
| 14 | ethernet1 = &enetc1; |
| 15 | ethernet2 = &enetc2; |
| 16 | ethernet3 = &enetc6; |
| 17 | }; |
| 18 | |
| 19 | binman { |
| 20 | filename = "u-boot.rom"; |
| 21 | pad-byte = <0xff>; |
| 22 | |
| 23 | u-boot-spl { |
| 24 | }; |
| 25 | |
| 26 | fit { |
| 27 | offset = <CONFIG_SPL_PAD_TO>; |
| 28 | description = "FIT image with multiple configurations"; |
| 29 | |
| 30 | images { |
| 31 | uboot { |
| 32 | description = "U-Boot"; |
| 33 | type = "firmware"; |
| 34 | os = "u-boot"; |
| 35 | arch = "arm"; |
| 36 | compression = "none"; |
| 37 | load = <CONFIG_SYS_TEXT_BASE>; |
| 38 | |
| 39 | u-boot-nodtb { |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | fdt-1 { |
| 44 | description = "fsl-ls1028a-kontron-sl28"; |
| 45 | type = "flat_dt"; |
| 46 | arch = "arm"; |
| 47 | compression = "none"; |
| 48 | |
| 49 | blob { |
| 50 | filename = "arch/arm/dts/fsl-ls1028a-kontron-sl28.dtb"; |
| 51 | }; |
| 52 | }; |
| 53 | |
| 54 | fdt-2 { |
| 55 | description = "fsl-ls1028a-kontron-sl28-var3"; |
| 56 | type = "flat_dt"; |
| 57 | arch = "arm"; |
| 58 | compression = "none"; |
| 59 | |
| 60 | blob { |
| 61 | filename = "arch/arm/dts/fsl-ls1028a-kontron-sl28-var3.dtb"; |
| 62 | }; |
| 63 | }; |
| 64 | |
| 65 | fdt-3 { |
| 66 | description = "fsl-ls1028a-kontron-sl28-var4"; |
| 67 | type = "flat_dt"; |
| 68 | arch = "arm"; |
| 69 | compression = "none"; |
| 70 | |
| 71 | blob { |
| 72 | filename = "arch/arm/dts/fsl-ls1028a-kontron-sl28-var4.dtb"; |
| 73 | }; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | configurations { |
| 78 | default = "conf-1"; |
| 79 | |
| 80 | conf-1 { |
| 81 | description = "fsl-ls1028a-kontron-sl28"; |
| 82 | firmware = "uboot"; |
Michael Walle | 36ba764 | 2020-10-15 23:08:57 +0200 | [diff] [blame] | 83 | fdt = "fdt-1"; |
| 84 | }; |
| 85 | |
| 86 | conf-2 { |
| 87 | description = "fsl-ls1028a-kontron-sl28-var3"; |
| 88 | firmware = "uboot"; |
Michael Walle | 36ba764 | 2020-10-15 23:08:57 +0200 | [diff] [blame] | 89 | fdt = "fdt-2"; |
| 90 | }; |
| 91 | |
| 92 | conf-3 { |
| 93 | description = "fsl-ls1028a-kontron-sl28-var4"; |
| 94 | firmware = "uboot"; |
Michael Walle | 36ba764 | 2020-10-15 23:08:57 +0200 | [diff] [blame] | 95 | fdt = "fdt-3"; |
| 96 | }; |
| 97 | }; |
| 98 | }; |
| 99 | }; |
| 100 | }; |
| 101 | |
| 102 | &i2c0 { |
| 103 | rtc: rtc@32 { |
| 104 | }; |
| 105 | }; |
| 106 | |
| 107 | &fspi { |
| 108 | u-boot,dm-pre-reloc; |
| 109 | flash@0 { |
| 110 | u-boot,dm-pre-reloc; |
| 111 | }; |
| 112 | }; |
| 113 | |
| 114 | &dspi2 { |
| 115 | u-boot,dm-pre-reloc; |
| 116 | }; |
| 117 | |
| 118 | &esdhc0 { |
| 119 | u-boot,dm-pre-reloc; |
| 120 | }; |
| 121 | |
| 122 | &esdhc1 { |
| 123 | u-boot,dm-pre-reloc; |
| 124 | }; |
| 125 | |
| 126 | &serial0 { |
| 127 | u-boot,dm-pre-reloc; |
| 128 | }; |
| 129 | |
| 130 | &sysclk { |
| 131 | u-boot,dm-pre-reloc; |
| 132 | }; |