diff options
author | Yong Wu <yong.wu@mediatek.com> | 2016-02-22 12:20:51 -0500 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-02-25 10:49:09 -0500 |
commit | 5ff6b3a6d3915b4238cfc2725362d586c9927e92 (patch) | |
tree | 4201a380a2b7a11b89532e87e298c45f4c4a13e2 /arch/arm64 | |
parent | 0df4fabe208d9576f2671d31e77cf46d20fdcd01 (diff) |
dts: mt8173: Add iommu/smi nodes for mt8173
This patch add the iommu/larbs nodes for mt8173
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt8173.dtsi | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index ec135eae31f5..804881181fcc 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <dt-bindings/clock/mt8173-clk.h> | 14 | #include <dt-bindings/clock/mt8173-clk.h> |
15 | #include <dt-bindings/interrupt-controller/irq.h> | 15 | #include <dt-bindings/interrupt-controller/irq.h> |
16 | #include <dt-bindings/interrupt-controller/arm-gic.h> | 16 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
17 | #include <dt-bindings/memory/mt8173-larb-port.h> | ||
17 | #include <dt-bindings/phy/phy.h> | 18 | #include <dt-bindings/phy/phy.h> |
18 | #include <dt-bindings/power/mt8173-power.h> | 19 | #include <dt-bindings/power/mt8173-power.h> |
19 | #include <dt-bindings/reset/mt8173-resets.h> | 20 | #include <dt-bindings/reset/mt8173-resets.h> |
@@ -277,6 +278,17 @@ | |||
277 | reg = <0 0x10200620 0 0x20>; | 278 | reg = <0 0x10200620 0 0x20>; |
278 | }; | 279 | }; |
279 | 280 | ||
281 | iommu: iommu@10205000 { | ||
282 | compatible = "mediatek,mt8173-m4u"; | ||
283 | reg = <0 0x10205000 0 0x1000>; | ||
284 | interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_LOW>; | ||
285 | clocks = <&infracfg CLK_INFRA_M4U>; | ||
286 | clock-names = "bclk"; | ||
287 | mediatek,larbs = <&larb0 &larb1 &larb2 | ||
288 | &larb3 &larb4 &larb5>; | ||
289 | #iommu-cells = <1>; | ||
290 | }; | ||
291 | |||
280 | apmixedsys: clock-controller@10209000 { | 292 | apmixedsys: clock-controller@10209000 { |
281 | compatible = "mediatek,mt8173-apmixedsys"; | 293 | compatible = "mediatek,mt8173-apmixedsys"; |
282 | reg = <0 0x10209000 0 0x1000>; | 294 | reg = <0 0x10209000 0 0x1000>; |
@@ -589,29 +601,98 @@ | |||
589 | status = "disabled"; | 601 | status = "disabled"; |
590 | }; | 602 | }; |
591 | 603 | ||
604 | larb0: larb@14021000 { | ||
605 | compatible = "mediatek,mt8173-smi-larb"; | ||
606 | reg = <0 0x14021000 0 0x1000>; | ||
607 | mediatek,smi = <&smi_common>; | ||
608 | power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; | ||
609 | clocks = <&mmsys CLK_MM_SMI_LARB0>, | ||
610 | <&mmsys CLK_MM_SMI_LARB0>; | ||
611 | clock-names = "apb", "smi"; | ||
612 | }; | ||
613 | |||
614 | smi_common: smi@14022000 { | ||
615 | compatible = "mediatek,mt8173-smi-common"; | ||
616 | reg = <0 0x14022000 0 0x1000>; | ||
617 | power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; | ||
618 | clocks = <&mmsys CLK_MM_SMI_COMMON>, | ||
619 | <&mmsys CLK_MM_SMI_COMMON>; | ||
620 | clock-names = "apb", "smi"; | ||
621 | }; | ||
622 | |||
623 | larb4: larb@14027000 { | ||
624 | compatible = "mediatek,mt8173-smi-larb"; | ||
625 | reg = <0 0x14027000 0 0x1000>; | ||
626 | mediatek,smi = <&smi_common>; | ||
627 | power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>; | ||
628 | clocks = <&mmsys CLK_MM_SMI_LARB4>, | ||
629 | <&mmsys CLK_MM_SMI_LARB4>; | ||
630 | clock-names = "apb", "smi"; | ||
631 | }; | ||
632 | |||
592 | imgsys: clock-controller@15000000 { | 633 | imgsys: clock-controller@15000000 { |
593 | compatible = "mediatek,mt8173-imgsys", "syscon"; | 634 | compatible = "mediatek,mt8173-imgsys", "syscon"; |
594 | reg = <0 0x15000000 0 0x1000>; | 635 | reg = <0 0x15000000 0 0x1000>; |
595 | #clock-cells = <1>; | 636 | #clock-cells = <1>; |
596 | }; | 637 | }; |
597 | 638 | ||
639 | larb2: larb@15001000 { | ||
640 | compatible = "mediatek,mt8173-smi-larb"; | ||
641 | reg = <0 0x15001000 0 0x1000>; | ||
642 | mediatek,smi = <&smi_common>; | ||
643 | power-domains = <&scpsys MT8173_POWER_DOMAIN_ISP>; | ||
644 | clocks = <&imgsys CLK_IMG_LARB2_SMI>, | ||
645 | <&imgsys CLK_IMG_LARB2_SMI>; | ||
646 | clock-names = "apb", "smi"; | ||
647 | }; | ||
648 | |||
598 | vdecsys: clock-controller@16000000 { | 649 | vdecsys: clock-controller@16000000 { |
599 | compatible = "mediatek,mt8173-vdecsys", "syscon"; | 650 | compatible = "mediatek,mt8173-vdecsys", "syscon"; |
600 | reg = <0 0x16000000 0 0x1000>; | 651 | reg = <0 0x16000000 0 0x1000>; |
601 | #clock-cells = <1>; | 652 | #clock-cells = <1>; |
602 | }; | 653 | }; |
603 | 654 | ||
655 | larb1: larb@16010000 { | ||
656 | compatible = "mediatek,mt8173-smi-larb"; | ||
657 | reg = <0 0x16010000 0 0x1000>; | ||
658 | mediatek,smi = <&smi_common>; | ||
659 | power-domains = <&scpsys MT8173_POWER_DOMAIN_VDEC>; | ||
660 | clocks = <&vdecsys CLK_VDEC_CKEN>, | ||
661 | <&vdecsys CLK_VDEC_LARB_CKEN>; | ||
662 | clock-names = "apb", "smi"; | ||
663 | }; | ||
664 | |||
604 | vencsys: clock-controller@18000000 { | 665 | vencsys: clock-controller@18000000 { |
605 | compatible = "mediatek,mt8173-vencsys", "syscon"; | 666 | compatible = "mediatek,mt8173-vencsys", "syscon"; |
606 | reg = <0 0x18000000 0 0x1000>; | 667 | reg = <0 0x18000000 0 0x1000>; |
607 | #clock-cells = <1>; | 668 | #clock-cells = <1>; |
608 | }; | 669 | }; |
609 | 670 | ||
671 | larb3: larb@18001000 { | ||
672 | compatible = "mediatek,mt8173-smi-larb"; | ||
673 | reg = <0 0x18001000 0 0x1000>; | ||
674 | mediatek,smi = <&smi_common>; | ||
675 | power-domains = <&scpsys MT8173_POWER_DOMAIN_VENC>; | ||
676 | clocks = <&vencsys CLK_VENC_CKE1>, | ||
677 | <&vencsys CLK_VENC_CKE0>; | ||
678 | clock-names = "apb", "smi"; | ||
679 | }; | ||
680 | |||
610 | vencltsys: clock-controller@19000000 { | 681 | vencltsys: clock-controller@19000000 { |
611 | compatible = "mediatek,mt8173-vencltsys", "syscon"; | 682 | compatible = "mediatek,mt8173-vencltsys", "syscon"; |
612 | reg = <0 0x19000000 0 0x1000>; | 683 | reg = <0 0x19000000 0 0x1000>; |
613 | #clock-cells = <1>; | 684 | #clock-cells = <1>; |
614 | }; | 685 | }; |
686 | |||
687 | larb5: larb@19001000 { | ||
688 | compatible = "mediatek,mt8173-smi-larb"; | ||
689 | reg = <0 0x19001000 0 0x1000>; | ||
690 | mediatek,smi = <&smi_common>; | ||
691 | power-domains = <&scpsys MT8173_POWER_DOMAIN_VENC_LT>; | ||
692 | clocks = <&vencltsys CLK_VENCLT_CKE1>, | ||
693 | <&vencltsys CLK_VENCLT_CKE0>; | ||
694 | clock-names = "apb", "smi"; | ||
695 | }; | ||
615 | }; | 696 | }; |
616 | }; | 697 | }; |
617 | 698 | ||