mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 21:39:02 +00:00
* Introducing Rockchip rk322x SoC support Main features: - Legacy kernel flavour based upon stable v2.x rk3288 Rockchip branch (https://github.com/rockchip-linux/kernel/tree/stable-4.4-rk3288-linux-v2.x) - Current kernel flavour based on mainline 5.6.y kernel - Mainline u-boot (v2020.04) - Single generic tv box target (rk322x-box) which boots on all the known tv boxes - Hardware devices (eMMC/NAND, led wiring configuration, SoC variant selection) modulation done by user at runtime via device tree overlays - a script (rk322x-config) is provided for autodetection and simple configuration by inexperienced users; - Bits added to armbian-hardware-optimization to set affinity for irq handlers - rk322x-box targets already added to targets.conf for automatic image creation * Removed disabled patches * Restored mysteriously removed comment character
62 lines
1.6 KiB
Text
62 lines
1.6 KiB
Text
diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi
|
|
index af417ae37..a4108dde0 100644
|
|
--- a/arch/arm/boot/dts/rk322x.dtsi
|
|
+++ b/arch/arm/boot/dts/rk322x.dtsi
|
|
@@ -774,23 +775,9 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
- gpu: gpu@0x20001000 {
|
|
- compatible = "arm,mali400";
|
|
- reg = <0x20001000 0x200>,
|
|
- <0x20000000 0x100>,
|
|
- <0x20003000 0x100>,
|
|
- <0x20008000 0x1100>,
|
|
- <0x20004000 0x100>,
|
|
- <0x2000A000 0x1100>,
|
|
- <0x20005000 0x100>;
|
|
-
|
|
- reg-names = "Mali_L2",
|
|
- "Mali_GP",
|
|
- "Mali_GP_MMU",
|
|
- "Mali_PP0",
|
|
- "Mali_PP0_MMU",
|
|
- "Mali_PP1",
|
|
- "Mali_PP1_MMU";
|
|
+ gpu: gpu@20000000 {
|
|
+ compatible = "arm,mali-400";
|
|
+ reg = <0x20000000 0x10000>;
|
|
|
|
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
|
|
@@ -799,16 +786,21 @@
|
|
<GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
- interrupt-names = "Mali_GP_IRQ",
|
|
- "Mali_GP_MMU_IRQ",
|
|
- "Mali_PP0_IRQ",
|
|
- "Mali_PP0_MMU_IRQ",
|
|
- "Mali_PP1_IRQ",
|
|
- "Mali_PP1_MMU_IRQ";
|
|
- clocks = <&cru ACLK_GPU>;
|
|
- #cooling-cells = <2>; /* min followed by max */
|
|
- clock-names = "clk_mali";
|
|
+ interrupt-names = "IRQGP",
|
|
+ "IRQGPMMU",
|
|
+ "IRQPP0",
|
|
+ "IRQPPMMU0",
|
|
+ "IRQPP1",
|
|
+ "IRQPPMMU1";
|
|
+
|
|
+ clocks = <&cru ACLK_GPU>, <&cru ACLK_GPU>, <&cru ACLK_GPU>;
|
|
+ clock-names = "clk_mali", "core", "bus";
|
|
+
|
|
+ resets = <&cru SRST_GPU_A>;
|
|
+
|
|
operating-points-v2 = <&gpu_opp_table>;
|
|
+
|
|
+ #cooling-cells = <2>; /* min followed by max */
|
|
status = "disabled";
|
|
|
|
gpu_power_model: power_model {
|