668 lines
20 KiB
Diff
668 lines
20 KiB
Diff
--- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
|
|
@@ -39,6 +39,10 @@
|
|
serial7 = &uart7;
|
|
serial8 = &uart8;
|
|
serial9 = &uart9;
|
|
+ spi0 = &spi0;
|
|
+ spi1 = &spi1;
|
|
+ spi2 = &spi2;
|
|
+ spi3 = &spi3;
|
|
};
|
|
|
|
cpus {
|
|
@@ -89,39 +93,45 @@
|
|
|
|
opp-408000000 {
|
|
opp-hz = /bits/ 64 <408000000>;
|
|
- opp-microvolt = <900000 900000 1150000>;
|
|
+ opp-microvolt = <825000 825000 1150000>;
|
|
clock-latency-ns = <40000>;
|
|
};
|
|
|
|
opp-600000000 {
|
|
opp-hz = /bits/ 64 <600000000>;
|
|
- opp-microvolt = <900000 900000 1150000>;
|
|
+ opp-microvolt = <825000 825000 1150000>;
|
|
+ clock-latency-ns = <40000>;
|
|
};
|
|
|
|
opp-816000000 {
|
|
opp-hz = /bits/ 64 <816000000>;
|
|
- opp-microvolt = <900000 900000 1150000>;
|
|
+ opp-microvolt = <825000 825000 1150000>;
|
|
+ clock-latency-ns = <40000>;
|
|
opp-suspend;
|
|
};
|
|
|
|
opp-1104000000 {
|
|
opp-hz = /bits/ 64 <1104000000>;
|
|
- opp-microvolt = <900000 900000 1150000>;
|
|
+ opp-microvolt = <825000 825000 1150000>;
|
|
+ clock-latency-ns = <40000>;
|
|
};
|
|
|
|
opp-1416000000 {
|
|
opp-hz = /bits/ 64 <1416000000>;
|
|
- opp-microvolt = <900000 900000 1150000>;
|
|
+ opp-microvolt = <925000 925000 1150000>;
|
|
+ clock-latency-ns = <40000>;
|
|
};
|
|
|
|
opp-1608000000 {
|
|
opp-hz = /bits/ 64 <1608000000>;
|
|
- opp-microvolt = <975000 975000 1150000>;
|
|
+ opp-microvolt = <1000000 1000000 1150000>;
|
|
+ clock-latency-ns = <40000>;
|
|
};
|
|
|
|
opp-1800000000 {
|
|
opp-hz = /bits/ 64 <1800000000>;
|
|
opp-microvolt = <1050000 1050000 1150000>;
|
|
+ clock-latency-ns = <40000>;
|
|
};
|
|
};
|
|
|
|
@@ -244,6 +254,105 @@
|
|
scmi_shmem: sram@0 {
|
|
compatible = "arm,scmi-shmem";
|
|
reg = <0x0 0x100>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ sata1: sata@fc400000 {
|
|
+ compatible = "snps,dwc-ahci";
|
|
+ reg = <0 0xfc400000 0 0x1000>;
|
|
+ clocks = <&cru ACLK_SATA1>, <&cru CLK_SATA1_PMALIVE>,
|
|
+ <&cru CLK_SATA1_RXOOB>;
|
|
+ clock-names = "sata", "pmalive", "rxoob";
|
|
+ interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "hostc";
|
|
+ phys = <&combphy1 PHY_TYPE_SATA>;
|
|
+ phy-names = "sata-phy";
|
|
+ ports-implemented = <0x1>;
|
|
+ power-domains = <&power RK3568_PD_PIPE>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ sata2: sata@fc800000 {
|
|
+ compatible = "snps,dwc-ahci";
|
|
+ reg = <0 0xfc800000 0 0x1000>;
|
|
+ clocks = <&cru ACLK_SATA2>, <&cru CLK_SATA2_PMALIVE>,
|
|
+ <&cru CLK_SATA2_RXOOB>;
|
|
+ clock-names = "sata", "pmalive", "rxoob";
|
|
+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "hostc";
|
|
+ phys = <&combphy2 PHY_TYPE_SATA>;
|
|
+ phy-names = "sata-phy";
|
|
+ ports-implemented = <0x1>;
|
|
+ power-domains = <&power RK3568_PD_PIPE>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ usbdrd30: usbdrd {
|
|
+ compatible = "rockchip,rk3399-dwc3", "snps,dwc3";
|
|
+ clocks = <&cru CLK_USB3OTG0_REF>, <&cru CLK_USB3OTG0_SUSPEND>,
|
|
+ <&cru ACLK_USB3OTG0>, <&cru PCLK_PIPE>;
|
|
+ clock-names = "ref_clk", "suspend_clk",
|
|
+ "bus_clk", "pipe_clk";
|
|
+ #address-cells = <2>;
|
|
+ #size-cells = <2>;
|
|
+ ranges;
|
|
+ status = "disabled";
|
|
+
|
|
+ usbdrd_dwc3: dwc3@fcc00000 {
|
|
+ compatible = "snps,dwc3";
|
|
+ reg = <0x0 0xfcc00000 0x0 0x400000>;
|
|
+ interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
|
|
+// dr_mode = "host";
|
|
+ dr_mode = "otg";
|
|
+ phys = <&u2phy0_otg>, <&combphy0 PHY_TYPE_USB3>;
|
|
+ phy-names = "usb2-phy", "usb3-phy";
|
|
+ phy_type = "utmi_wide";
|
|
+ power-domains = <&power RK3568_PD_PIPE>;
|
|
+ resets = <&cru SRST_USB3OTG0>;
|
|
+ reset-names = "usb3-otg";
|
|
+ snps,dis_enblslpm_quirk;
|
|
+ snps,dis-u1u2-quirk;
|
|
+ snps,dis-u2-freeclk-exists-quirk;
|
|
+ snps,dis-del-phy-power-chg-quirk;
|
|
+ snps,dis-tx-ipgap-linecheck-quirk;
|
|
+ snps,dis_rxdet_inp3_quirk;
|
|
+ snps,xhci-trb-ent-quirk;
|
|
+ status = "disabled";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ usbhost30: usbhost {
|
|
+ compatible = "rockchip,rk3399-dwc3", "snps,dwc3";
|
|
+ clocks = <&cru CLK_USB3OTG1_REF>, <&cru CLK_USB3OTG1_SUSPEND>,
|
|
+ <&cru ACLK_USB3OTG1>, <&cru PCLK_PIPE>;
|
|
+ clock-names = "ref_clk", "suspend_clk",
|
|
+ "bus_clk", "pipe_clk";
|
|
+ #address-cells = <2>;
|
|
+ #size-cells = <2>;
|
|
+// assigned-clocks = <&cru CLK_PCIEPHY1_REF>;
|
|
+// assigned-clock-rates = <25000000>;
|
|
+ ranges;
|
|
+ status = "disabled";
|
|
+
|
|
+ usbhost_dwc3: dwc3@fd000000 {
|
|
+ compatible = "snps,dwc3";
|
|
+ reg = <0x0 0xfd000000 0x0 0x400000>;
|
|
+ interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ dr_mode = "host";
|
|
+ phys = <&u2phy0_host>, <&combphy1 PHY_TYPE_USB3>;
|
|
+ phy-names = "usb2-phy", "usb3-phy";
|
|
+ phy_type = "utmi_wide";
|
|
+ power-domains = <&power RK3568_PD_PIPE>;
|
|
+ resets = <&cru SRST_USB3OTG1>;
|
|
+ reset-names = "usb3-host";
|
|
+ snps,dis_enblslpm_quirk;
|
|
+ snps,dis-u2-freeclk-exists-quirk;
|
|
+// snps,dis_u2_susphy_quirk;
|
|
+ snps,dis-del-phy-power-chg-quirk;
|
|
+ snps,dis-tx-ipgap-linecheck-quirk;
|
|
+ snps,dis_rxdet_inp3_quirk;
|
|
+ snps,xhci-trb-ent-quirk;
|
|
+ status = "disabled";
|
|
};
|
|
};
|
|
|
|
@@ -313,11 +422,32 @@
|
|
};
|
|
};
|
|
|
|
+ pipegrf: syscon@fdc50000 {
|
|
+ compatible = "rockchip,rk3568-pipe-grf", "syscon";
|
|
+ reg = <0x0 0xfdc50000 0x0 0x1000>;
|
|
+ };
|
|
+
|
|
grf: syscon@fdc60000 {
|
|
compatible = "rockchip,rk3568-grf", "syscon", "simple-mfd";
|
|
reg = <0x0 0xfdc60000 0x0 0x10000>;
|
|
};
|
|
|
|
+ pipe_phy_grf0: syscon@fdc70000 {
|
|
+ compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
|
|
+ reg = <0x0 0xfdc70000 0x0 0x1000>;
|
|
+ };
|
|
+
|
|
+ pipe_phy_grf1: syscon@fdc80000 {
|
|
+ compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
|
|
+ reg = <0x0 0xfdc80000 0x0 0x1000>;
|
|
+ };
|
|
+
|
|
+ pipe_phy_grf2: syscon@fdc90000 {
|
|
+ compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
|
|
+ reg = <0x0 0xfdc90000 0x0 0x1000>;
|
|
+ };
|
|
+
|
|
+
|
|
usb2phy0_grf: syscon@fdca0000 {
|
|
compatible = "rockchip,rk3568-usb2phy-grf", "syscon";
|
|
reg = <0x0 0xfdca0000 0x0 0x8000>;
|
|
@@ -326,6 +456,11 @@
|
|
usb2phy1_grf: syscon@fdca8000 {
|
|
compatible = "rockchip,rk3568-usb2phy-grf", "syscon";
|
|
reg = <0x0 0xfdca8000 0x0 0x8000>;
|
|
+ };
|
|
+
|
|
+ pcie30_phy_grf: syscon@fdcb8000 {
|
|
+ compatible = "rockchip,pcie30-phy-grf", "syscon";
|
|
+ reg = <0x0 0xfdcb8000 0x0 0x10000>;
|
|
};
|
|
|
|
pmucru: clock-controller@fdd00000 {
|
|
@@ -365,6 +500,7 @@
|
|
clocks = <&pmucru SCLK_UART0>, <&pmucru PCLK_UART0>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 0>, <&dmac0 1>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -498,17 +634,38 @@
|
|
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 = "core", "bus";
|
|
+ clock-names = "gpu", "bus";
|
|
+ #cooling-cells = <2>;
|
|
operating-points-v2 = <&gpu_opp_table>;
|
|
- #cooling-cells = <2>;
|
|
power-domains = <&power RK3568_PD_GPU>;
|
|
status = "disabled";
|
|
+ };
|
|
+
|
|
+ vpu: video-codec@fdea0400 {
|
|
+ compatible = "rockchip,rk3328-vpu";
|
|
+ reg = <0x0 0xfdea0000 0x0 0x800>;
|
|
+ interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "vdpu";
|
|
+ clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
|
+ clock-names = "aclk", "hclk";
|
|
+ iommus = <&vdpu_mmu>;
|
|
+ power-domains = <&power RK3568_PD_VPU>;
|
|
+ };
|
|
+
|
|
+ vdpu_mmu: iommu@fdea0800 {
|
|
+ compatible = "rockchip,rk3568-iommu";
|
|
+ reg = <0x0 0xfdea0800 0x0 0x40>;
|
|
+ interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "vdpu_mmu";
|
|
+ clock-names = "aclk", "iface";
|
|
+ clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>;
|
|
+ power-domains = <&power RK3568_PD_VPU>;
|
|
+ #iommu-cells = <0>;
|
|
};
|
|
|
|
sdmmc2: mmc@fe000000 {
|
|
@@ -573,7 +730,8 @@
|
|
};
|
|
|
|
vop: vop@fe040000 {
|
|
- reg = <0x0 0xfe040000 0x0 0x5000>;
|
|
+ reg = <0x0 0xfe040000 0x0 0x3000>, <0x0 0xfe044000 0x0 0x1000>;
|
|
+ reg-names = "regs", "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_vop", "hclk_vop", "dclk_vp0", "dclk_vp1", "dclk_vp2";
|
|
@@ -770,6 +928,164 @@
|
|
qos_vop_m1: qos@fe1a8100 {
|
|
compatible = "rockchip,rk3568-qos", "syscon";
|
|
reg = <0x0 0xfe1a8100 0x0 0x20>;
|
|
+ };
|
|
+
|
|
+ pcie2x1: pcie@fe260000 {
|
|
+ compatible = "rockchip,rk3568-pcie";
|
|
+ #address-cells = <3>;
|
|
+ #size-cells = <2>;
|
|
+ bus-range = <0x0 0xf>;
|
|
+ assigned-clocks = <&cru ACLK_PCIE20_MST>, <&cru ACLK_PCIE20_SLV>,
|
|
+ <&cru ACLK_PCIE20_DBI>, <&cru PCLK_PCIE20>,
|
|
+ <&cru CLK_PCIE20_AUX_NDFT>;
|
|
+ clocks = <&cru ACLK_PCIE20_MST>, <&cru ACLK_PCIE20_SLV>,
|
|
+ <&cru ACLK_PCIE20_DBI>, <&cru PCLK_PCIE20>,
|
|
+ <&cru CLK_PCIE20_AUX_NDFT>;
|
|
+ clock-names = "aclk_mst", "aclk_slv",
|
|
+ "aclk_dbi", "pclk", "aux";
|
|
+ device_type = "pci";
|
|
+ interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "sys", "pmc", "msi", "legacy", "err";
|
|
+ #interrupt-cells = <1>;
|
|
+ interrupt-map-mask = <0 0 0 7>;
|
|
+ interrupt-map = <0 0 0 1 &pcie_intc 0>,
|
|
+ <0 0 0 2 &pcie_intc 1>,
|
|
+ <0 0 0 3 &pcie_intc 2>,
|
|
+ <0 0 0 4 &pcie_intc 3>;
|
|
+ linux,pci-domain = <0>;
|
|
+ num-ib-windows = <6>;
|
|
+ num-ob-windows = <2>;
|
|
+ max-link-speed = <2>;
|
|
+ msi-map = <0x0 &gic 0x0 0x1000>;
|
|
+ num-lanes = <1>;
|
|
+ phys = <&combphy2 PHY_TYPE_PCIE>;
|
|
+ phy-names = "pcie-phy";
|
|
+ power-domains = <&power RK3568_PD_PIPE>;
|
|
+ reg = <0x3 0xc0000000 0x0 0x400000>,
|
|
+ <0x0 0xfe260000 0x0 0x10000>,
|
|
+ <0x3 0x3f800000 0x0 0x800000>;
|
|
+ ranges = <0x1000000 0x0 0x7f700000 0x3 0x3f700000 0x0 0x00100000
|
|
+ 0x2000000 0x0 0x40000000 0x3 0x00000000 0x0 0x3f700000>;
|
|
+ reg-names = "dbi", "apb", "config";
|
|
+ resets = <&cru SRST_PCIE20_POWERUP>;
|
|
+ reset-names = "pipe";
|
|
+ status = "disabled";
|
|
+
|
|
+ pcie_intc: legacy-interrupt-controller {
|
|
+ #address-cells = <0>;
|
|
+ #interrupt-cells = <1>;
|
|
+ interrupt-controller;
|
|
+ interrupt-parent = <&gic>;
|
|
+ interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ pcie3x1: pcie@fe270000 {
|
|
+ compatible = "rockchip,rk3568-pcie", "snps,dw-pcie";
|
|
+ #address-cells = <3>;
|
|
+ #size-cells = <2>;
|
|
+ bus-range = <0x10 0x1f>;
|
|
+ clocks = <&cru ACLK_PCIE30X1_MST>, <&cru ACLK_PCIE30X1_SLV>,
|
|
+ <&cru ACLK_PCIE30X1_DBI>, <&cru PCLK_PCIE30X1>,
|
|
+ <&cru CLK_PCIE30X1_AUX_NDFT>;
|
|
+ clock-names = "aclk_mst", "aclk_slv",
|
|
+ "aclk_dbi", "pclk", "aux";
|
|
+ device_type = "pci";
|
|
+ interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "sys", "pmc", "msi", "legacy", "err";
|
|
+ #interrupt-cells = <1>;
|
|
+ interrupt-map-mask = <0 0 0 7>;
|
|
+ interrupt-map = <0 0 0 1 &pcie3x1_intc 0>,
|
|
+ <0 0 0 2 &pcie3x1_intc 1>,
|
|
+ <0 0 0 3 &pcie3x1_intc 2>,
|
|
+ <0 0 0 4 &pcie3x1_intc 3>;
|
|
+ linux,pci-domain = <1>;
|
|
+ num-ib-windows = <6>;
|
|
+ num-ob-windows = <2>;
|
|
+ max-link-speed = <3>;
|
|
+ msi-map = <0x1000 &gic 0x1000 0x1000>;
|
|
+ num-lanes = <1>;
|
|
+ phys = <&pcie30phy>;
|
|
+ phy-names = "pcie-phy";
|
|
+ power-domains = <&power RK3568_PD_PIPE>;
|
|
+ ranges = <0x00000800 0x0 0x40000000 0x3 0x40000000 0x0 0x800000
|
|
+ 0x81000000 0x0 0x40800000 0x3 0x40800000 0x0 0x100000
|
|
+ 0x83000000 0x0 0x40900000 0x3 0x40900000 0x0 0x3f700000>;
|
|
+ reg = <0x3 0xc0400000 0x0 0x400000>,
|
|
+ <0x0 0xfe270000 0x0 0x10000>;
|
|
+ reg-names = "dbi", "apb", "config";
|
|
+ resets = <&cru SRST_PCIE30X1_POWERUP>;
|
|
+ reset-names = "pipe";
|
|
+ /* rockchip,bifurcation; lane1 when using 1+1 */
|
|
+ status = "disabled";
|
|
+
|
|
+ pcie3x1_intc: legacy-interrupt-controller {
|
|
+ interrupt-controller;
|
|
+ #address-cells = <0>;
|
|
+ #interrupt-cells = <1>;
|
|
+ interrupt-parent = <&gic>;
|
|
+ interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ pcie3x2: pcie@fe280000 {
|
|
+ compatible = "rockchip,rk3568-pcie", "snps,dw-pcie";
|
|
+ #address-cells = <3>;
|
|
+ #size-cells = <2>;
|
|
+ bus-range = <0x20 0x2f>;
|
|
+ clocks = <&cru ACLK_PCIE30X2_MST>, <&cru ACLK_PCIE30X2_SLV>,
|
|
+ <&cru ACLK_PCIE30X2_DBI>, <&cru PCLK_PCIE30X2>,
|
|
+ <&cru CLK_PCIE30X2_AUX_NDFT>;
|
|
+ clock-names = "aclk_mst", "aclk_slv",
|
|
+ "aclk_dbi", "pclk", "aux";
|
|
+ device_type = "pci";
|
|
+ interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "sys", "pmc", "msi", "legacy", "err";
|
|
+ #interrupt-cells = <1>;
|
|
+ interrupt-map-mask = <0 0 0 7>;
|
|
+ interrupt-map = <0 0 0 1 &pcie3x2_intc 0>,
|
|
+ <0 0 0 2 &pcie3x2_intc 1>,
|
|
+ <0 0 0 3 &pcie3x2_intc 2>,
|
|
+ <0 0 0 4 &pcie3x2_intc 3>;
|
|
+ linux,pci-domain = <2>;
|
|
+ num-ib-windows = <6>;
|
|
+ num-ob-windows = <2>;
|
|
+ max-link-speed = <3>;
|
|
+ msi-map = <0x2000 &gic 0x2000 0x1000>;
|
|
+ num-lanes = <2>;
|
|
+ phys = <&pcie30phy>;
|
|
+ phy-names = "pcie-phy";
|
|
+ power-domains = <&power RK3568_PD_PIPE>;
|
|
+ ranges = <0x00000800 0x0 0x80000000 0x3 0x80000000 0x0 0x800000
|
|
+ 0x81000000 0x0 0x80800000 0x3 0x80800000 0x0 0x100000
|
|
+ 0x83000000 0x0 0x80900000 0x3 0x80900000 0x0 0x3f700000>;
|
|
+ reg = <0x3 0xc0800000 0x0 0x400000>,
|
|
+ <0x0 0xfe280000 0x0 0x10000>;
|
|
+ reg-names = "dbi", "apb", "config";
|
|
+ resets = <&cru SRST_PCIE30X2_POWERUP>;
|
|
+ reset-names = "pipe";
|
|
+ /* rockchip,bifurcation; lane0 when using 1+1 */
|
|
+ status = "disabled";
|
|
+
|
|
+ pcie3x2_intc: legacy-interrupt-controller {
|
|
+ interrupt-controller;
|
|
+ #address-cells = <0>;
|
|
+ #interrupt-cells = <1>;
|
|
+ interrupt-parent = <&gic>;
|
|
+ interrupts = <GIC_SPI 162 IRQ_TYPE_EDGE_RISING>;
|
|
+ };
|
|
};
|
|
|
|
sdmmc0: mmc@fe2b0000 {
|
|
@@ -797,6 +1113,17 @@
|
|
max-frequency = <150000000>;
|
|
resets = <&cru SRST_SDMMC1>;
|
|
reset-names = "reset";
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ sfc: spi@fe300000 {
|
|
+ compatible = "rockchip,sfc";
|
|
+ reg = <0x0 0xfe300000 0x0 0x4000>;
|
|
+ interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
|
|
+ clock-names = "clk_sfc", "hclk_sfc";
|
|
+ pinctrl-0 = <&fspi_pins>;
|
|
+ pinctrl-names = "default";
|
|
status = "disabled";
|
|
};
|
|
|
|
@@ -964,6 +1291,66 @@
|
|
clock-names = "tclk", "pclk";
|
|
};
|
|
|
|
+ spi0: spi@fe610000 {
|
|
+ compatible = "rockchip,rk3568-spi", "rockchip,rk3066-spi";
|
|
+ reg = <0x0 0xfe610000 0x0 0x1000>;
|
|
+ interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&cru CLK_SPI0>, <&cru PCLK_SPI0>;
|
|
+ clock-names = "spiclk", "apb_pclk";
|
|
+ dmas = <&dmac0 20>, <&dmac0 21>;
|
|
+ dma-names = "tx", "rx";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&spi0m0_cs0 &spi0m0_cs1 &spi0m0_pins>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ spi1: spi@fe620000 {
|
|
+ compatible = "rockchip,rk3568-spi", "rockchip,rk3066-spi";
|
|
+ reg = <0x0 0xfe620000 0x0 0x1000>;
|
|
+ interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&cru CLK_SPI1>, <&cru PCLK_SPI1>;
|
|
+ clock-names = "spiclk", "apb_pclk";
|
|
+ dmas = <&dmac0 22>, <&dmac0 23>;
|
|
+ dma-names = "tx", "rx";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&spi1m0_cs0 &spi1m0_cs1 &spi1m0_pins>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ spi2: spi@fe630000 {
|
|
+ compatible = "rockchip,rk3568-spi", "rockchip,rk3066-spi";
|
|
+ reg = <0x0 0xfe630000 0x0 0x1000>;
|
|
+ interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&cru CLK_SPI2>, <&cru PCLK_SPI2>;
|
|
+ clock-names = "spiclk", "apb_pclk";
|
|
+ dmas = <&dmac0 24>, <&dmac0 25>;
|
|
+ dma-names = "tx", "rx";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&spi2m0_cs0 &spi2m0_cs1 &spi2m0_pins>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ spi3: spi@fe640000 {
|
|
+ compatible = "rockchip,rk3568-spi", "rockchip,rk3066-spi";
|
|
+ reg = <0x0 0xfe640000 0x0 0x1000>;
|
|
+ interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&cru CLK_SPI3>, <&cru PCLK_SPI3>;
|
|
+ clock-names = "spiclk", "apb_pclk";
|
|
+ dmas = <&dmac0 26>, <&dmac0 27>;
|
|
+ dma-names = "tx", "rx";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&spi3m0_cs0 &spi3m0_cs1 &spi3m0_pins>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
uart1: serial@fe650000 {
|
|
compatible = "rockchip,rk3568-uart", "snps,dw-apb-uart";
|
|
reg = <0x0 0xfe650000 0x0 0x100>;
|
|
@@ -971,6 +1358,7 @@
|
|
clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 2>, <&dmac0 3>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart1m0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -985,6 +1373,7 @@
|
|
clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 4>, <&dmac0 5>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart2m0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -999,6 +1388,7 @@
|
|
clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 6>, <&dmac0 7>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart3m0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -1013,6 +1403,7 @@
|
|
clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 8>, <&dmac0 9>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart4m0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -1027,6 +1418,7 @@
|
|
clocks = <&cru SCLK_UART5>, <&cru PCLK_UART5>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 10>, <&dmac0 11>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart5m0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -1041,6 +1433,7 @@
|
|
clocks = <&cru SCLK_UART6>, <&cru PCLK_UART6>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 12>, <&dmac0 13>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart6m0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -1055,6 +1448,7 @@
|
|
clocks = <&cru SCLK_UART7>, <&cru PCLK_UART7>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 14>, <&dmac0 15>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart7m0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -1069,6 +1463,7 @@
|
|
clocks = <&cru SCLK_UART8>, <&cru PCLK_UART8>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 16>, <&dmac0 17>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart8m0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -1083,6 +1478,7 @@
|
|
clocks = <&cru SCLK_UART9>, <&cru PCLK_UART9>;
|
|
clock-names = "baudclk", "apb_pclk";
|
|
dmas = <&dmac0 18>, <&dmac0 19>;
|
|
+ dma-names = "tx", "rx";
|
|
pinctrl-0 = <&uart9m0_xfer>;
|
|
pinctrl-names = "default";
|
|
reg-io-width = <4>;
|
|
@@ -1370,6 +1766,67 @@
|
|
};
|
|
};
|
|
|
|
+ pcie30phy: phy@fe8c0000 {
|
|
+ compatible = "rockchip,rk3568-pcie3-phy";
|
|
+ reg = <0x0 0xfe8c0000 0x0 0x20000>;
|
|
+ #phy-cells = <0>;
|
|
+ clocks = <&pmucru CLK_PCIE30PHY_REF_M>, <&pmucru CLK_PCIE30PHY_REF_N>,
|
|
+ <&cru PCLK_PCIE30PHY>;
|
|
+ clock-names = "refclk_m", "refclk_n", "pclk";
|
|
+ resets = <&cru SRST_PCIE30PHY>;
|
|
+ reset-names = "phy";
|
|
+ rockchip,phy-grf = <&pcie30_phy_grf>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ combphy0: phy@fe820000 {
|
|
+ compatible = "rockchip,rk3568-naneng-combphy";
|
|
+ reg = <0x0 0xfe820000 0x0 0x100>;
|
|
+ #phy-cells = <1>;
|
|
+ assigned-clocks = <&pmucru CLK_PCIEPHY0_REF>;
|
|
+ assigned-clock-rates = <100000000>;
|
|
+ clocks = <&pmucru CLK_PCIEPHY0_REF>, <&cru PCLK_PIPEPHY0>,
|
|
+ <&cru PCLK_PIPE>;
|
|
+ clock-names = "ref", "apb", "pipe";
|
|
+ resets = <&cru SRST_P_PIPEPHY0>, <&cru SRST_PIPEPHY0>;
|
|
+ reset-names = "combphy-apb", "combphy";
|
|
+ rockchip,pipe-grf = <&pipegrf>;
|
|
+ rockchip,pipe-phy-grf = <&pipe_phy_grf0>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ combphy1: phy@fe830000 {
|
|
+ compatible = "rockchip,rk3568-naneng-combphy";
|
|
+ reg = <0x0 0xfe830000 0x0 0x100>;
|
|
+ clocks = <&pmucru CLK_PCIEPHY1_REF>,
|
|
+ <&cru PCLK_PIPEPHY1>,
|
|
+ <&cru PCLK_PIPE>;
|
|
+ clock-names = "ref", "apb", "pipe";
|
|
+ assigned-clocks = <&pmucru CLK_PCIEPHY1_REF>;
|
|
+ assigned-clock-rates = <100000000>;
|
|
+ resets = <&cru SRST_PIPEPHY1>;
|
|
+ rockchip,pipe-grf = <&pipegrf>;
|
|
+ rockchip,pipe-phy-grf = <&pipe_phy_grf1>;
|
|
+ #phy-cells = <1>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ combphy2: phy@fe840000 {
|
|
+ compatible = "rockchip,rk3568-naneng-combphy";
|
|
+ reg = <0x0 0xfe840000 0x0 0x100>;
|
|
+ clocks = <&pmucru CLK_PCIEPHY2_REF>,
|
|
+ <&cru PCLK_PIPEPHY2>,
|
|
+ <&cru PCLK_PIPE>;
|
|
+ clock-names = "ref", "apb", "pipe";
|
|
+ assigned-clocks = <&pmucru CLK_PCIEPHY2_REF>;
|
|
+ assigned-clock-rates = <100000000>;
|
|
+ resets = <&cru SRST_PIPEPHY2>;
|
|
+ rockchip,pipe-grf = <&pipegrf>;
|
|
+ rockchip,pipe-phy-grf = <&pipe_phy_grf2>;
|
|
+ #phy-cells = <1>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
pinctrl: pinctrl {
|
|
compatible = "rockchip,rk3568-pinctrl";
|
|
rockchip,grf = <&grf>;
|
|
|