]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm64/boot/dts/arm/juno-base.dtsi
Merge tag 'samsung-dt64-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / arm64 / boot / dts / arm / juno-base.dtsi
index 7d832247d0dbca1418d07a11ab34ffe2c8f0734d..9d799d938d2f6b1b56c81cdf4ba8731e3ca47dc4 100644 (file)
@@ -1,6 +1,10 @@
+#include "juno-clocks.dtsi"
+
+/ {
        /*
         *  Devices shared by all Juno boards
         */
+       dma-ranges = <0 0 0 0 0x100 0>;
 
        memtimer: timer@2a810000 {
                compatible = "arm,armv7-timer-mem";
@@ -48,6 +52,7 @@
                #iommu-cells = <1>;
                #global-interrupts = <1>;
                dma-coherent;
+               power-domains = <&scpi_devpd 0>;
                status = "disabled";
        };
 
@@ -83,7 +88,7 @@
         * The actual size is just 4K though 64K is reserved. Access to the
         * unmapped reserved region results in a DECERR response.
         */
-       etf@20010000 {
+       etf@20010000 { /* etf0 */
                compatible = "arm,coresight-tmc", "arm,primecell";
                reg = <0 0x20010000 0 0x1000>;
 
                        /* input port */
                        port@0 {
                                reg = <0>;
-                               etf_in_port: endpoint {
+                               etf0_in_port: endpoint {
                                        slave-mode;
                                        remote-endpoint = <&main_funnel_out_port>;
                                };
                        /* output port */
                        port@1 {
                                reg = <0>;
-                               etf_out_port: endpoint {
-                                       remote-endpoint = <&replicator_in_port0>;
+                               etf0_out_port: endpoint {
                                };
                        };
                };
                };
        };
 
-       main-funnel@20040000 {
+       /* main funnel on Juno r0, cssys0 funnel on Juno r1/r2 as per TRM*/
+       main_funnel: funnel@20040000 {
                compatible = "arm,coresight-funnel", "arm,primecell";
                reg = <0 0x20040000 0 0x1000>;
 
                        #address-cells = <1>;
                        #size-cells = <0>;
 
+                       /* output port */
                        port@0 {
                                reg = <0>;
                                main_funnel_out_port: endpoint {
-                                       remote-endpoint = <&etf_in_port>;
+                                       remote-endpoint = <&etf0_in_port>;
                                };
                        };
 
+                       /* input ports */
                        port@1 {
                                reg = <0>;
                                main_funnel_in_port0: endpoint {
                                        remote-endpoint = <&cluster1_funnel_out_port>;
                                };
                        };
-
                };
        };
 
                };
        };
 
+       stm@20100000 {
+               compatible = "arm,coresight-stm", "arm,primecell";
+               reg = <0 0x20100000 0 0x1000>,
+                     <0 0x28000000 0 0x1000000>;
+               reg-names = "stm-base", "stm-stimulus-base";
+
+               clocks = <&soc_smc50mhz>;
+               clock-names = "apb_pclk";
+               power-domains = <&scpi_devpd 0>;
+               port {
+                       stm_out_port: endpoint {
+                       };
+               };
+       };
+
        etm0: etm@22040000 {
                compatible = "arm,coresight-etm4x", "arm,primecell";
                reg = <0 0x22040000 0 0x1000>;
                };
        };
 
-       cluster0-funnel@220c0000 {
+       funnel@220c0000 { /* cluster0 funnel */
                compatible = "arm,coresight-funnel", "arm,primecell";
                reg = <0 0x220c0000 0 0x1000>;
 
                };
        };
 
-       cluster1-funnel@230c0000 {
+       funnel@230c0000 { /* cluster1 funnel */
                compatible = "arm,coresight-funnel", "arm,primecell";
                reg = <0 0x230c0000 0 0x1000>;
 
                                reg = <0>;
                                replicator_in_port0: endpoint {
                                        slave-mode;
-                                       remote-endpoint = <&etf_out_port>;
                                };
                        };
                };
                };
        };
 
-       /include/ "juno-clocks.dtsi"
-
        smmu_dma: iommu@7fb00000 {
                compatible = "arm,mmu-401", "arm,smmu-v1";
                reg = <0x0 0x7fb00000 0x0 0x10000>;
                interrupt-map-mask = <0 0>;
                interrupt-map = <0 0 &gic 0 0 0 168 IRQ_TYPE_LEVEL_HIGH>;
        };
+};