e85d29ba4b
DTC issues the following warnings when building xtfpga device trees: /soc/flash@00000000/partition@0x0: unit name should not have leading "0x" /soc/flash@00000000/partition@0x6000000: unit name should not have leading "0x" /soc/flash@00000000/partition@0x6800000: unit name should not have leading "0x" /soc/flash@00000000/partition@0x7fe0000: unit name should not have leading "0x" Drop leading 0x from flash partition unit names. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
22 lines
424 B
Plaintext
22 lines
424 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/ {
|
|
soc {
|
|
flash: flash@08000000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "cfi-flash";
|
|
reg = <0x08000000 0x00400000>;
|
|
bank-width = <2>;
|
|
device-width = <2>;
|
|
partition@0 {
|
|
label = "boot loader area";
|
|
reg = <0x00000000 0x003f0000>;
|
|
};
|
|
partition@3f0000 {
|
|
label = "boot environment";
|
|
reg = <0x003f0000 0x00010000>;
|
|
};
|
|
};
|
|
};
|
|
};
|