forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
....@@ -15,7 +15,8 @@
1515 bootargs = "earlycon";
1616 };
1717
18
- memory {
18
+ memory@0 {
19
+ device_type = "memory";
1920 reg = <0x00000000 0x08000000>;
2021 };
2122
....@@ -75,8 +76,6 @@
7576
7677 gpio-keys {
7778 compatible = "gpio-keys";
78
- #address-cells = <1>;
79
- #size-cells = <0>;
8079
8180 rfkill {
8281 label = "WiFi";
....@@ -94,6 +93,34 @@
9493
9594 &spi_nor {
9695 status = "okay";
96
+
97
+ partitions {
98
+ compatible = "fixed-partitions";
99
+ #address-cells = <1>;
100
+ #size-cells = <1>;
101
+
102
+ boot@0 {
103
+ label = "boot";
104
+ reg = <0x000000 0x040000>;
105
+ read-only;
106
+ };
107
+
108
+ os-image@100000 {
109
+ label = "os-image";
110
+ reg = <0x040000 0x200000>;
111
+ compatible = "brcm,trx";
112
+ };
113
+
114
+ rootfs@240000 {
115
+ label = "rootfs";
116
+ reg = <0x240000 0xc00000>;
117
+ };
118
+
119
+ nvram@ff0000 {
120
+ label = "nvram";
121
+ reg = <0xff0000 0x010000>;
122
+ };
123
+ };
97124 };
98125
99126 &usb2 {