mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-22 16:07:49 +08:00
211 lines
5.0 KiB
Diff
211 lines
5.0 KiB
Diff
--- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
@@ -128,6 +128,11 @@
|
|
opp-microvolt = <1050000 1050000 1150000>;
|
|
};
|
|
};
|
|
+
|
|
+ display_subsystem: display-subsystem {
|
|
+ compatible = "rockchip,display-subsystem";
|
|
+ ports = <&vop_out>;
|
|
+ };
|
|
|
|
firmware {
|
|
scmi: scmi {
|
|
@@ -143,6 +148,56 @@
|
|
};
|
|
};
|
|
};
|
|
+
|
|
+ gpu_opp_table: opp-table-1 {
|
|
+ compatible = "operating-points-v2";
|
|
+
|
|
+ opp-200000000 {
|
|
+ opp-hz = /bits/ 64 <200000000>;
|
|
+ opp-microvolt = <850000 850000 1000000>;
|
|
+ };
|
|
+
|
|
+ opp-300000000 {
|
|
+ opp-hz = /bits/ 64 <300000000>;
|
|
+ opp-microvolt = <850000 850000 1000000>;
|
|
+ };
|
|
+
|
|
+ opp-400000000 {
|
|
+ opp-hz = /bits/ 64 <400000000>;
|
|
+ opp-microvolt = <850000 850000 1000000>;
|
|
+ };
|
|
+
|
|
+ opp-600000000 {
|
|
+ opp-hz = /bits/ 64 <600000000>;
|
|
+ opp-microvolt = <900000 900000 1000000>;
|
|
+ };
|
|
+
|
|
+ opp-700000000 {
|
|
+ opp-hz = /bits/ 64 <700000000>;
|
|
+ opp-microvolt = <950000 950000 1000000>;
|
|
+ };
|
|
+
|
|
+ opp-800000000 {
|
|
+ opp-hz = /bits/ 64 <800000000>;
|
|
+ opp-microvolt = <1000000 1000000 1000000>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ hdmi_sound: hdmi-sound {
|
|
+ compatible = "simple-audio-card";
|
|
+ simple-audio-card,name = "HDMI";
|
|
+ simple-audio-card,format = "i2s";
|
|
+ simple-audio-card,mclk-fs = <256>;
|
|
+ status = "disabled";
|
|
+
|
|
+ simple-audio-card,codec {
|
|
+ sound-dai = <&hdmi>;
|
|
+ };
|
|
+
|
|
+ simple-audio-card,cpu {
|
|
+ sound-dai = <&i2s0_8ch>;
|
|
+ };
|
|
+ };
|
|
|
|
pmu {
|
|
compatible = "arm,cortex-a55-pmu";
|
|
@@ -535,6 +590,21 @@
|
|
};
|
|
};
|
|
};
|
|
+
|
|
+ gpu: gpu@fde60000 {
|
|
+ compatible = "rockchip,rk3568-mali", "arm,mali-bifrost";
|
|
+ reg = <0x0 0xfde60000 0x0 0x4000>;
|
|
+ interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "job", "mmu", "gpu";
|
|
+ clocks = <&scmi_clk 1>, <&cru CLK_GPU>;
|
|
+ clock-names = "gpu", "bus";
|
|
+ #cooling-cells = <2>;
|
|
+ operating-points-v2 = <&gpu_opp_table>;
|
|
+ power-domains = <&power RK3568_PD_GPU>;
|
|
+ status = "disabled";
|
|
+ };
|
|
|
|
sdmmc2: mmc@fe000000 {
|
|
compatible = "rockchip,rk3568-dw-mshc", "rockchip,rk3288-dw-mshc";
|
|
@@ -596,6 +666,53 @@
|
|
queue0 {};
|
|
};
|
|
};
|
|
+
|
|
+ vop: vop@fe040000 {
|
|
+ reg = <0x0 0xfe040000 0x0 0x3000>, <0x0 0xfe044000 0x0 0x1000>;
|
|
+ reg-names = "vop", "gamma-lut";
|
|
+ interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>, <&cru DCLK_VOP0>,
|
|
+ <&cru DCLK_VOP1>, <&cru DCLK_VOP2>;
|
|
+ clock-names = "aclk", "hclk", "dclk_vp0", "dclk_vp1", "dclk_vp2";
|
|
+ iommus = <&vop_mmu>;
|
|
+ power-domains = <&power RK3568_PD_VO>;
|
|
+ rockchip,grf = <&grf>;
|
|
+ status = "disabled";
|
|
+
|
|
+ vop_out: ports {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ vp0: port@0 {
|
|
+ reg = <0>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ };
|
|
+
|
|
+ vp1: port@1 {
|
|
+ reg = <1>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ };
|
|
+
|
|
+ vp2: port@2 {
|
|
+ reg = <2>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
+ vop_mmu: iommu@fe043e00 {
|
|
+ compatible = "rockchip,rk3568-iommu";
|
|
+ reg = <0x0 0xfe043e00 0x0 0x100>, <0x0 0xfe043f00 0x0 0x100>;
|
|
+ interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
|
|
+ clock-names = "aclk", "iface";
|
|
+ #iommu-cells = <0>;
|
|
+ power-domains = <&power RK3568_PD_VO>;
|
|
+ status = "disabled";
|
|
+ };
|
|
|
|
qos_gpu: qos@fe128000 {
|
|
compatible = "rockchip,rk3568-qos", "syscon";
|
|
@@ -716,6 +833,38 @@
|
|
compatible = "rockchip,rk3568-qos", "syscon";
|
|
reg = <0x0 0xfe1a8100 0x0 0x20>;
|
|
};
|
|
+
|
|
+ hdmi: hdmi@fe0a0000 {
|
|
+ compatible = "rockchip,rk3568-dw-hdmi";
|
|
+ reg = <0x0 0xfe0a0000 0x0 0x20000>;
|
|
+ interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&cru PCLK_HDMI_HOST>,
|
|
+ <&cru CLK_HDMI_SFR>,
|
|
+ <&cru CLK_HDMI_CEC>,
|
|
+ <&pmucru CLK_HDMI_REF>,
|
|
+ <&cru HCLK_VO>;
|
|
+ clock-names = "iahb", "isfr", "cec", "ref";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&hdmitx_scl &hdmitx_sda &hdmitxm0_cec>;
|
|
+ power-domains = <&power RK3568_PD_VO>;
|
|
+ reg-io-width = <4>;
|
|
+ rockchip,grf = <&grf>;
|
|
+ #sound-dai-cells = <0>;
|
|
+ status = "disabled";
|
|
+
|
|
+ ports {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ hdmi_in: port@0 {
|
|
+ reg = <0>;
|
|
+ };
|
|
+
|
|
+ hdmi_out: port@1 {
|
|
+ reg = <1>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
|
|
pcie2x1: pcie@fe260000 {
|
|
compatible = "rockchip,rk3568-pcie";
|
|
@@ -804,6 +953,23 @@
|
|
clock-names = "clk_sfc", "hclk_sfc";
|
|
pinctrl-0 = <&fspi_pins>;
|
|
pinctrl-names = "default";
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ i2s0_8ch: i2s@fe400000 {
|
|
+ compatible = "rockchip,rk3568-i2s-tdm";
|
|
+ reg = <0x0 0xfe400000 0x0 0x1000>;
|
|
+ interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ assigned-clocks = <&cru CLK_I2S0_8CH_TX_SRC>, <&cru CLK_I2S0_8CH_RX_SRC>;
|
|
+ assigned-clock-rates = <1188000000>, <1188000000>;
|
|
+ clocks = <&cru MCLK_I2S0_8CH_TX>, <&cru MCLK_I2S0_8CH_RX>, <&cru HCLK_I2S0_8CH>;
|
|
+ clock-names = "mclk_tx", "mclk_rx", "hclk";
|
|
+ dmas = <&dmac1 0>;
|
|
+ dma-names = "tx";
|
|
+ resets = <&cru SRST_M_I2S0_8CH_TX>, <&cru SRST_M_I2S0_8CH_RX>;
|
|
+ reset-names = "tx-m", "rx-m";
|
|
+ rockchip,grf = <&grf>;
|
|
+ #sound-dai-cells = <0>;
|
|
status = "disabled";
|
|
};
|
|
|