From e3e12f52b214121840b44c91de5b3e5af5d3eb84 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 06 Nov 2023 03:04:41 +0000 Subject: [PATCH] rk3568 rt init --- kernel/arch/arm64/boot/dts/rockchip/rk3399.dtsi | 37 ++++++++++++++++++++++++++++++++++++- 1 files changed, 36 insertions(+), 1 deletions(-) diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 36011b4..a9e8aec 100644 --- a/kernel/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/kernel/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -448,6 +448,16 @@ status = "disabled"; }; + debug: debug@fe430000 { + compatible = "rockchip,debug"; + reg = <0x0 0xfe430000 0x0 0x1000>, + <0x0 0xfe432000 0x0 0x1000>, + <0x0 0xfe434000 0x0 0x1000>, + <0x0 0xfe436000 0x0 0x1000>, + <0x0 0xfe610000 0x0 0x1000>, + <0x0 0xfe710000 0x0 0x1000>; + }; + usbdrd3_0: usb@fe800000 { compatible = "rockchip,rk3399-dwc3"; #address-cells = <2>; @@ -2045,7 +2055,9 @@ hdmi: hdmi@ff940000 { compatible = "rockchip,rk3399-dw-hdmi"; reg = <0x0 0xff940000 0x0 0x20000>; - interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH 0>; + interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH 0>, + <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH 0>; + interrupt-names = "hdmi", "hdmi_wakeup"; clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_SFR>, <&cru PLL_VPLL>, @@ -2301,6 +2313,29 @@ reg = <0x0 0xffa8f800 0x0 0x400>; }; + cci: cci@ffb00000 { + compatible = "arm,cci-500"; + reg = <0x0 0xffb00000 0x0 0x10000>; + ranges = <0x0 0x0 0xffb00000 0xa0000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + + cci_pmu: pmu@10000 { + compatible = "arm,cci-500-pmu,r0"; + reg = <0x10000 0x80000>; + interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 0>, + <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 0>, + <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 0>, + <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 0>, + <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 0>, + <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 0>, + <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 0>, + <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 0>; + status = "disabled"; + }; + }; + rockchip_system_monitor: rockchip-system-monitor { compatible = "rockchip,system-monitor"; -- Gitblit v1.6.2