Support for the RGA (raster graphics accelerator) on rk3399
and efuses on rk3368. -----BEGIN PGP SIGNATURE----- iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAlnxjcYQHGhlaWtvQHNu dGVjaC5kZQAKCRDzpnnJnNEdgQg9CACKoNn8LseipJa0kc6ZYXXtVDurmVHgaPyV OpC3+YbN9tpaBh6lsujkecthmlS45qrjZUsw00P50vcGbrMgrB9zytVrFrpEVxQT iNdEccU9RFEZ1GSQTPstxI3Uv1fnDcqSCplzKEeVxZ/U7vwWwq5YAi4bSey6eMzc GNq6FfT65Uf07a0Ondn3+IUzvjRpY42BHjjQjMv3k3lSn7z94/OG0AmCkRrXkBw/ 0+jxf9eMkkEj3JaC+OhwHOLJn7bv2U67HPGjLV7BLfFUQYGjPYd8g+LdeVV9Y2PJ urGiu3o/VbUbTbl2+TWh+OWYbfLFhpBdE+ouPHBPxJMPFkiGnrdA =xf8q -----END PGP SIGNATURE----- Merge tag 'v4.15-rockchip-dts64-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt Pull "Rockchip dts64 updates for 4.15 part2" from Heiko Stübner: Support for the RGA (raster graphics accelerator) on rk3399 and efuses on rk3368. * tag 'v4.15-rockchip-dts64-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: arm64: dts: rockchip: add efuse for RK3368 SoCs arm64: dts: rockchip: add RGA device node for RK3399 clk: rockchip: add more rk3188 graphics clock ids clk: rockchip: add clock id for PCLK_EFUSE256 of RK3368 SoCs
This commit is contained in:
commit
1e11cbf720
@ -786,6 +786,22 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
efuse256: efuse@ffb00000 {
|
||||||
|
compatible = "rockchip,rk3368-efuse";
|
||||||
|
reg = <0x0 0xffb00000 0x0 0x20>;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
clocks = <&cru PCLK_EFUSE256>;
|
||||||
|
clock-names = "pclk_efuse";
|
||||||
|
|
||||||
|
cpu_leakage: cpu-leakage@17 {
|
||||||
|
reg = <0x17 0x1>;
|
||||||
|
};
|
||||||
|
temp_adjust: temp-adjust@1f {
|
||||||
|
reg = <0x1f 0x1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
gic: interrupt-controller@ffb71000 {
|
gic: interrupt-controller@ffb71000 {
|
||||||
compatible = "arm,gic-400";
|
compatible = "arm,gic-400";
|
||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
|
@ -1204,6 +1204,17 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rga: rga@ff680000 {
|
||||||
|
compatible = "rockchip,rk3399-rga";
|
||||||
|
reg = <0x0 0xff680000 0x0 0x10000>;
|
||||||
|
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH 0>;
|
||||||
|
clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>;
|
||||||
|
clock-names = "aclk", "hclk", "sclk";
|
||||||
|
resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>;
|
||||||
|
reset-names = "core", "axi", "ahb";
|
||||||
|
power-domains = <&power RK3399_PD_RGA>;
|
||||||
|
};
|
||||||
|
|
||||||
efuse0: efuse@ff690000 {
|
efuse0: efuse@ff690000 {
|
||||||
compatible = "rockchip,rk3399-efuse";
|
compatible = "rockchip,rk3399-efuse";
|
||||||
reg = <0x0 0xff690000 0x0 0x80>;
|
reg = <0x0 0xff690000 0x0 0x80>;
|
||||||
|
@ -68,12 +68,14 @@
|
|||||||
#define ACLK_LCDC1 196
|
#define ACLK_LCDC1 196
|
||||||
#define ACLK_GPU 197
|
#define ACLK_GPU 197
|
||||||
#define ACLK_SMC 198
|
#define ACLK_SMC 198
|
||||||
#define ACLK_CIF 199
|
#define ACLK_CIF1 199
|
||||||
#define ACLK_IPP 200
|
#define ACLK_IPP 200
|
||||||
#define ACLK_RGA 201
|
#define ACLK_RGA 201
|
||||||
#define ACLK_CIF0 202
|
#define ACLK_CIF0 202
|
||||||
#define ACLK_CPU 203
|
#define ACLK_CPU 203
|
||||||
#define ACLK_PERI 204
|
#define ACLK_PERI 204
|
||||||
|
#define ACLK_VEPU 205
|
||||||
|
#define ACLK_VDPU 206
|
||||||
|
|
||||||
/* pclk gates */
|
/* pclk gates */
|
||||||
#define PCLK_GRF 320
|
#define PCLK_GRF 320
|
||||||
@ -134,8 +136,11 @@
|
|||||||
#define HCLK_NANDC0 467
|
#define HCLK_NANDC0 467
|
||||||
#define HCLK_CPU 468
|
#define HCLK_CPU 468
|
||||||
#define HCLK_PERI 469
|
#define HCLK_PERI 469
|
||||||
|
#define HCLK_CIF1 470
|
||||||
|
#define HCLK_VEPU 471
|
||||||
|
#define HCLK_VDPU 472
|
||||||
|
|
||||||
#define CLK_NR_CLKS (HCLK_PERI + 1)
|
#define CLK_NR_CLKS (HCLK_VDPU + 1)
|
||||||
|
|
||||||
/* soft-reset indices */
|
/* soft-reset indices */
|
||||||
#define SRST_MCORE 2
|
#define SRST_MCORE 2
|
||||||
|
@ -156,6 +156,7 @@
|
|||||||
#define PCLK_ISP 366
|
#define PCLK_ISP 366
|
||||||
#define PCLK_VIP 367
|
#define PCLK_VIP 367
|
||||||
#define PCLK_WDT 368
|
#define PCLK_WDT 368
|
||||||
|
#define PCLK_EFUSE256 369
|
||||||
|
|
||||||
/* hclk gates */
|
/* hclk gates */
|
||||||
#define HCLK_SFC 448
|
#define HCLK_SFC 448
|
||||||
|
Loading…
Reference in New Issue
Block a user