difos/target/linux/lantiq/files/arch/mips/boot/dts/EASY80920NAND.dts
Petr Štetiar a4bdae7cf2 lantiq: dts: use generic node names
In DTS Checklist[1] we're now demanding proper generic node names, as
the name of a node should reflect the function of the device and use
generic name for that[2]. Everybody seems to be copy&pasting from DTS
files available in the repository today, so let's unify that naming
there as well and provide proper examples.

1. https://openwrt.org/submitting-patches#dts_checklist
2. https://github.com/devicetree-org/devicetree-specification/blob/master/source/devicetree-basics.rst#generic-names-recommendation

Signed-off-by: Petr Štetiar <ynezz@true.cz>
[split out treewide patch, integrated P2812HNUF1 rename patch]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[merged key and led changes, use generic node name for flash, wifi and
gpio]
Signed-off-by: Mathias Kresin <dev@kresin.me>
2019-07-07 11:17:34 +02:00

63 lines
1.1 KiB
Text

/dts-v1/;
#include "EASY80920.dtsi"
/ {
compatible = "lantiq,easy80920-nand", "lantiq,easy80920", "lantiq,xway", "lantiq,vr9";
model = "Intel EASY80920 Nand";
chosen {
bootargs = "ubi.mtd=ubi ubi.block=0,rootfsA root=/dev/ubiblock0_1";
};
};
&localbus {
flash@0 {
compatible = "lantiq,nand-xway";
lantiq,cs = <1>;
bank-width = <2>;
reg = <0 0x0 0x2000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x100000>; /* 1024 KB */
};
partition@100000 {
label = "uboot_env";
reg = <0x100000 0x40000>; /* 256 KB */
};
partition@140000 {
label = "ubootconfigB";
reg = <0x140000 0x40000>; /* 256 KB */
};
partition@180000 {
label = "gphyfirmware";
reg = <0x180000 0x40000>; /* 256 KB */
};
partition@1c0000 {
label = "ubi";
reg = <0x1c0000 0xc800000>;
};
partition@c9c0000 {
label = "calibration";
reg = <0xc9c0000 0x100000>;
};
partition@cac0000 {
label = "res";
reg = <0xcac0000 0x13540000>;
};
};
};
};