kernel-hacking-2024-linux-s.../arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi
Max Filippov e85d29ba4b xtensa: fix DTC warning unit_address_format
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>
2022-03-17 02:55:47 -07:00

29 lines
608 B
Text

// SPDX-License-Identifier: GPL-2.0
/ {
soc {
flash: flash@00000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "cfi-flash";
reg = <0x00000000 0x08000000>;
bank-width = <2>;
device-width = <2>;
partition@0 {
label = "data";
reg = <0x00000000 0x06000000>;
};
partition@6000000 {
label = "boot loader area";
reg = <0x06000000 0x00800000>;
};
partition@6800000 {
label = "kernel image";
reg = <0x06800000 0x017e0000>;
};
partition@7fe0000 {
label = "boot environment";
reg = <0x07fe0000 0x00020000>;
};
};
};
};