forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
....@@ -15,7 +15,8 @@
1515 bootargs = "console=ttyS0,115200 earlycon";
1616 };
1717
18
- memory {
18
+ memory@0 {
19
+ device_type = "memory";
1920 reg = <0x00000000 0x08000000>;
2021 };
2122
....@@ -103,6 +104,34 @@
103104
104105 &spi_nor {
105106 status = "okay";
107
+
108
+ partitions {
109
+ compatible = "fixed-partitions";
110
+ #address-cells = <1>;
111
+ #size-cells = <1>;
112
+
113
+ boot@0 {
114
+ label = "boot";
115
+ reg = <0x000000 0x040000>;
116
+ read-only;
117
+ };
118
+
119
+ os-image@100000 {
120
+ label = "os-image";
121
+ reg = <0x040000 0x200000>;
122
+ compatible = "brcm,trx";
123
+ };
124
+
125
+ rootfs@240000 {
126
+ label = "rootfs";
127
+ reg = <0x240000 0xc00000>;
128
+ };
129
+
130
+ nvram@ff0000 {
131
+ label = "nvram";
132
+ reg = <0xff0000 0x010000>;
133
+ };
134
+ };
106135 };
107136
108137 &usb3_phy {