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>
65 lines
1.1 KiB
Text
65 lines
1.1 KiB
Text
/dts-v1/;
|
|
|
|
#include "VGV7510KW22.dtsi"
|
|
|
|
/ {
|
|
compatible = "arcadyan,vgv7510kw22-brn", "arcadyan,vgv7510kw22", "lantiq,xway", "lantiq,vr9";
|
|
model = "o2 Box 6431";
|
|
|
|
sram@1f000000 {
|
|
cgu@103000 {
|
|
lantiq,phy-clk-src = <0x2>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&localbus {
|
|
flash@0 {
|
|
partitions {
|
|
partition@0 {
|
|
label = "Boot";
|
|
reg = <0x00000 0x40000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@40000 {
|
|
label = "Configuration";
|
|
reg = <0x40000 0x40000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@80000 {
|
|
label = "Certificate";
|
|
reg = <0x80000 0x20000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@a0000 {
|
|
label = "Special_Area";
|
|
reg = <0xa0000 0x20000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@c0000 {
|
|
compatible = "brnboot,root-selector";
|
|
label = "Primary_Setting";
|
|
reg = <0xc0000 0x20000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@e0000 {
|
|
label = "Code_Image_0";
|
|
reg = <0xe0000 0x780000>;
|
|
brnboot,root-id = <0x00>;
|
|
read-only;
|
|
};
|
|
|
|
partition@860000 {
|
|
label = "Code_Image_1";
|
|
reg = <0x860000 0x780000>;
|
|
brnboot,root-id = <0x01>;
|
|
read-only;
|
|
};
|
|
};
|
|
};
|
|
};
|