mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
eba84bee4c
The device tree file of ARV752DPW uses numbers/hex values for gpio states and input event codes. This cleans it up and uses the available macros from header files. This way the functions are easier to read and comprehend. Signed-off-by: Andreas Eberlein <foodeas@aeberlein.de> [sanitize all device tree files] Signed-off-by: Mathias Kresin <dev@kresin.me>
71 lines
1.2 KiB
Plaintext
71 lines
1.2 KiB
Plaintext
/dts-v1/;
|
|
|
|
|
|
#include "VGV7519.dtsi"
|
|
|
|
/ {
|
|
fpi@10000000 {
|
|
localbus@0 {
|
|
nor-boot@0 {
|
|
partitions {
|
|
partition@0 {
|
|
label = "Boot";
|
|
reg = <0x00000 0x40000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@50000 {
|
|
label = "Certificate";
|
|
reg = <0x50000 0x10000>;
|
|
read-only;
|
|
};
|
|
partition@60000 {
|
|
label = "Special_Area";
|
|
reg = <0x60000 0x10000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@70000 {
|
|
label = " Reserve_0";
|
|
reg = <0x70000 0x10000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@80000 {
|
|
label = "Code_Image_0";
|
|
reg = <0x80000 0x780000>;
|
|
brnboot,root-id = <0x00>;
|
|
read-only;
|
|
};
|
|
|
|
partition@4000000 {
|
|
compatible = "brnboot,root-selector";
|
|
label = "Primary_Setting";
|
|
reg = <0x4000000 0x10000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@4010000 {
|
|
label = "Configuration";
|
|
reg = <0x4010000 0x60000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@4070000 {
|
|
label = " Reserve_1";
|
|
reg = <0x4070000 0x10000>;
|
|
read-only;
|
|
};
|
|
|
|
partition@4080000 {
|
|
label = "Code_Image_1";
|
|
reg = <0x4080000 0x780000>;
|
|
brnboot,root-id = <0x01>;
|
|
read-only;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|