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>
31 lines
524 B
Text
31 lines
524 B
Text
/dts-v1/;
|
|
|
|
#include "VGV7510KW22.dtsi"
|
|
|
|
/ {
|
|
compatible = "arcadyan,vgv7510kw22-nor", "arcadyan,vgv7510kw22", "lantiq,xway", "lantiq,vr9";
|
|
model = "o2 Box 6431";
|
|
};
|
|
|
|
&localbus {
|
|
flash@0 {
|
|
partitions {
|
|
partition@0 {
|
|
label = "uboot";
|
|
reg = <0x0 0x60000>; /* 384 KiB */
|
|
read-only;
|
|
};
|
|
|
|
partition@60000 {
|
|
label = "uboot-env";
|
|
reg = <0x60000 0x20000>; /* 128 KiB */
|
|
read-only;
|
|
};
|
|
|
|
partition@80000 {
|
|
label = "firmware";
|
|
reg = <0x80000 0xf60000>; /* 15744 KiB */
|
|
};
|
|
};
|
|
};
|
|
};
|