18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * dts file for AppliedMicro (APM) X-Gene Storm SOC 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2013, Applied Micro Circuits Corporation 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci/ { 98c2ecf20Sopenharmony_ci compatible = "apm,xgene-storm"; 108c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 118c2ecf20Sopenharmony_ci #address-cells = <2>; 128c2ecf20Sopenharmony_ci #size-cells = <2>; 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci cpus { 158c2ecf20Sopenharmony_ci #address-cells = <2>; 168c2ecf20Sopenharmony_ci #size-cells = <0>; 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci cpu@0 { 198c2ecf20Sopenharmony_ci device_type = "cpu"; 208c2ecf20Sopenharmony_ci compatible = "apm,potenza"; 218c2ecf20Sopenharmony_ci reg = <0x0 0x000>; 228c2ecf20Sopenharmony_ci enable-method = "spin-table"; 238c2ecf20Sopenharmony_ci cpu-release-addr = <0x1 0x0000fff8>; 248c2ecf20Sopenharmony_ci next-level-cache = <&xgene_L2_0>; 258c2ecf20Sopenharmony_ci }; 268c2ecf20Sopenharmony_ci cpu@1 { 278c2ecf20Sopenharmony_ci device_type = "cpu"; 288c2ecf20Sopenharmony_ci compatible = "apm,potenza"; 298c2ecf20Sopenharmony_ci reg = <0x0 0x001>; 308c2ecf20Sopenharmony_ci enable-method = "spin-table"; 318c2ecf20Sopenharmony_ci cpu-release-addr = <0x1 0x0000fff8>; 328c2ecf20Sopenharmony_ci next-level-cache = <&xgene_L2_0>; 338c2ecf20Sopenharmony_ci }; 348c2ecf20Sopenharmony_ci cpu@100 { 358c2ecf20Sopenharmony_ci device_type = "cpu"; 368c2ecf20Sopenharmony_ci compatible = "apm,potenza"; 378c2ecf20Sopenharmony_ci reg = <0x0 0x100>; 388c2ecf20Sopenharmony_ci enable-method = "spin-table"; 398c2ecf20Sopenharmony_ci cpu-release-addr = <0x1 0x0000fff8>; 408c2ecf20Sopenharmony_ci next-level-cache = <&xgene_L2_1>; 418c2ecf20Sopenharmony_ci }; 428c2ecf20Sopenharmony_ci cpu@101 { 438c2ecf20Sopenharmony_ci device_type = "cpu"; 448c2ecf20Sopenharmony_ci compatible = "apm,potenza"; 458c2ecf20Sopenharmony_ci reg = <0x0 0x101>; 468c2ecf20Sopenharmony_ci enable-method = "spin-table"; 478c2ecf20Sopenharmony_ci cpu-release-addr = <0x1 0x0000fff8>; 488c2ecf20Sopenharmony_ci next-level-cache = <&xgene_L2_1>; 498c2ecf20Sopenharmony_ci }; 508c2ecf20Sopenharmony_ci cpu@200 { 518c2ecf20Sopenharmony_ci device_type = "cpu"; 528c2ecf20Sopenharmony_ci compatible = "apm,potenza"; 538c2ecf20Sopenharmony_ci reg = <0x0 0x200>; 548c2ecf20Sopenharmony_ci enable-method = "spin-table"; 558c2ecf20Sopenharmony_ci cpu-release-addr = <0x1 0x0000fff8>; 568c2ecf20Sopenharmony_ci next-level-cache = <&xgene_L2_2>; 578c2ecf20Sopenharmony_ci }; 588c2ecf20Sopenharmony_ci cpu@201 { 598c2ecf20Sopenharmony_ci device_type = "cpu"; 608c2ecf20Sopenharmony_ci compatible = "apm,potenza"; 618c2ecf20Sopenharmony_ci reg = <0x0 0x201>; 628c2ecf20Sopenharmony_ci enable-method = "spin-table"; 638c2ecf20Sopenharmony_ci cpu-release-addr = <0x1 0x0000fff8>; 648c2ecf20Sopenharmony_ci next-level-cache = <&xgene_L2_2>; 658c2ecf20Sopenharmony_ci }; 668c2ecf20Sopenharmony_ci cpu@300 { 678c2ecf20Sopenharmony_ci device_type = "cpu"; 688c2ecf20Sopenharmony_ci compatible = "apm,potenza"; 698c2ecf20Sopenharmony_ci reg = <0x0 0x300>; 708c2ecf20Sopenharmony_ci enable-method = "spin-table"; 718c2ecf20Sopenharmony_ci cpu-release-addr = <0x1 0x0000fff8>; 728c2ecf20Sopenharmony_ci next-level-cache = <&xgene_L2_3>; 738c2ecf20Sopenharmony_ci }; 748c2ecf20Sopenharmony_ci cpu@301 { 758c2ecf20Sopenharmony_ci device_type = "cpu"; 768c2ecf20Sopenharmony_ci compatible = "apm,potenza"; 778c2ecf20Sopenharmony_ci reg = <0x0 0x301>; 788c2ecf20Sopenharmony_ci enable-method = "spin-table"; 798c2ecf20Sopenharmony_ci cpu-release-addr = <0x1 0x0000fff8>; 808c2ecf20Sopenharmony_ci next-level-cache = <&xgene_L2_3>; 818c2ecf20Sopenharmony_ci }; 828c2ecf20Sopenharmony_ci xgene_L2_0: l2-cache-0 { 838c2ecf20Sopenharmony_ci compatible = "cache"; 848c2ecf20Sopenharmony_ci }; 858c2ecf20Sopenharmony_ci xgene_L2_1: l2-cache-1 { 868c2ecf20Sopenharmony_ci compatible = "cache"; 878c2ecf20Sopenharmony_ci }; 888c2ecf20Sopenharmony_ci xgene_L2_2: l2-cache-2 { 898c2ecf20Sopenharmony_ci compatible = "cache"; 908c2ecf20Sopenharmony_ci }; 918c2ecf20Sopenharmony_ci xgene_L2_3: l2-cache-3 { 928c2ecf20Sopenharmony_ci compatible = "cache"; 938c2ecf20Sopenharmony_ci }; 948c2ecf20Sopenharmony_ci }; 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ci gic: interrupt-controller@78010000 { 978c2ecf20Sopenharmony_ci compatible = "arm,cortex-a15-gic"; 988c2ecf20Sopenharmony_ci #interrupt-cells = <3>; 998c2ecf20Sopenharmony_ci interrupt-controller; 1008c2ecf20Sopenharmony_ci reg = <0x0 0x78010000 0x0 0x1000>, /* GIC Dist */ 1018c2ecf20Sopenharmony_ci <0x0 0x78020000 0x0 0x1000>, /* GIC CPU */ 1028c2ecf20Sopenharmony_ci <0x0 0x78040000 0x0 0x2000>, /* GIC VCPU Control */ 1038c2ecf20Sopenharmony_ci <0x0 0x78060000 0x0 0x2000>; /* GIC VCPU */ 1048c2ecf20Sopenharmony_ci interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */ 1058c2ecf20Sopenharmony_ci }; 1068c2ecf20Sopenharmony_ci 1078c2ecf20Sopenharmony_ci timer { 1088c2ecf20Sopenharmony_ci compatible = "arm,armv8-timer"; 1098c2ecf20Sopenharmony_ci interrupts = <1 0 0xff08>, /* Secure Phys IRQ */ 1108c2ecf20Sopenharmony_ci <1 13 0xff08>, /* Non-secure Phys IRQ */ 1118c2ecf20Sopenharmony_ci <1 14 0xff08>, /* Virt IRQ */ 1128c2ecf20Sopenharmony_ci <1 15 0xff08>; /* Hyp IRQ */ 1138c2ecf20Sopenharmony_ci clock-frequency = <50000000>; 1148c2ecf20Sopenharmony_ci }; 1158c2ecf20Sopenharmony_ci 1168c2ecf20Sopenharmony_ci pmu { 1178c2ecf20Sopenharmony_ci compatible = "apm,potenza-pmu", "arm,armv8-pmuv3"; 1188c2ecf20Sopenharmony_ci interrupts = <1 12 0xff04>; 1198c2ecf20Sopenharmony_ci }; 1208c2ecf20Sopenharmony_ci 1218c2ecf20Sopenharmony_ci soc { 1228c2ecf20Sopenharmony_ci compatible = "simple-bus"; 1238c2ecf20Sopenharmony_ci #address-cells = <2>; 1248c2ecf20Sopenharmony_ci #size-cells = <2>; 1258c2ecf20Sopenharmony_ci ranges; 1268c2ecf20Sopenharmony_ci dma-ranges = <0x0 0x0 0x0 0x0 0x400 0x0>; 1278c2ecf20Sopenharmony_ci 1288c2ecf20Sopenharmony_ci clocks { 1298c2ecf20Sopenharmony_ci #address-cells = <2>; 1308c2ecf20Sopenharmony_ci #size-cells = <2>; 1318c2ecf20Sopenharmony_ci ranges; 1328c2ecf20Sopenharmony_ci refclk: refclk { 1338c2ecf20Sopenharmony_ci compatible = "fixed-clock"; 1348c2ecf20Sopenharmony_ci #clock-cells = <1>; 1358c2ecf20Sopenharmony_ci clock-frequency = <100000000>; 1368c2ecf20Sopenharmony_ci clock-output-names = "refclk"; 1378c2ecf20Sopenharmony_ci }; 1388c2ecf20Sopenharmony_ci 1398c2ecf20Sopenharmony_ci pcppll: pcppll@17000100 { 1408c2ecf20Sopenharmony_ci compatible = "apm,xgene-pcppll-clock"; 1418c2ecf20Sopenharmony_ci #clock-cells = <1>; 1428c2ecf20Sopenharmony_ci clocks = <&refclk 0>; 1438c2ecf20Sopenharmony_ci clock-names = "pcppll"; 1448c2ecf20Sopenharmony_ci reg = <0x0 0x17000100 0x0 0x1000>; 1458c2ecf20Sopenharmony_ci clock-output-names = "pcppll"; 1468c2ecf20Sopenharmony_ci type = <0>; 1478c2ecf20Sopenharmony_ci }; 1488c2ecf20Sopenharmony_ci 1498c2ecf20Sopenharmony_ci socpll: socpll@17000120 { 1508c2ecf20Sopenharmony_ci compatible = "apm,xgene-socpll-clock"; 1518c2ecf20Sopenharmony_ci #clock-cells = <1>; 1528c2ecf20Sopenharmony_ci clocks = <&refclk 0>; 1538c2ecf20Sopenharmony_ci clock-names = "socpll"; 1548c2ecf20Sopenharmony_ci reg = <0x0 0x17000120 0x0 0x1000>; 1558c2ecf20Sopenharmony_ci clock-output-names = "socpll"; 1568c2ecf20Sopenharmony_ci type = <1>; 1578c2ecf20Sopenharmony_ci }; 1588c2ecf20Sopenharmony_ci 1598c2ecf20Sopenharmony_ci socplldiv2: socplldiv2 { 1608c2ecf20Sopenharmony_ci compatible = "fixed-factor-clock"; 1618c2ecf20Sopenharmony_ci #clock-cells = <1>; 1628c2ecf20Sopenharmony_ci clocks = <&socpll 0>; 1638c2ecf20Sopenharmony_ci clock-names = "socplldiv2"; 1648c2ecf20Sopenharmony_ci clock-mult = <1>; 1658c2ecf20Sopenharmony_ci clock-div = <2>; 1668c2ecf20Sopenharmony_ci clock-output-names = "socplldiv2"; 1678c2ecf20Sopenharmony_ci }; 1688c2ecf20Sopenharmony_ci 1698c2ecf20Sopenharmony_ci ahbclk: ahbclk@17000000 { 1708c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 1718c2ecf20Sopenharmony_ci #clock-cells = <1>; 1728c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 1738c2ecf20Sopenharmony_ci reg = <0x0 0x17000000 0x0 0x2000>; 1748c2ecf20Sopenharmony_ci reg-names = "div-reg"; 1758c2ecf20Sopenharmony_ci divider-offset = <0x164>; 1768c2ecf20Sopenharmony_ci divider-width = <0x5>; 1778c2ecf20Sopenharmony_ci divider-shift = <0x0>; 1788c2ecf20Sopenharmony_ci clock-output-names = "ahbclk"; 1798c2ecf20Sopenharmony_ci }; 1808c2ecf20Sopenharmony_ci 1818c2ecf20Sopenharmony_ci sdioclk: sdioclk@1f2ac000 { 1828c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 1838c2ecf20Sopenharmony_ci #clock-cells = <1>; 1848c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 1858c2ecf20Sopenharmony_ci reg = <0x0 0x1f2ac000 0x0 0x1000 1868c2ecf20Sopenharmony_ci 0x0 0x17000000 0x0 0x2000>; 1878c2ecf20Sopenharmony_ci reg-names = "csr-reg", "div-reg"; 1888c2ecf20Sopenharmony_ci csr-offset = <0x0>; 1898c2ecf20Sopenharmony_ci csr-mask = <0x2>; 1908c2ecf20Sopenharmony_ci enable-offset = <0x8>; 1918c2ecf20Sopenharmony_ci enable-mask = <0x2>; 1928c2ecf20Sopenharmony_ci divider-offset = <0x178>; 1938c2ecf20Sopenharmony_ci divider-width = <0x8>; 1948c2ecf20Sopenharmony_ci divider-shift = <0x0>; 1958c2ecf20Sopenharmony_ci clock-output-names = "sdioclk"; 1968c2ecf20Sopenharmony_ci }; 1978c2ecf20Sopenharmony_ci 1988c2ecf20Sopenharmony_ci ethclk: ethclk { 1998c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 2008c2ecf20Sopenharmony_ci #clock-cells = <1>; 2018c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 2028c2ecf20Sopenharmony_ci clock-names = "ethclk"; 2038c2ecf20Sopenharmony_ci reg = <0x0 0x17000000 0x0 0x1000>; 2048c2ecf20Sopenharmony_ci reg-names = "div-reg"; 2058c2ecf20Sopenharmony_ci divider-offset = <0x238>; 2068c2ecf20Sopenharmony_ci divider-width = <0x9>; 2078c2ecf20Sopenharmony_ci divider-shift = <0x0>; 2088c2ecf20Sopenharmony_ci clock-output-names = "ethclk"; 2098c2ecf20Sopenharmony_ci }; 2108c2ecf20Sopenharmony_ci 2118c2ecf20Sopenharmony_ci menetclk: menetclk { 2128c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 2138c2ecf20Sopenharmony_ci #clock-cells = <1>; 2148c2ecf20Sopenharmony_ci clocks = <ðclk 0>; 2158c2ecf20Sopenharmony_ci reg = <0x0 0x1702c000 0x0 0x1000>; 2168c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 2178c2ecf20Sopenharmony_ci clock-output-names = "menetclk"; 2188c2ecf20Sopenharmony_ci }; 2198c2ecf20Sopenharmony_ci 2208c2ecf20Sopenharmony_ci sge0clk: sge0clk@1f21c000 { 2218c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 2228c2ecf20Sopenharmony_ci #clock-cells = <1>; 2238c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 2248c2ecf20Sopenharmony_ci reg = <0x0 0x1f21c000 0x0 0x1000>; 2258c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 2268c2ecf20Sopenharmony_ci csr-mask = <0xa>; 2278c2ecf20Sopenharmony_ci enable-mask = <0xf>; 2288c2ecf20Sopenharmony_ci clock-output-names = "sge0clk"; 2298c2ecf20Sopenharmony_ci }; 2308c2ecf20Sopenharmony_ci 2318c2ecf20Sopenharmony_ci xge0clk: xge0clk@1f61c000 { 2328c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 2338c2ecf20Sopenharmony_ci #clock-cells = <1>; 2348c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 2358c2ecf20Sopenharmony_ci reg = <0x0 0x1f61c000 0x0 0x1000>; 2368c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 2378c2ecf20Sopenharmony_ci csr-mask = <0x3>; 2388c2ecf20Sopenharmony_ci clock-output-names = "xge0clk"; 2398c2ecf20Sopenharmony_ci }; 2408c2ecf20Sopenharmony_ci 2418c2ecf20Sopenharmony_ci xge1clk: xge1clk@1f62c000 { 2428c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 2438c2ecf20Sopenharmony_ci status = "disabled"; 2448c2ecf20Sopenharmony_ci #clock-cells = <1>; 2458c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 2468c2ecf20Sopenharmony_ci reg = <0x0 0x1f62c000 0x0 0x1000>; 2478c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 2488c2ecf20Sopenharmony_ci csr-mask = <0x3>; 2498c2ecf20Sopenharmony_ci clock-output-names = "xge1clk"; 2508c2ecf20Sopenharmony_ci }; 2518c2ecf20Sopenharmony_ci 2528c2ecf20Sopenharmony_ci sataphy1clk: sataphy1clk@1f21c000 { 2538c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 2548c2ecf20Sopenharmony_ci #clock-cells = <1>; 2558c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 2568c2ecf20Sopenharmony_ci reg = <0x0 0x1f21c000 0x0 0x1000>; 2578c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 2588c2ecf20Sopenharmony_ci clock-output-names = "sataphy1clk"; 2598c2ecf20Sopenharmony_ci status = "disabled"; 2608c2ecf20Sopenharmony_ci csr-offset = <0x4>; 2618c2ecf20Sopenharmony_ci csr-mask = <0x00>; 2628c2ecf20Sopenharmony_ci enable-offset = <0x0>; 2638c2ecf20Sopenharmony_ci enable-mask = <0x06>; 2648c2ecf20Sopenharmony_ci }; 2658c2ecf20Sopenharmony_ci 2668c2ecf20Sopenharmony_ci sataphy2clk: sataphy1clk@1f22c000 { 2678c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 2688c2ecf20Sopenharmony_ci #clock-cells = <1>; 2698c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 2708c2ecf20Sopenharmony_ci reg = <0x0 0x1f22c000 0x0 0x1000>; 2718c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 2728c2ecf20Sopenharmony_ci clock-output-names = "sataphy2clk"; 2738c2ecf20Sopenharmony_ci status = "ok"; 2748c2ecf20Sopenharmony_ci csr-offset = <0x4>; 2758c2ecf20Sopenharmony_ci csr-mask = <0x3a>; 2768c2ecf20Sopenharmony_ci enable-offset = <0x0>; 2778c2ecf20Sopenharmony_ci enable-mask = <0x06>; 2788c2ecf20Sopenharmony_ci }; 2798c2ecf20Sopenharmony_ci 2808c2ecf20Sopenharmony_ci sataphy3clk: sataphy1clk@1f23c000 { 2818c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 2828c2ecf20Sopenharmony_ci #clock-cells = <1>; 2838c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 2848c2ecf20Sopenharmony_ci reg = <0x0 0x1f23c000 0x0 0x1000>; 2858c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 2868c2ecf20Sopenharmony_ci clock-output-names = "sataphy3clk"; 2878c2ecf20Sopenharmony_ci status = "ok"; 2888c2ecf20Sopenharmony_ci csr-offset = <0x4>; 2898c2ecf20Sopenharmony_ci csr-mask = <0x3a>; 2908c2ecf20Sopenharmony_ci enable-offset = <0x0>; 2918c2ecf20Sopenharmony_ci enable-mask = <0x06>; 2928c2ecf20Sopenharmony_ci }; 2938c2ecf20Sopenharmony_ci 2948c2ecf20Sopenharmony_ci sata01clk: sata01clk@1f21c000 { 2958c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 2968c2ecf20Sopenharmony_ci #clock-cells = <1>; 2978c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 2988c2ecf20Sopenharmony_ci reg = <0x0 0x1f21c000 0x0 0x1000>; 2998c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 3008c2ecf20Sopenharmony_ci clock-output-names = "sata01clk"; 3018c2ecf20Sopenharmony_ci csr-offset = <0x4>; 3028c2ecf20Sopenharmony_ci csr-mask = <0x05>; 3038c2ecf20Sopenharmony_ci enable-offset = <0x0>; 3048c2ecf20Sopenharmony_ci enable-mask = <0x39>; 3058c2ecf20Sopenharmony_ci }; 3068c2ecf20Sopenharmony_ci 3078c2ecf20Sopenharmony_ci sata23clk: sata23clk@1f22c000 { 3088c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 3098c2ecf20Sopenharmony_ci #clock-cells = <1>; 3108c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 3118c2ecf20Sopenharmony_ci reg = <0x0 0x1f22c000 0x0 0x1000>; 3128c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 3138c2ecf20Sopenharmony_ci clock-output-names = "sata23clk"; 3148c2ecf20Sopenharmony_ci csr-offset = <0x4>; 3158c2ecf20Sopenharmony_ci csr-mask = <0x05>; 3168c2ecf20Sopenharmony_ci enable-offset = <0x0>; 3178c2ecf20Sopenharmony_ci enable-mask = <0x39>; 3188c2ecf20Sopenharmony_ci }; 3198c2ecf20Sopenharmony_ci 3208c2ecf20Sopenharmony_ci sata45clk: sata45clk@1f23c000 { 3218c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 3228c2ecf20Sopenharmony_ci #clock-cells = <1>; 3238c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 3248c2ecf20Sopenharmony_ci reg = <0x0 0x1f23c000 0x0 0x1000>; 3258c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 3268c2ecf20Sopenharmony_ci clock-output-names = "sata45clk"; 3278c2ecf20Sopenharmony_ci csr-offset = <0x4>; 3288c2ecf20Sopenharmony_ci csr-mask = <0x05>; 3298c2ecf20Sopenharmony_ci enable-offset = <0x0>; 3308c2ecf20Sopenharmony_ci enable-mask = <0x39>; 3318c2ecf20Sopenharmony_ci }; 3328c2ecf20Sopenharmony_ci 3338c2ecf20Sopenharmony_ci rtcclk: rtcclk@17000000 { 3348c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 3358c2ecf20Sopenharmony_ci #clock-cells = <1>; 3368c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 3378c2ecf20Sopenharmony_ci reg = <0x0 0x17000000 0x0 0x2000>; 3388c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 3398c2ecf20Sopenharmony_ci csr-offset = <0xc>; 3408c2ecf20Sopenharmony_ci csr-mask = <0x2>; 3418c2ecf20Sopenharmony_ci enable-offset = <0x10>; 3428c2ecf20Sopenharmony_ci enable-mask = <0x2>; 3438c2ecf20Sopenharmony_ci clock-output-names = "rtcclk"; 3448c2ecf20Sopenharmony_ci }; 3458c2ecf20Sopenharmony_ci 3468c2ecf20Sopenharmony_ci rngpkaclk: rngpkaclk@17000000 { 3478c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 3488c2ecf20Sopenharmony_ci #clock-cells = <1>; 3498c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 3508c2ecf20Sopenharmony_ci reg = <0x0 0x17000000 0x0 0x2000>; 3518c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 3528c2ecf20Sopenharmony_ci csr-offset = <0xc>; 3538c2ecf20Sopenharmony_ci csr-mask = <0x10>; 3548c2ecf20Sopenharmony_ci enable-offset = <0x10>; 3558c2ecf20Sopenharmony_ci enable-mask = <0x10>; 3568c2ecf20Sopenharmony_ci clock-output-names = "rngpkaclk"; 3578c2ecf20Sopenharmony_ci }; 3588c2ecf20Sopenharmony_ci 3598c2ecf20Sopenharmony_ci pcie0clk: pcie0clk@1f2bc000 { 3608c2ecf20Sopenharmony_ci status = "disabled"; 3618c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 3628c2ecf20Sopenharmony_ci #clock-cells = <1>; 3638c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 3648c2ecf20Sopenharmony_ci reg = <0x0 0x1f2bc000 0x0 0x1000>; 3658c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 3668c2ecf20Sopenharmony_ci clock-output-names = "pcie0clk"; 3678c2ecf20Sopenharmony_ci }; 3688c2ecf20Sopenharmony_ci 3698c2ecf20Sopenharmony_ci pcie1clk: pcie1clk@1f2cc000 { 3708c2ecf20Sopenharmony_ci status = "disabled"; 3718c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 3728c2ecf20Sopenharmony_ci #clock-cells = <1>; 3738c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 3748c2ecf20Sopenharmony_ci reg = <0x0 0x1f2cc000 0x0 0x1000>; 3758c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 3768c2ecf20Sopenharmony_ci clock-output-names = "pcie1clk"; 3778c2ecf20Sopenharmony_ci }; 3788c2ecf20Sopenharmony_ci 3798c2ecf20Sopenharmony_ci pcie2clk: pcie2clk@1f2dc000 { 3808c2ecf20Sopenharmony_ci status = "disabled"; 3818c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 3828c2ecf20Sopenharmony_ci #clock-cells = <1>; 3838c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 3848c2ecf20Sopenharmony_ci reg = <0x0 0x1f2dc000 0x0 0x1000>; 3858c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 3868c2ecf20Sopenharmony_ci clock-output-names = "pcie2clk"; 3878c2ecf20Sopenharmony_ci }; 3888c2ecf20Sopenharmony_ci 3898c2ecf20Sopenharmony_ci pcie3clk: pcie3clk@1f50c000 { 3908c2ecf20Sopenharmony_ci status = "disabled"; 3918c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 3928c2ecf20Sopenharmony_ci #clock-cells = <1>; 3938c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 3948c2ecf20Sopenharmony_ci reg = <0x0 0x1f50c000 0x0 0x1000>; 3958c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 3968c2ecf20Sopenharmony_ci clock-output-names = "pcie3clk"; 3978c2ecf20Sopenharmony_ci }; 3988c2ecf20Sopenharmony_ci 3998c2ecf20Sopenharmony_ci pcie4clk: pcie4clk@1f51c000 { 4008c2ecf20Sopenharmony_ci status = "disabled"; 4018c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 4028c2ecf20Sopenharmony_ci #clock-cells = <1>; 4038c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 4048c2ecf20Sopenharmony_ci reg = <0x0 0x1f51c000 0x0 0x1000>; 4058c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 4068c2ecf20Sopenharmony_ci clock-output-names = "pcie4clk"; 4078c2ecf20Sopenharmony_ci }; 4088c2ecf20Sopenharmony_ci 4098c2ecf20Sopenharmony_ci dmaclk: dmaclk@1f27c000 { 4108c2ecf20Sopenharmony_ci compatible = "apm,xgene-device-clock"; 4118c2ecf20Sopenharmony_ci #clock-cells = <1>; 4128c2ecf20Sopenharmony_ci clocks = <&socplldiv2 0>; 4138c2ecf20Sopenharmony_ci reg = <0x0 0x1f27c000 0x0 0x1000>; 4148c2ecf20Sopenharmony_ci reg-names = "csr-reg"; 4158c2ecf20Sopenharmony_ci clock-output-names = "dmaclk"; 4168c2ecf20Sopenharmony_ci }; 4178c2ecf20Sopenharmony_ci }; 4188c2ecf20Sopenharmony_ci 4198c2ecf20Sopenharmony_ci msi: msi@79000000 { 4208c2ecf20Sopenharmony_ci compatible = "apm,xgene1-msi"; 4218c2ecf20Sopenharmony_ci msi-controller; 4228c2ecf20Sopenharmony_ci reg = <0x00 0x79000000 0x0 0x900000>; 4238c2ecf20Sopenharmony_ci interrupts = < 0x0 0x10 0x4 4248c2ecf20Sopenharmony_ci 0x0 0x11 0x4 4258c2ecf20Sopenharmony_ci 0x0 0x12 0x4 4268c2ecf20Sopenharmony_ci 0x0 0x13 0x4 4278c2ecf20Sopenharmony_ci 0x0 0x14 0x4 4288c2ecf20Sopenharmony_ci 0x0 0x15 0x4 4298c2ecf20Sopenharmony_ci 0x0 0x16 0x4 4308c2ecf20Sopenharmony_ci 0x0 0x17 0x4 4318c2ecf20Sopenharmony_ci 0x0 0x18 0x4 4328c2ecf20Sopenharmony_ci 0x0 0x19 0x4 4338c2ecf20Sopenharmony_ci 0x0 0x1a 0x4 4348c2ecf20Sopenharmony_ci 0x0 0x1b 0x4 4358c2ecf20Sopenharmony_ci 0x0 0x1c 0x4 4368c2ecf20Sopenharmony_ci 0x0 0x1d 0x4 4378c2ecf20Sopenharmony_ci 0x0 0x1e 0x4 4388c2ecf20Sopenharmony_ci 0x0 0x1f 0x4>; 4398c2ecf20Sopenharmony_ci }; 4408c2ecf20Sopenharmony_ci 4418c2ecf20Sopenharmony_ci scu: system-clk-controller@17000000 { 4428c2ecf20Sopenharmony_ci compatible = "apm,xgene-scu","syscon"; 4438c2ecf20Sopenharmony_ci reg = <0x0 0x17000000 0x0 0x400>; 4448c2ecf20Sopenharmony_ci }; 4458c2ecf20Sopenharmony_ci 4468c2ecf20Sopenharmony_ci reboot: reboot@17000014 { 4478c2ecf20Sopenharmony_ci compatible = "syscon-reboot"; 4488c2ecf20Sopenharmony_ci regmap = <&scu>; 4498c2ecf20Sopenharmony_ci offset = <0x14>; 4508c2ecf20Sopenharmony_ci mask = <0x1>; 4518c2ecf20Sopenharmony_ci }; 4528c2ecf20Sopenharmony_ci 4538c2ecf20Sopenharmony_ci csw: csw@7e200000 { 4548c2ecf20Sopenharmony_ci compatible = "apm,xgene-csw", "syscon"; 4558c2ecf20Sopenharmony_ci reg = <0x0 0x7e200000 0x0 0x1000>; 4568c2ecf20Sopenharmony_ci }; 4578c2ecf20Sopenharmony_ci 4588c2ecf20Sopenharmony_ci mcba: mcba@7e700000 { 4598c2ecf20Sopenharmony_ci compatible = "apm,xgene-mcb", "syscon"; 4608c2ecf20Sopenharmony_ci reg = <0x0 0x7e700000 0x0 0x1000>; 4618c2ecf20Sopenharmony_ci }; 4628c2ecf20Sopenharmony_ci 4638c2ecf20Sopenharmony_ci mcbb: mcbb@7e720000 { 4648c2ecf20Sopenharmony_ci compatible = "apm,xgene-mcb", "syscon"; 4658c2ecf20Sopenharmony_ci reg = <0x0 0x7e720000 0x0 0x1000>; 4668c2ecf20Sopenharmony_ci }; 4678c2ecf20Sopenharmony_ci 4688c2ecf20Sopenharmony_ci efuse: efuse@1054a000 { 4698c2ecf20Sopenharmony_ci compatible = "apm,xgene-efuse", "syscon"; 4708c2ecf20Sopenharmony_ci reg = <0x0 0x1054a000 0x0 0x20>; 4718c2ecf20Sopenharmony_ci }; 4728c2ecf20Sopenharmony_ci 4738c2ecf20Sopenharmony_ci rb: rb@7e000000 { 4748c2ecf20Sopenharmony_ci compatible = "apm,xgene-rb", "syscon"; 4758c2ecf20Sopenharmony_ci reg = <0x0 0x7e000000 0x0 0x10>; 4768c2ecf20Sopenharmony_ci }; 4778c2ecf20Sopenharmony_ci 4788c2ecf20Sopenharmony_ci edac@78800000 { 4798c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac"; 4808c2ecf20Sopenharmony_ci #address-cells = <2>; 4818c2ecf20Sopenharmony_ci #size-cells = <2>; 4828c2ecf20Sopenharmony_ci ranges; 4838c2ecf20Sopenharmony_ci regmap-csw = <&csw>; 4848c2ecf20Sopenharmony_ci regmap-mcba = <&mcba>; 4858c2ecf20Sopenharmony_ci regmap-mcbb = <&mcbb>; 4868c2ecf20Sopenharmony_ci regmap-efuse = <&efuse>; 4878c2ecf20Sopenharmony_ci regmap-rb = <&rb>; 4888c2ecf20Sopenharmony_ci reg = <0x0 0x78800000 0x0 0x100>; 4898c2ecf20Sopenharmony_ci interrupts = <0x0 0x20 0x4>, 4908c2ecf20Sopenharmony_ci <0x0 0x21 0x4>, 4918c2ecf20Sopenharmony_ci <0x0 0x27 0x4>; 4928c2ecf20Sopenharmony_ci 4938c2ecf20Sopenharmony_ci edacmc@7e800000 { 4948c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-mc"; 4958c2ecf20Sopenharmony_ci reg = <0x0 0x7e800000 0x0 0x1000>; 4968c2ecf20Sopenharmony_ci memory-controller = <0>; 4978c2ecf20Sopenharmony_ci }; 4988c2ecf20Sopenharmony_ci 4998c2ecf20Sopenharmony_ci edacmc@7e840000 { 5008c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-mc"; 5018c2ecf20Sopenharmony_ci reg = <0x0 0x7e840000 0x0 0x1000>; 5028c2ecf20Sopenharmony_ci memory-controller = <1>; 5038c2ecf20Sopenharmony_ci }; 5048c2ecf20Sopenharmony_ci 5058c2ecf20Sopenharmony_ci edacmc@7e880000 { 5068c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-mc"; 5078c2ecf20Sopenharmony_ci reg = <0x0 0x7e880000 0x0 0x1000>; 5088c2ecf20Sopenharmony_ci memory-controller = <2>; 5098c2ecf20Sopenharmony_ci }; 5108c2ecf20Sopenharmony_ci 5118c2ecf20Sopenharmony_ci edacmc@7e8c0000 { 5128c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-mc"; 5138c2ecf20Sopenharmony_ci reg = <0x0 0x7e8c0000 0x0 0x1000>; 5148c2ecf20Sopenharmony_ci memory-controller = <3>; 5158c2ecf20Sopenharmony_ci }; 5168c2ecf20Sopenharmony_ci 5178c2ecf20Sopenharmony_ci edacpmd@7c000000 { 5188c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-pmd"; 5198c2ecf20Sopenharmony_ci reg = <0x0 0x7c000000 0x0 0x200000>; 5208c2ecf20Sopenharmony_ci pmd-controller = <0>; 5218c2ecf20Sopenharmony_ci }; 5228c2ecf20Sopenharmony_ci 5238c2ecf20Sopenharmony_ci edacpmd@7c200000 { 5248c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-pmd"; 5258c2ecf20Sopenharmony_ci reg = <0x0 0x7c200000 0x0 0x200000>; 5268c2ecf20Sopenharmony_ci pmd-controller = <1>; 5278c2ecf20Sopenharmony_ci }; 5288c2ecf20Sopenharmony_ci 5298c2ecf20Sopenharmony_ci edacpmd@7c400000 { 5308c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-pmd"; 5318c2ecf20Sopenharmony_ci reg = <0x0 0x7c400000 0x0 0x200000>; 5328c2ecf20Sopenharmony_ci pmd-controller = <2>; 5338c2ecf20Sopenharmony_ci }; 5348c2ecf20Sopenharmony_ci 5358c2ecf20Sopenharmony_ci edacpmd@7c600000 { 5368c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-pmd"; 5378c2ecf20Sopenharmony_ci reg = <0x0 0x7c600000 0x0 0x200000>; 5388c2ecf20Sopenharmony_ci pmd-controller = <3>; 5398c2ecf20Sopenharmony_ci }; 5408c2ecf20Sopenharmony_ci 5418c2ecf20Sopenharmony_ci edacl3@7e600000 { 5428c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-l3"; 5438c2ecf20Sopenharmony_ci reg = <0x0 0x7e600000 0x0 0x1000>; 5448c2ecf20Sopenharmony_ci }; 5458c2ecf20Sopenharmony_ci 5468c2ecf20Sopenharmony_ci edacsoc@7e930000 { 5478c2ecf20Sopenharmony_ci compatible = "apm,xgene-edac-soc-v1"; 5488c2ecf20Sopenharmony_ci reg = <0x0 0x7e930000 0x0 0x1000>; 5498c2ecf20Sopenharmony_ci }; 5508c2ecf20Sopenharmony_ci }; 5518c2ecf20Sopenharmony_ci 5528c2ecf20Sopenharmony_ci pmu: pmu@78810000 { 5538c2ecf20Sopenharmony_ci compatible = "apm,xgene-pmu-v2"; 5548c2ecf20Sopenharmony_ci #address-cells = <2>; 5558c2ecf20Sopenharmony_ci #size-cells = <2>; 5568c2ecf20Sopenharmony_ci ranges; 5578c2ecf20Sopenharmony_ci regmap-csw = <&csw>; 5588c2ecf20Sopenharmony_ci regmap-mcba = <&mcba>; 5598c2ecf20Sopenharmony_ci regmap-mcbb = <&mcbb>; 5608c2ecf20Sopenharmony_ci reg = <0x0 0x78810000 0x0 0x1000>; 5618c2ecf20Sopenharmony_ci interrupts = <0x0 0x22 0x4>; 5628c2ecf20Sopenharmony_ci 5638c2ecf20Sopenharmony_ci pmul3c@7e610000 { 5648c2ecf20Sopenharmony_ci compatible = "apm,xgene-pmu-l3c"; 5658c2ecf20Sopenharmony_ci reg = <0x0 0x7e610000 0x0 0x1000>; 5668c2ecf20Sopenharmony_ci }; 5678c2ecf20Sopenharmony_ci 5688c2ecf20Sopenharmony_ci pmuiob@7e940000 { 5698c2ecf20Sopenharmony_ci compatible = "apm,xgene-pmu-iob"; 5708c2ecf20Sopenharmony_ci reg = <0x0 0x7e940000 0x0 0x1000>; 5718c2ecf20Sopenharmony_ci }; 5728c2ecf20Sopenharmony_ci 5738c2ecf20Sopenharmony_ci pmucmcb@7e710000 { 5748c2ecf20Sopenharmony_ci compatible = "apm,xgene-pmu-mcb"; 5758c2ecf20Sopenharmony_ci reg = <0x0 0x7e710000 0x0 0x1000>; 5768c2ecf20Sopenharmony_ci enable-bit-index = <0>; 5778c2ecf20Sopenharmony_ci }; 5788c2ecf20Sopenharmony_ci 5798c2ecf20Sopenharmony_ci pmucmcb@7e730000 { 5808c2ecf20Sopenharmony_ci compatible = "apm,xgene-pmu-mcb"; 5818c2ecf20Sopenharmony_ci reg = <0x0 0x7e730000 0x0 0x1000>; 5828c2ecf20Sopenharmony_ci enable-bit-index = <1>; 5838c2ecf20Sopenharmony_ci }; 5848c2ecf20Sopenharmony_ci 5858c2ecf20Sopenharmony_ci pmucmc@7e810000 { 5868c2ecf20Sopenharmony_ci compatible = "apm,xgene-pmu-mc"; 5878c2ecf20Sopenharmony_ci reg = <0x0 0x7e810000 0x0 0x1000>; 5888c2ecf20Sopenharmony_ci enable-bit-index = <0>; 5898c2ecf20Sopenharmony_ci }; 5908c2ecf20Sopenharmony_ci 5918c2ecf20Sopenharmony_ci pmucmc@7e850000 { 5928c2ecf20Sopenharmony_ci compatible = "apm,xgene-pmu-mc"; 5938c2ecf20Sopenharmony_ci reg = <0x0 0x7e850000 0x0 0x1000>; 5948c2ecf20Sopenharmony_ci enable-bit-index = <1>; 5958c2ecf20Sopenharmony_ci }; 5968c2ecf20Sopenharmony_ci 5978c2ecf20Sopenharmony_ci pmucmc@7e890000 { 5988c2ecf20Sopenharmony_ci compatible = "apm,xgene-pmu-mc"; 5998c2ecf20Sopenharmony_ci reg = <0x0 0x7e890000 0x0 0x1000>; 6008c2ecf20Sopenharmony_ci enable-bit-index = <2>; 6018c2ecf20Sopenharmony_ci }; 6028c2ecf20Sopenharmony_ci 6038c2ecf20Sopenharmony_ci pmucmc@7e8d0000 { 6048c2ecf20Sopenharmony_ci compatible = "apm,xgene-pmu-mc"; 6058c2ecf20Sopenharmony_ci reg = <0x0 0x7e8d0000 0x0 0x1000>; 6068c2ecf20Sopenharmony_ci enable-bit-index = <3>; 6078c2ecf20Sopenharmony_ci }; 6088c2ecf20Sopenharmony_ci }; 6098c2ecf20Sopenharmony_ci 6108c2ecf20Sopenharmony_ci pcie0: pcie@1f2b0000 { 6118c2ecf20Sopenharmony_ci status = "disabled"; 6128c2ecf20Sopenharmony_ci device_type = "pci"; 6138c2ecf20Sopenharmony_ci compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie"; 6148c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 6158c2ecf20Sopenharmony_ci #size-cells = <2>; 6168c2ecf20Sopenharmony_ci #address-cells = <3>; 6178c2ecf20Sopenharmony_ci reg = < 0x00 0x1f2b0000 0x0 0x00010000 /* Controller registers */ 6188c2ecf20Sopenharmony_ci 0xe0 0xd0000000 0x0 0x00040000>; /* PCI config space */ 6198c2ecf20Sopenharmony_ci reg-names = "csr", "cfg"; 6208c2ecf20Sopenharmony_ci ranges = <0x01000000 0x00 0x00000000 0xe0 0x10000000 0x00 0x00010000 /* io */ 6218c2ecf20Sopenharmony_ci 0x02000000 0x00 0x80000000 0xe1 0x80000000 0x00 0x80000000 /* mem */ 6228c2ecf20Sopenharmony_ci 0x43000000 0xf0 0x00000000 0xf0 0x00000000 0x10 0x00000000>; /* mem */ 6238c2ecf20Sopenharmony_ci dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000 6248c2ecf20Sopenharmony_ci 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>; 6258c2ecf20Sopenharmony_ci bus-range = <0x00 0xff>; 6268c2ecf20Sopenharmony_ci interrupt-map-mask = <0x0 0x0 0x0 0x7>; 6278c2ecf20Sopenharmony_ci interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x4 6288c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x4 6298c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x4 6308c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x4>; 6318c2ecf20Sopenharmony_ci dma-coherent; 6328c2ecf20Sopenharmony_ci clocks = <&pcie0clk 0>; 6338c2ecf20Sopenharmony_ci msi-parent = <&msi>; 6348c2ecf20Sopenharmony_ci }; 6358c2ecf20Sopenharmony_ci 6368c2ecf20Sopenharmony_ci pcie1: pcie@1f2c0000 { 6378c2ecf20Sopenharmony_ci status = "disabled"; 6388c2ecf20Sopenharmony_ci device_type = "pci"; 6398c2ecf20Sopenharmony_ci compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie"; 6408c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 6418c2ecf20Sopenharmony_ci #size-cells = <2>; 6428c2ecf20Sopenharmony_ci #address-cells = <3>; 6438c2ecf20Sopenharmony_ci reg = < 0x00 0x1f2c0000 0x0 0x00010000 /* Controller registers */ 6448c2ecf20Sopenharmony_ci 0xd0 0xd0000000 0x0 0x00040000>; /* PCI config space */ 6458c2ecf20Sopenharmony_ci reg-names = "csr", "cfg"; 6468c2ecf20Sopenharmony_ci ranges = <0x01000000 0x00 0x00000000 0xd0 0x10000000 0x00 0x00010000 /* io */ 6478c2ecf20Sopenharmony_ci 0x02000000 0x00 0x80000000 0xd1 0x80000000 0x00 0x80000000 /* mem */ 6488c2ecf20Sopenharmony_ci 0x43000000 0xd8 0x00000000 0xd8 0x00000000 0x08 0x00000000>; /* mem */ 6498c2ecf20Sopenharmony_ci dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000 6508c2ecf20Sopenharmony_ci 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>; 6518c2ecf20Sopenharmony_ci bus-range = <0x00 0xff>; 6528c2ecf20Sopenharmony_ci interrupt-map-mask = <0x0 0x0 0x0 0x7>; 6538c2ecf20Sopenharmony_ci interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc8 0x4 6548c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x2 &gic 0x0 0xc9 0x4 6558c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x3 &gic 0x0 0xca 0x4 6568c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x4 &gic 0x0 0xcb 0x4>; 6578c2ecf20Sopenharmony_ci dma-coherent; 6588c2ecf20Sopenharmony_ci clocks = <&pcie1clk 0>; 6598c2ecf20Sopenharmony_ci msi-parent = <&msi>; 6608c2ecf20Sopenharmony_ci }; 6618c2ecf20Sopenharmony_ci 6628c2ecf20Sopenharmony_ci pcie2: pcie@1f2d0000 { 6638c2ecf20Sopenharmony_ci status = "disabled"; 6648c2ecf20Sopenharmony_ci device_type = "pci"; 6658c2ecf20Sopenharmony_ci compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie"; 6668c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 6678c2ecf20Sopenharmony_ci #size-cells = <2>; 6688c2ecf20Sopenharmony_ci #address-cells = <3>; 6698c2ecf20Sopenharmony_ci reg = < 0x00 0x1f2d0000 0x0 0x00010000 /* Controller registers */ 6708c2ecf20Sopenharmony_ci 0x90 0xd0000000 0x0 0x00040000>; /* PCI config space */ 6718c2ecf20Sopenharmony_ci reg-names = "csr", "cfg"; 6728c2ecf20Sopenharmony_ci ranges = <0x01000000 0x00 0x00000000 0x90 0x10000000 0x00 0x00010000 /* io */ 6738c2ecf20Sopenharmony_ci 0x02000000 0x00 0x80000000 0x91 0x80000000 0x00 0x80000000 /* mem */ 6748c2ecf20Sopenharmony_ci 0x43000000 0x94 0x00000000 0x94 0x00000000 0x04 0x00000000>; /* mem */ 6758c2ecf20Sopenharmony_ci dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000 6768c2ecf20Sopenharmony_ci 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>; 6778c2ecf20Sopenharmony_ci bus-range = <0x00 0xff>; 6788c2ecf20Sopenharmony_ci interrupt-map-mask = <0x0 0x0 0x0 0x7>; 6798c2ecf20Sopenharmony_ci interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xce 0x4 6808c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x2 &gic 0x0 0xcf 0x4 6818c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x3 &gic 0x0 0xd0 0x4 6828c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x4 &gic 0x0 0xd1 0x4>; 6838c2ecf20Sopenharmony_ci dma-coherent; 6848c2ecf20Sopenharmony_ci clocks = <&pcie2clk 0>; 6858c2ecf20Sopenharmony_ci msi-parent = <&msi>; 6868c2ecf20Sopenharmony_ci }; 6878c2ecf20Sopenharmony_ci 6888c2ecf20Sopenharmony_ci pcie3: pcie@1f500000 { 6898c2ecf20Sopenharmony_ci status = "disabled"; 6908c2ecf20Sopenharmony_ci device_type = "pci"; 6918c2ecf20Sopenharmony_ci compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie"; 6928c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 6938c2ecf20Sopenharmony_ci #size-cells = <2>; 6948c2ecf20Sopenharmony_ci #address-cells = <3>; 6958c2ecf20Sopenharmony_ci reg = < 0x00 0x1f500000 0x0 0x00010000 /* Controller registers */ 6968c2ecf20Sopenharmony_ci 0xa0 0xd0000000 0x0 0x00040000>; /* PCI config space */ 6978c2ecf20Sopenharmony_ci reg-names = "csr", "cfg"; 6988c2ecf20Sopenharmony_ci ranges = <0x01000000 0x00 0x00000000 0xa0 0x10000000 0x00 0x00010000 /* io */ 6998c2ecf20Sopenharmony_ci 0x02000000 0x00 0x80000000 0xa1 0x80000000 0x00 0x80000000 /* mem */ 7008c2ecf20Sopenharmony_ci 0x43000000 0xb0 0x00000000 0xb0 0x00000000 0x10 0x00000000>; /* mem */ 7018c2ecf20Sopenharmony_ci dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000 7028c2ecf20Sopenharmony_ci 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>; 7038c2ecf20Sopenharmony_ci bus-range = <0x00 0xff>; 7048c2ecf20Sopenharmony_ci interrupt-map-mask = <0x0 0x0 0x0 0x7>; 7058c2ecf20Sopenharmony_ci interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xd4 0x4 7068c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x2 &gic 0x0 0xd5 0x4 7078c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x3 &gic 0x0 0xd6 0x4 7088c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x4 &gic 0x0 0xd7 0x4>; 7098c2ecf20Sopenharmony_ci dma-coherent; 7108c2ecf20Sopenharmony_ci clocks = <&pcie3clk 0>; 7118c2ecf20Sopenharmony_ci msi-parent = <&msi>; 7128c2ecf20Sopenharmony_ci }; 7138c2ecf20Sopenharmony_ci 7148c2ecf20Sopenharmony_ci pcie4: pcie@1f510000 { 7158c2ecf20Sopenharmony_ci status = "disabled"; 7168c2ecf20Sopenharmony_ci device_type = "pci"; 7178c2ecf20Sopenharmony_ci compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie"; 7188c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 7198c2ecf20Sopenharmony_ci #size-cells = <2>; 7208c2ecf20Sopenharmony_ci #address-cells = <3>; 7218c2ecf20Sopenharmony_ci reg = < 0x00 0x1f510000 0x0 0x00010000 /* Controller registers */ 7228c2ecf20Sopenharmony_ci 0xc0 0xd0000000 0x0 0x00200000>; /* PCI config space */ 7238c2ecf20Sopenharmony_ci reg-names = "csr", "cfg"; 7248c2ecf20Sopenharmony_ci ranges = <0x01000000 0x00 0x00000000 0xc0 0x10000000 0x00 0x00010000 /* io */ 7258c2ecf20Sopenharmony_ci 0x02000000 0x00 0x80000000 0xc1 0x80000000 0x00 0x80000000 /* mem */ 7268c2ecf20Sopenharmony_ci 0x43000000 0xc8 0x00000000 0xc8 0x00000000 0x08 0x00000000>; /* mem */ 7278c2ecf20Sopenharmony_ci dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000 7288c2ecf20Sopenharmony_ci 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>; 7298c2ecf20Sopenharmony_ci bus-range = <0x00 0xff>; 7308c2ecf20Sopenharmony_ci interrupt-map-mask = <0x0 0x0 0x0 0x7>; 7318c2ecf20Sopenharmony_ci interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xda 0x4 7328c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x2 &gic 0x0 0xdb 0x4 7338c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x3 &gic 0x0 0xdc 0x4 7348c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x4 &gic 0x0 0xdd 0x4>; 7358c2ecf20Sopenharmony_ci dma-coherent; 7368c2ecf20Sopenharmony_ci clocks = <&pcie4clk 0>; 7378c2ecf20Sopenharmony_ci msi-parent = <&msi>; 7388c2ecf20Sopenharmony_ci }; 7398c2ecf20Sopenharmony_ci 7408c2ecf20Sopenharmony_ci mailbox: mailbox@10540000 { 7418c2ecf20Sopenharmony_ci compatible = "apm,xgene-slimpro-mbox"; 7428c2ecf20Sopenharmony_ci reg = <0x0 0x10540000 0x0 0xa000>; 7438c2ecf20Sopenharmony_ci #mbox-cells = <1>; 7448c2ecf20Sopenharmony_ci interrupts = <0x0 0x0 0x4>, 7458c2ecf20Sopenharmony_ci <0x0 0x1 0x4>, 7468c2ecf20Sopenharmony_ci <0x0 0x2 0x4>, 7478c2ecf20Sopenharmony_ci <0x0 0x3 0x4>, 7488c2ecf20Sopenharmony_ci <0x0 0x4 0x4>, 7498c2ecf20Sopenharmony_ci <0x0 0x5 0x4>, 7508c2ecf20Sopenharmony_ci <0x0 0x6 0x4>, 7518c2ecf20Sopenharmony_ci <0x0 0x7 0x4>; 7528c2ecf20Sopenharmony_ci }; 7538c2ecf20Sopenharmony_ci 7548c2ecf20Sopenharmony_ci i2cslimpro { 7558c2ecf20Sopenharmony_ci compatible = "apm,xgene-slimpro-i2c"; 7568c2ecf20Sopenharmony_ci mboxes = <&mailbox 0>; 7578c2ecf20Sopenharmony_ci }; 7588c2ecf20Sopenharmony_ci 7598c2ecf20Sopenharmony_ci hwmonslimpro { 7608c2ecf20Sopenharmony_ci compatible = "apm,xgene-slimpro-hwmon"; 7618c2ecf20Sopenharmony_ci mboxes = <&mailbox 7>; 7628c2ecf20Sopenharmony_ci }; 7638c2ecf20Sopenharmony_ci 7648c2ecf20Sopenharmony_ci serial0: serial@1c020000 { 7658c2ecf20Sopenharmony_ci status = "disabled"; 7668c2ecf20Sopenharmony_ci device_type = "serial"; 7678c2ecf20Sopenharmony_ci compatible = "ns16550a"; 7688c2ecf20Sopenharmony_ci reg = <0 0x1c020000 0x0 0x1000>; 7698c2ecf20Sopenharmony_ci reg-shift = <2>; 7708c2ecf20Sopenharmony_ci clock-frequency = <10000000>; /* Updated by bootloader */ 7718c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 7728c2ecf20Sopenharmony_ci interrupts = <0x0 0x4c 0x4>; 7738c2ecf20Sopenharmony_ci }; 7748c2ecf20Sopenharmony_ci 7758c2ecf20Sopenharmony_ci serial1: serial@1c021000 { 7768c2ecf20Sopenharmony_ci status = "disabled"; 7778c2ecf20Sopenharmony_ci device_type = "serial"; 7788c2ecf20Sopenharmony_ci compatible = "ns16550a"; 7798c2ecf20Sopenharmony_ci reg = <0 0x1c021000 0x0 0x1000>; 7808c2ecf20Sopenharmony_ci reg-shift = <2>; 7818c2ecf20Sopenharmony_ci clock-frequency = <10000000>; /* Updated by bootloader */ 7828c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 7838c2ecf20Sopenharmony_ci interrupts = <0x0 0x4d 0x4>; 7848c2ecf20Sopenharmony_ci }; 7858c2ecf20Sopenharmony_ci 7868c2ecf20Sopenharmony_ci serial2: serial@1c022000 { 7878c2ecf20Sopenharmony_ci status = "disabled"; 7888c2ecf20Sopenharmony_ci device_type = "serial"; 7898c2ecf20Sopenharmony_ci compatible = "ns16550a"; 7908c2ecf20Sopenharmony_ci reg = <0 0x1c022000 0x0 0x1000>; 7918c2ecf20Sopenharmony_ci reg-shift = <2>; 7928c2ecf20Sopenharmony_ci clock-frequency = <10000000>; /* Updated by bootloader */ 7938c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 7948c2ecf20Sopenharmony_ci interrupts = <0x0 0x4e 0x4>; 7958c2ecf20Sopenharmony_ci }; 7968c2ecf20Sopenharmony_ci 7978c2ecf20Sopenharmony_ci serial3: serial@1c023000 { 7988c2ecf20Sopenharmony_ci status = "disabled"; 7998c2ecf20Sopenharmony_ci device_type = "serial"; 8008c2ecf20Sopenharmony_ci compatible = "ns16550a"; 8018c2ecf20Sopenharmony_ci reg = <0 0x1c023000 0x0 0x1000>; 8028c2ecf20Sopenharmony_ci reg-shift = <2>; 8038c2ecf20Sopenharmony_ci clock-frequency = <10000000>; /* Updated by bootloader */ 8048c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 8058c2ecf20Sopenharmony_ci interrupts = <0x0 0x4f 0x4>; 8068c2ecf20Sopenharmony_ci }; 8078c2ecf20Sopenharmony_ci 8088c2ecf20Sopenharmony_ci mmc0: mmc@1c000000 { 8098c2ecf20Sopenharmony_ci compatible = "arasan,sdhci-4.9a"; 8108c2ecf20Sopenharmony_ci reg = <0x0 0x1c000000 0x0 0x100>; 8118c2ecf20Sopenharmony_ci interrupts = <0x0 0x49 0x4>; 8128c2ecf20Sopenharmony_ci dma-coherent; 8138c2ecf20Sopenharmony_ci no-1-8-v; 8148c2ecf20Sopenharmony_ci clock-names = "clk_xin", "clk_ahb"; 8158c2ecf20Sopenharmony_ci clocks = <&sdioclk 0>, <&ahbclk 0>; 8168c2ecf20Sopenharmony_ci }; 8178c2ecf20Sopenharmony_ci 8188c2ecf20Sopenharmony_ci gfcgpio: gpio0@1701c000 { 8198c2ecf20Sopenharmony_ci compatible = "apm,xgene-gpio"; 8208c2ecf20Sopenharmony_ci reg = <0x0 0x1701c000 0x0 0x40>; 8218c2ecf20Sopenharmony_ci gpio-controller; 8228c2ecf20Sopenharmony_ci #gpio-cells = <2>; 8238c2ecf20Sopenharmony_ci }; 8248c2ecf20Sopenharmony_ci 8258c2ecf20Sopenharmony_ci dwgpio: gpio@1c024000 { 8268c2ecf20Sopenharmony_ci compatible = "snps,dw-apb-gpio"; 8278c2ecf20Sopenharmony_ci reg = <0x0 0x1c024000 0x0 0x1000>; 8288c2ecf20Sopenharmony_ci #address-cells = <1>; 8298c2ecf20Sopenharmony_ci #size-cells = <0>; 8308c2ecf20Sopenharmony_ci 8318c2ecf20Sopenharmony_ci porta: gpio-controller@0 { 8328c2ecf20Sopenharmony_ci compatible = "snps,dw-apb-gpio-port"; 8338c2ecf20Sopenharmony_ci gpio-controller; 8348c2ecf20Sopenharmony_ci #gpio-cells = <2>; 8358c2ecf20Sopenharmony_ci snps,nr-gpios = <32>; 8368c2ecf20Sopenharmony_ci reg = <0>; 8378c2ecf20Sopenharmony_ci }; 8388c2ecf20Sopenharmony_ci }; 8398c2ecf20Sopenharmony_ci 8408c2ecf20Sopenharmony_ci i2c0: i2c@10512000 { 8418c2ecf20Sopenharmony_ci status = "disabled"; 8428c2ecf20Sopenharmony_ci #address-cells = <1>; 8438c2ecf20Sopenharmony_ci #size-cells = <0>; 8448c2ecf20Sopenharmony_ci compatible = "snps,designware-i2c"; 8458c2ecf20Sopenharmony_ci reg = <0x0 0x10512000 0x0 0x1000>; 8468c2ecf20Sopenharmony_ci interrupts = <0 0x44 0x4>; 8478c2ecf20Sopenharmony_ci #clock-cells = <1>; 8488c2ecf20Sopenharmony_ci clocks = <&ahbclk 0>; 8498c2ecf20Sopenharmony_ci bus_num = <0>; 8508c2ecf20Sopenharmony_ci }; 8518c2ecf20Sopenharmony_ci 8528c2ecf20Sopenharmony_ci phy1: phy@1f21a000 { 8538c2ecf20Sopenharmony_ci compatible = "apm,xgene-phy"; 8548c2ecf20Sopenharmony_ci reg = <0x0 0x1f21a000 0x0 0x100>; 8558c2ecf20Sopenharmony_ci #phy-cells = <1>; 8568c2ecf20Sopenharmony_ci clocks = <&sataphy1clk 0>; 8578c2ecf20Sopenharmony_ci status = "disabled"; 8588c2ecf20Sopenharmony_ci apm,tx-boost-gain = <30 30 30 30 30 30>; 8598c2ecf20Sopenharmony_ci apm,tx-eye-tuning = <2 10 10 2 10 10>; 8608c2ecf20Sopenharmony_ci }; 8618c2ecf20Sopenharmony_ci 8628c2ecf20Sopenharmony_ci phy2: phy@1f22a000 { 8638c2ecf20Sopenharmony_ci compatible = "apm,xgene-phy"; 8648c2ecf20Sopenharmony_ci reg = <0x0 0x1f22a000 0x0 0x100>; 8658c2ecf20Sopenharmony_ci #phy-cells = <1>; 8668c2ecf20Sopenharmony_ci clocks = <&sataphy2clk 0>; 8678c2ecf20Sopenharmony_ci status = "ok"; 8688c2ecf20Sopenharmony_ci apm,tx-boost-gain = <30 30 30 30 30 30>; 8698c2ecf20Sopenharmony_ci apm,tx-eye-tuning = <1 10 10 2 10 10>; 8708c2ecf20Sopenharmony_ci }; 8718c2ecf20Sopenharmony_ci 8728c2ecf20Sopenharmony_ci phy3: phy@1f23a000 { 8738c2ecf20Sopenharmony_ci compatible = "apm,xgene-phy"; 8748c2ecf20Sopenharmony_ci reg = <0x0 0x1f23a000 0x0 0x100>; 8758c2ecf20Sopenharmony_ci #phy-cells = <1>; 8768c2ecf20Sopenharmony_ci clocks = <&sataphy3clk 0>; 8778c2ecf20Sopenharmony_ci status = "ok"; 8788c2ecf20Sopenharmony_ci apm,tx-boost-gain = <31 31 31 31 31 31>; 8798c2ecf20Sopenharmony_ci apm,tx-eye-tuning = <2 10 10 2 10 10>; 8808c2ecf20Sopenharmony_ci }; 8818c2ecf20Sopenharmony_ci 8828c2ecf20Sopenharmony_ci sata1: sata@1a000000 { 8838c2ecf20Sopenharmony_ci compatible = "apm,xgene-ahci"; 8848c2ecf20Sopenharmony_ci reg = <0x0 0x1a000000 0x0 0x1000>, 8858c2ecf20Sopenharmony_ci <0x0 0x1f210000 0x0 0x1000>, 8868c2ecf20Sopenharmony_ci <0x0 0x1f21d000 0x0 0x1000>, 8878c2ecf20Sopenharmony_ci <0x0 0x1f21e000 0x0 0x1000>, 8888c2ecf20Sopenharmony_ci <0x0 0x1f217000 0x0 0x1000>; 8898c2ecf20Sopenharmony_ci interrupts = <0x0 0x86 0x4>; 8908c2ecf20Sopenharmony_ci dma-coherent; 8918c2ecf20Sopenharmony_ci status = "disabled"; 8928c2ecf20Sopenharmony_ci clocks = <&sata01clk 0>; 8938c2ecf20Sopenharmony_ci phys = <&phy1 0>; 8948c2ecf20Sopenharmony_ci phy-names = "sata-phy"; 8958c2ecf20Sopenharmony_ci }; 8968c2ecf20Sopenharmony_ci 8978c2ecf20Sopenharmony_ci sata2: sata@1a400000 { 8988c2ecf20Sopenharmony_ci compatible = "apm,xgene-ahci"; 8998c2ecf20Sopenharmony_ci reg = <0x0 0x1a400000 0x0 0x1000>, 9008c2ecf20Sopenharmony_ci <0x0 0x1f220000 0x0 0x1000>, 9018c2ecf20Sopenharmony_ci <0x0 0x1f22d000 0x0 0x1000>, 9028c2ecf20Sopenharmony_ci <0x0 0x1f22e000 0x0 0x1000>, 9038c2ecf20Sopenharmony_ci <0x0 0x1f227000 0x0 0x1000>; 9048c2ecf20Sopenharmony_ci interrupts = <0x0 0x87 0x4>; 9058c2ecf20Sopenharmony_ci dma-coherent; 9068c2ecf20Sopenharmony_ci status = "ok"; 9078c2ecf20Sopenharmony_ci clocks = <&sata23clk 0>; 9088c2ecf20Sopenharmony_ci phys = <&phy2 0>; 9098c2ecf20Sopenharmony_ci phy-names = "sata-phy"; 9108c2ecf20Sopenharmony_ci }; 9118c2ecf20Sopenharmony_ci 9128c2ecf20Sopenharmony_ci sata3: sata@1a800000 { 9138c2ecf20Sopenharmony_ci compatible = "apm,xgene-ahci"; 9148c2ecf20Sopenharmony_ci reg = <0x0 0x1a800000 0x0 0x1000>, 9158c2ecf20Sopenharmony_ci <0x0 0x1f230000 0x0 0x1000>, 9168c2ecf20Sopenharmony_ci <0x0 0x1f23d000 0x0 0x1000>, 9178c2ecf20Sopenharmony_ci <0x0 0x1f23e000 0x0 0x1000>; 9188c2ecf20Sopenharmony_ci interrupts = <0x0 0x88 0x4>; 9198c2ecf20Sopenharmony_ci dma-coherent; 9208c2ecf20Sopenharmony_ci status = "ok"; 9218c2ecf20Sopenharmony_ci clocks = <&sata45clk 0>; 9228c2ecf20Sopenharmony_ci phys = <&phy3 0>; 9238c2ecf20Sopenharmony_ci phy-names = "sata-phy"; 9248c2ecf20Sopenharmony_ci }; 9258c2ecf20Sopenharmony_ci 9268c2ecf20Sopenharmony_ci /* Do not change dwusb name, coded for backward compatibility */ 9278c2ecf20Sopenharmony_ci usb0: dwusb@19000000 { 9288c2ecf20Sopenharmony_ci status = "disabled"; 9298c2ecf20Sopenharmony_ci compatible = "snps,dwc3"; 9308c2ecf20Sopenharmony_ci reg = <0x0 0x19000000 0x0 0x100000>; 9318c2ecf20Sopenharmony_ci interrupts = <0x0 0x89 0x4>; 9328c2ecf20Sopenharmony_ci dma-coherent; 9338c2ecf20Sopenharmony_ci dr_mode = "host"; 9348c2ecf20Sopenharmony_ci }; 9358c2ecf20Sopenharmony_ci 9368c2ecf20Sopenharmony_ci usb1: dwusb@19800000 { 9378c2ecf20Sopenharmony_ci status = "disabled"; 9388c2ecf20Sopenharmony_ci compatible = "snps,dwc3"; 9398c2ecf20Sopenharmony_ci reg = <0x0 0x19800000 0x0 0x100000>; 9408c2ecf20Sopenharmony_ci interrupts = <0x0 0x8a 0x4>; 9418c2ecf20Sopenharmony_ci dma-coherent; 9428c2ecf20Sopenharmony_ci dr_mode = "host"; 9438c2ecf20Sopenharmony_ci }; 9448c2ecf20Sopenharmony_ci 9458c2ecf20Sopenharmony_ci sbgpio: gpio@17001000{ 9468c2ecf20Sopenharmony_ci compatible = "apm,xgene-gpio-sb"; 9478c2ecf20Sopenharmony_ci reg = <0x0 0x17001000 0x0 0x400>; 9488c2ecf20Sopenharmony_ci #gpio-cells = <2>; 9498c2ecf20Sopenharmony_ci gpio-controller; 9508c2ecf20Sopenharmony_ci interrupts = <0x0 0x28 0x1>, 9518c2ecf20Sopenharmony_ci <0x0 0x29 0x1>, 9528c2ecf20Sopenharmony_ci <0x0 0x2a 0x1>, 9538c2ecf20Sopenharmony_ci <0x0 0x2b 0x1>, 9548c2ecf20Sopenharmony_ci <0x0 0x2c 0x1>, 9558c2ecf20Sopenharmony_ci <0x0 0x2d 0x1>; 9568c2ecf20Sopenharmony_ci interrupt-parent = <&gic>; 9578c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 9588c2ecf20Sopenharmony_ci interrupt-controller; 9598c2ecf20Sopenharmony_ci }; 9608c2ecf20Sopenharmony_ci 9618c2ecf20Sopenharmony_ci rtc: rtc@10510000 { 9628c2ecf20Sopenharmony_ci compatible = "apm,xgene-rtc"; 9638c2ecf20Sopenharmony_ci reg = <0x0 0x10510000 0x0 0x400>; 9648c2ecf20Sopenharmony_ci interrupts = <0x0 0x46 0x4>; 9658c2ecf20Sopenharmony_ci #clock-cells = <1>; 9668c2ecf20Sopenharmony_ci clocks = <&rtcclk 0>; 9678c2ecf20Sopenharmony_ci }; 9688c2ecf20Sopenharmony_ci 9698c2ecf20Sopenharmony_ci mdio: mdio@17020000 { 9708c2ecf20Sopenharmony_ci compatible = "apm,xgene-mdio-rgmii"; 9718c2ecf20Sopenharmony_ci #address-cells = <1>; 9728c2ecf20Sopenharmony_ci #size-cells = <0>; 9738c2ecf20Sopenharmony_ci reg = <0x0 0x17020000 0x0 0xd100>; 9748c2ecf20Sopenharmony_ci clocks = <&menetclk 0>; 9758c2ecf20Sopenharmony_ci }; 9768c2ecf20Sopenharmony_ci 9778c2ecf20Sopenharmony_ci menet: ethernet@17020000 { 9788c2ecf20Sopenharmony_ci compatible = "apm,xgene-enet"; 9798c2ecf20Sopenharmony_ci status = "disabled"; 9808c2ecf20Sopenharmony_ci reg = <0x0 0x17020000 0x0 0xd100>, 9818c2ecf20Sopenharmony_ci <0x0 0x17030000 0x0 0xc300>, 9828c2ecf20Sopenharmony_ci <0x0 0x10000000 0x0 0x200>; 9838c2ecf20Sopenharmony_ci reg-names = "enet_csr", "ring_csr", "ring_cmd"; 9848c2ecf20Sopenharmony_ci interrupts = <0x0 0x3c 0x4>; 9858c2ecf20Sopenharmony_ci dma-coherent; 9868c2ecf20Sopenharmony_ci clocks = <&menetclk 0>; 9878c2ecf20Sopenharmony_ci /* mac address will be overwritten by the bootloader */ 9888c2ecf20Sopenharmony_ci local-mac-address = [00 00 00 00 00 00]; 9898c2ecf20Sopenharmony_ci phy-connection-type = "rgmii"; 9908c2ecf20Sopenharmony_ci phy-handle = <&menetphy>,<&menet0phy>; 9918c2ecf20Sopenharmony_ci mdio { 9928c2ecf20Sopenharmony_ci compatible = "apm,xgene-mdio"; 9938c2ecf20Sopenharmony_ci #address-cells = <1>; 9948c2ecf20Sopenharmony_ci #size-cells = <0>; 9958c2ecf20Sopenharmony_ci menetphy: menetphy@3 { 9968c2ecf20Sopenharmony_ci compatible = "ethernet-phy-id001c.c915"; 9978c2ecf20Sopenharmony_ci reg = <0x3>; 9988c2ecf20Sopenharmony_ci }; 9998c2ecf20Sopenharmony_ci 10008c2ecf20Sopenharmony_ci }; 10018c2ecf20Sopenharmony_ci }; 10028c2ecf20Sopenharmony_ci 10038c2ecf20Sopenharmony_ci sgenet0: ethernet@1f210000 { 10048c2ecf20Sopenharmony_ci compatible = "apm,xgene1-sgenet"; 10058c2ecf20Sopenharmony_ci status = "disabled"; 10068c2ecf20Sopenharmony_ci reg = <0x0 0x1f210000 0x0 0xd100>, 10078c2ecf20Sopenharmony_ci <0x0 0x1f200000 0x0 0xc300>, 10088c2ecf20Sopenharmony_ci <0x0 0x1b000000 0x0 0x200>; 10098c2ecf20Sopenharmony_ci reg-names = "enet_csr", "ring_csr", "ring_cmd"; 10108c2ecf20Sopenharmony_ci interrupts = <0x0 0xa0 0x4>, 10118c2ecf20Sopenharmony_ci <0x0 0xa1 0x4>; 10128c2ecf20Sopenharmony_ci dma-coherent; 10138c2ecf20Sopenharmony_ci clocks = <&sge0clk 0>; 10148c2ecf20Sopenharmony_ci local-mac-address = [00 00 00 00 00 00]; 10158c2ecf20Sopenharmony_ci phy-connection-type = "sgmii"; 10168c2ecf20Sopenharmony_ci phy-handle = <&sgenet0phy>; 10178c2ecf20Sopenharmony_ci }; 10188c2ecf20Sopenharmony_ci 10198c2ecf20Sopenharmony_ci sgenet1: ethernet@1f210030 { 10208c2ecf20Sopenharmony_ci compatible = "apm,xgene1-sgenet"; 10218c2ecf20Sopenharmony_ci status = "disabled"; 10228c2ecf20Sopenharmony_ci reg = <0x0 0x1f210030 0x0 0xd100>, 10238c2ecf20Sopenharmony_ci <0x0 0x1f200000 0x0 0xc300>, 10248c2ecf20Sopenharmony_ci <0x0 0x1b000000 0x0 0x8000>; 10258c2ecf20Sopenharmony_ci reg-names = "enet_csr", "ring_csr", "ring_cmd"; 10268c2ecf20Sopenharmony_ci interrupts = <0x0 0xac 0x4>, 10278c2ecf20Sopenharmony_ci <0x0 0xad 0x4>; 10288c2ecf20Sopenharmony_ci port-id = <1>; 10298c2ecf20Sopenharmony_ci dma-coherent; 10308c2ecf20Sopenharmony_ci local-mac-address = [00 00 00 00 00 00]; 10318c2ecf20Sopenharmony_ci phy-connection-type = "sgmii"; 10328c2ecf20Sopenharmony_ci phy-handle = <&sgenet1phy>; 10338c2ecf20Sopenharmony_ci }; 10348c2ecf20Sopenharmony_ci 10358c2ecf20Sopenharmony_ci xgenet: ethernet@1f610000 { 10368c2ecf20Sopenharmony_ci compatible = "apm,xgene1-xgenet"; 10378c2ecf20Sopenharmony_ci status = "disabled"; 10388c2ecf20Sopenharmony_ci reg = <0x0 0x1f610000 0x0 0xd100>, 10398c2ecf20Sopenharmony_ci <0x0 0x1f600000 0x0 0xc300>, 10408c2ecf20Sopenharmony_ci <0x0 0x18000000 0x0 0x200>; 10418c2ecf20Sopenharmony_ci reg-names = "enet_csr", "ring_csr", "ring_cmd"; 10428c2ecf20Sopenharmony_ci interrupts = <0x0 0x60 0x4>, 10438c2ecf20Sopenharmony_ci <0x0 0x61 0x4>, 10448c2ecf20Sopenharmony_ci <0x0 0x62 0x4>, 10458c2ecf20Sopenharmony_ci <0x0 0x63 0x4>, 10468c2ecf20Sopenharmony_ci <0x0 0x64 0x4>, 10478c2ecf20Sopenharmony_ci <0x0 0x65 0x4>, 10488c2ecf20Sopenharmony_ci <0x0 0x66 0x4>, 10498c2ecf20Sopenharmony_ci <0x0 0x67 0x4>; 10508c2ecf20Sopenharmony_ci channel = <0>; 10518c2ecf20Sopenharmony_ci dma-coherent; 10528c2ecf20Sopenharmony_ci clocks = <&xge0clk 0>; 10538c2ecf20Sopenharmony_ci /* mac address will be overwritten by the bootloader */ 10548c2ecf20Sopenharmony_ci local-mac-address = [00 00 00 00 00 00]; 10558c2ecf20Sopenharmony_ci phy-connection-type = "xgmii"; 10568c2ecf20Sopenharmony_ci }; 10578c2ecf20Sopenharmony_ci 10588c2ecf20Sopenharmony_ci xgenet1: ethernet@1f620000 { 10598c2ecf20Sopenharmony_ci compatible = "apm,xgene1-xgenet"; 10608c2ecf20Sopenharmony_ci status = "disabled"; 10618c2ecf20Sopenharmony_ci reg = <0x0 0x1f620000 0x0 0xd100>, 10628c2ecf20Sopenharmony_ci <0x0 0x1f600000 0x0 0xc300>, 10638c2ecf20Sopenharmony_ci <0x0 0x18000000 0x0 0x8000>; 10648c2ecf20Sopenharmony_ci reg-names = "enet_csr", "ring_csr", "ring_cmd"; 10658c2ecf20Sopenharmony_ci interrupts = <0x0 0x6c 0x4>, 10668c2ecf20Sopenharmony_ci <0x0 0x6d 0x4>; 10678c2ecf20Sopenharmony_ci port-id = <1>; 10688c2ecf20Sopenharmony_ci dma-coherent; 10698c2ecf20Sopenharmony_ci clocks = <&xge1clk 0>; 10708c2ecf20Sopenharmony_ci /* mac address will be overwritten by the bootloader */ 10718c2ecf20Sopenharmony_ci local-mac-address = [00 00 00 00 00 00]; 10728c2ecf20Sopenharmony_ci phy-connection-type = "xgmii"; 10738c2ecf20Sopenharmony_ci }; 10748c2ecf20Sopenharmony_ci 10758c2ecf20Sopenharmony_ci rng: rng@10520000 { 10768c2ecf20Sopenharmony_ci compatible = "apm,xgene-rng"; 10778c2ecf20Sopenharmony_ci reg = <0x0 0x10520000 0x0 0x100>; 10788c2ecf20Sopenharmony_ci interrupts = <0x0 0x41 0x4>; 10798c2ecf20Sopenharmony_ci clocks = <&rngpkaclk 0>; 10808c2ecf20Sopenharmony_ci }; 10818c2ecf20Sopenharmony_ci 10828c2ecf20Sopenharmony_ci dma: dma@1f270000 { 10838c2ecf20Sopenharmony_ci compatible = "apm,xgene-storm-dma"; 10848c2ecf20Sopenharmony_ci device_type = "dma"; 10858c2ecf20Sopenharmony_ci reg = <0x0 0x1f270000 0x0 0x10000>, 10868c2ecf20Sopenharmony_ci <0x0 0x1f200000 0x0 0x10000>, 10878c2ecf20Sopenharmony_ci <0x0 0x1b000000 0x0 0x400000>, 10888c2ecf20Sopenharmony_ci <0x0 0x1054a000 0x0 0x100>; 10898c2ecf20Sopenharmony_ci interrupts = <0x0 0x82 0x4>, 10908c2ecf20Sopenharmony_ci <0x0 0xb8 0x4>, 10918c2ecf20Sopenharmony_ci <0x0 0xb9 0x4>, 10928c2ecf20Sopenharmony_ci <0x0 0xba 0x4>, 10938c2ecf20Sopenharmony_ci <0x0 0xbb 0x4>; 10948c2ecf20Sopenharmony_ci dma-coherent; 10958c2ecf20Sopenharmony_ci clocks = <&dmaclk 0>; 10968c2ecf20Sopenharmony_ci }; 10978c2ecf20Sopenharmony_ci }; 10988c2ecf20Sopenharmony_ci}; 1099