forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/arch/arm/boot/dts/rk3288-linux.dtsi
....@@ -8,7 +8,7 @@
88
99 / {
1010 chosen {
11
- bootargs = "earlycon=uart8250,mmio32,0xff690000 vmalloc=496M rw root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait";
11
+ bootargs = "earlycon=uart8250,mmio32,0xff690000 console=ttyFIQ0 vmalloc=496M rw root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait";
1212 };
1313
1414 /delete-node/ dmc@ff610000;
....@@ -74,12 +74,12 @@
7474 };
7575
7676 reserved-memory {
77
- ramoops_mem: ramoops@00000000 {
77
+ ramoops_mem: ramoops@8000000 {
7878 reg = <0x0 0x8000000 0x0 0xF0000>;
7979 };
8080
8181 drm_logo: drm-logo@00000000 {
82
- compatible = "rockchip,drm-logo";
82
+ compatible = "rockchip,drm-logo";
8383 reg = <0x0 0x0 0x0 0x0>;
8484 };
8585 };
....@@ -89,16 +89,10 @@
8989 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
9090 rockchip,serial-id = <2>;
9191 rockchip,wake-irq = <0>;
92
- /* If enable uart uses irq instead of fiq */
93
- rockchip,irq-mode-enable = <0>;
92
+ rockchip,irq-mode-enable = <1>; /* If enable uart uses irq instead of fiq */
9493 rockchip,baudrate = <115200>; /* Only 115200 and 1500000 */
9594 pinctrl-names = "default";
9695 pinctrl-0 = <&uart2_xfer>;
97
- };
98
-
99
- psci {
100
- compatible = "arm,psci-1.0";
101
- method = "smc";
10296 };
10397
10498 /delete-node/ timer@ff810000;
....@@ -158,22 +152,6 @@
158152 };
159153 };
160154
161
-&cpu0 {
162
- enable-method = "psci";
163
-};
164
-
165
-&cpu1 {
166
- enable-method = "psci";
167
-};
168
-
169
-&cpu2 {
170
- enable-method = "psci";
171
-};
172
-
173
-&cpu3 {
174
- enable-method = "psci";
175
-};
176
-
177155 &dmac_bus_s {
178156 /* change to non-secure dmac */
179157 reg = <0x0 0xff600000 0x0 0x4000>;
....@@ -195,6 +173,25 @@
195173 status = "okay";
196174 };
197175
176
+&iep {
177
+ status = "okay";
178
+};
179
+
180
+&iep_mmu {
181
+ status = "okay";
182
+};
183
+
184
+&rga {
185
+ compatible = "rockchip,rga2";
186
+ clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;
187
+ clock-names = "aclk_rga", "hclk_rga", "clk_rga";
188
+ status = "okay";
189
+};
190
+
191
+&rng {
192
+ status = "okay";
193
+};
194
+
198195 &uart2 {
199196 status = "disabled";
200197 };