|
249 | 249 | #size-cells = <2>; |
250 | 250 | ranges; |
251 | 251 |
|
| 252 | + pcie2x1: pcie@fe000000 { |
| 253 | + compatible = "rockchip,rk3562-pcie", "rockchip,rk3568-pcie"; |
| 254 | + reg = <0x0 0xfe000000 0x0 0x400000>, |
| 255 | + <0x0 0xff500000 0x0 0x10000>, |
| 256 | + <0x0 0xfc000000 0x0 0x100000>; |
| 257 | + reg-names = "dbi", "apb", "config"; |
| 258 | + bus-range = <0x0 0xff>; |
| 259 | + clocks = <&cru ACLK_PCIE20_MST>, <&cru ACLK_PCIE20_SLV>, |
| 260 | + <&cru ACLK_PCIE20_DBI>, <&cru PCLK_PCIE20>, |
| 261 | + <&cru CLK_PCIE20_AUX>; |
| 262 | + clock-names = "aclk_mst", "aclk_slv", |
| 263 | + "aclk_dbi", "pclk", "aux"; |
| 264 | + device_type = "pci"; |
| 265 | + interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, |
| 266 | + <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, |
| 267 | + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, |
| 268 | + <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, |
| 269 | + <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, |
| 270 | + <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; |
| 271 | + interrupt-names = "sys", "pmc", "msg", "legacy", "err", "msi"; |
| 272 | + #interrupt-cells = <1>; |
| 273 | + interrupt-map-mask = <0 0 0 7>; |
| 274 | + interrupt-map = <0 0 0 1 &pcie2x1_intc 0>, |
| 275 | + <0 0 0 2 &pcie2x1_intc 1>, |
| 276 | + <0 0 0 3 &pcie2x1_intc 2>, |
| 277 | + <0 0 0 4 &pcie2x1_intc 3>; |
| 278 | + linux,pci-domain = <0>; |
| 279 | + max-link-speed = <2>; |
| 280 | + num-ib-windows = <8>; |
| 281 | + num-viewport = <8>; |
| 282 | + num-ob-windows = <2>; |
| 283 | + num-lanes = <1>; |
| 284 | + phys = <&combphy PHY_TYPE_PCIE>; |
| 285 | + phy-names = "pcie-phy"; |
| 286 | + power-domains = <&power 15>; |
| 287 | + ranges = <0x01000000 0x0 0xfc100000 0x0 0xfc100000 0x0 0x100000 |
| 288 | + 0x02000000 0x0 0xfc200000 0x0 0xfc200000 0x0 0x1e00000 |
| 289 | + 0x03000000 0x3 0x00000000 0x3 0x00000000 0x0 0x40000000>; |
| 290 | + resets = <&cru SRST_PCIE20_POWERUP>; |
| 291 | + reset-names = "pipe"; |
| 292 | + #address-cells = <3>; |
| 293 | + #size-cells = <2>; |
| 294 | + status = "disabled"; |
| 295 | + |
| 296 | + pcie2x1_intc: legacy-interrupt-controller { |
| 297 | + interrupt-controller; |
| 298 | + #address-cells = <0>; |
| 299 | + #interrupt-cells = <1>; |
| 300 | + interrupt-parent = <&gic>; |
| 301 | + interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 302 | + }; |
| 303 | + }; |
| 304 | + |
252 | 305 | gic: interrupt-controller@fe901000 { |
253 | 306 | compatible = "arm,gic-400"; |
254 | 307 | #interrupt-cells = <3>; |
|
621 | 674 | status = "disabled"; |
622 | 675 | }; |
623 | 676 |
|
624 | | - pcie2x1: pcie@ff500000 { |
625 | | - compatible = "rockchip,rk3562-pcie", "rockchip,rk3568-pcie"; |
626 | | - bus-range = <0x0 0xff>; |
627 | | - clocks = <&cru ACLK_PCIE20_MST>, <&cru ACLK_PCIE20_SLV>, |
628 | | - <&cru ACLK_PCIE20_DBI>, <&cru PCLK_PCIE20>, |
629 | | - <&cru CLK_PCIE20_AUX>; |
630 | | - clock-names = "aclk_mst", "aclk_slv", |
631 | | - "aclk_dbi", "pclk", "aux"; |
632 | | - device_type = "pci"; |
633 | | - interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, |
634 | | - <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, |
635 | | - <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, |
636 | | - <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, |
637 | | - <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, |
638 | | - <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; |
639 | | - interrupt-names = "sys", "pmc", "msg", "legacy", "err", "msi"; |
640 | | - #interrupt-cells = <1>; |
641 | | - interrupt-map-mask = <0 0 0 7>; |
642 | | - interrupt-map = <0 0 0 1 &pcie2x1_intc 0>, |
643 | | - <0 0 0 2 &pcie2x1_intc 1>, |
644 | | - <0 0 0 3 &pcie2x1_intc 2>, |
645 | | - <0 0 0 4 &pcie2x1_intc 3>; |
646 | | - linux,pci-domain = <0>; |
647 | | - max-link-speed = <2>; |
648 | | - num-ib-windows = <8>; |
649 | | - num-viewport = <8>; |
650 | | - num-ob-windows = <2>; |
651 | | - num-lanes = <1>; |
652 | | - phys = <&combphy PHY_TYPE_PCIE>; |
653 | | - phy-names = "pcie-phy"; |
654 | | - power-domains = <&power 15>; |
655 | | - ranges = <0x01000000 0x0 0xfc100000 0x0 0xfc100000 0x0 0x100000 |
656 | | - 0x02000000 0x0 0xfc200000 0x0 0xfc200000 0x0 0x1e00000 |
657 | | - 0x03000000 0x3 0x00000000 0x3 0x00000000 0x0 0x40000000>; |
658 | | - reg = <0x0 0xfe000000 0x0 0x400000>, |
659 | | - <0x0 0xff500000 0x0 0x10000>, |
660 | | - <0x0 0xfc000000 0x0 0x100000>; |
661 | | - reg-names = "dbi", "apb", "config"; |
662 | | - resets = <&cru SRST_PCIE20_POWERUP>; |
663 | | - reset-names = "pipe"; |
664 | | - #address-cells = <3>; |
665 | | - #size-cells = <2>; |
666 | | - status = "disabled"; |
667 | | - |
668 | | - pcie2x1_intc: legacy-interrupt-controller { |
669 | | - interrupt-controller; |
670 | | - #address-cells = <0>; |
671 | | - #interrupt-cells = <1>; |
672 | | - interrupt-parent = <&gic>; |
673 | | - interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
674 | | - }; |
675 | | - }; |
676 | | - |
677 | 677 | spi1: spi@ff640000 { |
678 | 678 | compatible = "rockchip,rk3066-spi"; |
679 | 679 | reg = <0x0 0xff640000 0x0 0x1000>; |
|
0 commit comments