1*4882a593Smuzhiyun// SPDX-License-Identifier: GPL-2.0-or-later 2*4882a593Smuzhiyun/* 3*4882a593Smuzhiyun * dts file for AppliedMicro (APM) X-Gene Shadowcat SOC 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * Copyright (C) 2015, Applied Micro Circuits Corporation 6*4882a593Smuzhiyun */ 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun/ { 9*4882a593Smuzhiyun compatible = "apm,xgene-shadowcat"; 10*4882a593Smuzhiyun interrupt-parent = <&gic>; 11*4882a593Smuzhiyun #address-cells = <2>; 12*4882a593Smuzhiyun #size-cells = <2>; 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun cpus { 15*4882a593Smuzhiyun #address-cells = <2>; 16*4882a593Smuzhiyun #size-cells = <0>; 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun cpu@0 { 19*4882a593Smuzhiyun device_type = "cpu"; 20*4882a593Smuzhiyun compatible = "apm,strega"; 21*4882a593Smuzhiyun reg = <0x0 0x000>; 22*4882a593Smuzhiyun enable-method = "spin-table"; 23*4882a593Smuzhiyun cpu-release-addr = <0x1 0x0000fff8>; 24*4882a593Smuzhiyun next-level-cache = <&xgene_L2_0>; 25*4882a593Smuzhiyun #clock-cells = <1>; 26*4882a593Smuzhiyun clocks = <&pmd0clk 0>; 27*4882a593Smuzhiyun }; 28*4882a593Smuzhiyun cpu@1 { 29*4882a593Smuzhiyun device_type = "cpu"; 30*4882a593Smuzhiyun compatible = "apm,strega"; 31*4882a593Smuzhiyun reg = <0x0 0x001>; 32*4882a593Smuzhiyun enable-method = "spin-table"; 33*4882a593Smuzhiyun cpu-release-addr = <0x1 0x0000fff8>; 34*4882a593Smuzhiyun next-level-cache = <&xgene_L2_0>; 35*4882a593Smuzhiyun #clock-cells = <1>; 36*4882a593Smuzhiyun clocks = <&pmd0clk 0>; 37*4882a593Smuzhiyun }; 38*4882a593Smuzhiyun cpu@100 { 39*4882a593Smuzhiyun device_type = "cpu"; 40*4882a593Smuzhiyun compatible = "apm,strega"; 41*4882a593Smuzhiyun reg = <0x0 0x100>; 42*4882a593Smuzhiyun enable-method = "spin-table"; 43*4882a593Smuzhiyun cpu-release-addr = <0x1 0x0000fff8>; 44*4882a593Smuzhiyun next-level-cache = <&xgene_L2_1>; 45*4882a593Smuzhiyun #clock-cells = <1>; 46*4882a593Smuzhiyun clocks = <&pmd1clk 0>; 47*4882a593Smuzhiyun }; 48*4882a593Smuzhiyun cpu@101 { 49*4882a593Smuzhiyun device_type = "cpu"; 50*4882a593Smuzhiyun compatible = "apm,strega"; 51*4882a593Smuzhiyun reg = <0x0 0x101>; 52*4882a593Smuzhiyun enable-method = "spin-table"; 53*4882a593Smuzhiyun cpu-release-addr = <0x1 0x0000fff8>; 54*4882a593Smuzhiyun next-level-cache = <&xgene_L2_1>; 55*4882a593Smuzhiyun #clock-cells = <1>; 56*4882a593Smuzhiyun clocks = <&pmd1clk 0>; 57*4882a593Smuzhiyun }; 58*4882a593Smuzhiyun cpu@200 { 59*4882a593Smuzhiyun device_type = "cpu"; 60*4882a593Smuzhiyun compatible = "apm,strega"; 61*4882a593Smuzhiyun reg = <0x0 0x200>; 62*4882a593Smuzhiyun enable-method = "spin-table"; 63*4882a593Smuzhiyun cpu-release-addr = <0x1 0x0000fff8>; 64*4882a593Smuzhiyun next-level-cache = <&xgene_L2_2>; 65*4882a593Smuzhiyun #clock-cells = <1>; 66*4882a593Smuzhiyun clocks = <&pmd2clk 0>; 67*4882a593Smuzhiyun }; 68*4882a593Smuzhiyun cpu@201 { 69*4882a593Smuzhiyun device_type = "cpu"; 70*4882a593Smuzhiyun compatible = "apm,strega"; 71*4882a593Smuzhiyun reg = <0x0 0x201>; 72*4882a593Smuzhiyun enable-method = "spin-table"; 73*4882a593Smuzhiyun cpu-release-addr = <0x1 0x0000fff8>; 74*4882a593Smuzhiyun next-level-cache = <&xgene_L2_2>; 75*4882a593Smuzhiyun #clock-cells = <1>; 76*4882a593Smuzhiyun clocks = <&pmd2clk 0>; 77*4882a593Smuzhiyun }; 78*4882a593Smuzhiyun cpu@300 { 79*4882a593Smuzhiyun device_type = "cpu"; 80*4882a593Smuzhiyun compatible = "apm,strega"; 81*4882a593Smuzhiyun reg = <0x0 0x300>; 82*4882a593Smuzhiyun enable-method = "spin-table"; 83*4882a593Smuzhiyun cpu-release-addr = <0x1 0x0000fff8>; 84*4882a593Smuzhiyun next-level-cache = <&xgene_L2_3>; 85*4882a593Smuzhiyun #clock-cells = <1>; 86*4882a593Smuzhiyun clocks = <&pmd3clk 0>; 87*4882a593Smuzhiyun }; 88*4882a593Smuzhiyun cpu@301 { 89*4882a593Smuzhiyun device_type = "cpu"; 90*4882a593Smuzhiyun compatible = "apm,strega"; 91*4882a593Smuzhiyun reg = <0x0 0x301>; 92*4882a593Smuzhiyun enable-method = "spin-table"; 93*4882a593Smuzhiyun cpu-release-addr = <0x1 0x0000fff8>; 94*4882a593Smuzhiyun next-level-cache = <&xgene_L2_3>; 95*4882a593Smuzhiyun #clock-cells = <1>; 96*4882a593Smuzhiyun clocks = <&pmd3clk 0>; 97*4882a593Smuzhiyun }; 98*4882a593Smuzhiyun xgene_L2_0: l2-cache-0 { 99*4882a593Smuzhiyun compatible = "cache"; 100*4882a593Smuzhiyun }; 101*4882a593Smuzhiyun xgene_L2_1: l2-cache-1 { 102*4882a593Smuzhiyun compatible = "cache"; 103*4882a593Smuzhiyun }; 104*4882a593Smuzhiyun xgene_L2_2: l2-cache-2 { 105*4882a593Smuzhiyun compatible = "cache"; 106*4882a593Smuzhiyun }; 107*4882a593Smuzhiyun xgene_L2_3: l2-cache-3 { 108*4882a593Smuzhiyun compatible = "cache"; 109*4882a593Smuzhiyun }; 110*4882a593Smuzhiyun }; 111*4882a593Smuzhiyun 112*4882a593Smuzhiyun gic: interrupt-controller@78090000 { 113*4882a593Smuzhiyun compatible = "arm,cortex-a15-gic"; 114*4882a593Smuzhiyun #interrupt-cells = <3>; 115*4882a593Smuzhiyun #address-cells = <2>; 116*4882a593Smuzhiyun #size-cells = <2>; 117*4882a593Smuzhiyun interrupt-controller; 118*4882a593Smuzhiyun interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */ 119*4882a593Smuzhiyun ranges = <0 0 0 0x79000000 0x0 0x800000>; /* MSI Range */ 120*4882a593Smuzhiyun reg = <0x0 0x78090000 0x0 0x10000>, /* GIC Dist */ 121*4882a593Smuzhiyun <0x0 0x780a0000 0x0 0x20000>, /* GIC CPU */ 122*4882a593Smuzhiyun <0x0 0x780c0000 0x0 0x10000>, /* GIC VCPU Control */ 123*4882a593Smuzhiyun <0x0 0x780e0000 0x0 0x20000>; /* GIC VCPU */ 124*4882a593Smuzhiyun v2m0: v2m@0 { 125*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 126*4882a593Smuzhiyun msi-controller; 127*4882a593Smuzhiyun reg = <0x0 0x0 0x0 0x1000>; 128*4882a593Smuzhiyun }; 129*4882a593Smuzhiyun v2m1: v2m@10000 { 130*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 131*4882a593Smuzhiyun msi-controller; 132*4882a593Smuzhiyun reg = <0x0 0x10000 0x0 0x1000>; 133*4882a593Smuzhiyun }; 134*4882a593Smuzhiyun v2m2: v2m@20000 { 135*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 136*4882a593Smuzhiyun msi-controller; 137*4882a593Smuzhiyun reg = <0x0 0x20000 0x0 0x1000>; 138*4882a593Smuzhiyun }; 139*4882a593Smuzhiyun v2m3: v2m@30000 { 140*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 141*4882a593Smuzhiyun msi-controller; 142*4882a593Smuzhiyun reg = <0x0 0x30000 0x0 0x1000>; 143*4882a593Smuzhiyun }; 144*4882a593Smuzhiyun v2m4: v2m@40000 { 145*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 146*4882a593Smuzhiyun msi-controller; 147*4882a593Smuzhiyun reg = <0x0 0x40000 0x0 0x1000>; 148*4882a593Smuzhiyun }; 149*4882a593Smuzhiyun v2m5: v2m@50000 { 150*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 151*4882a593Smuzhiyun msi-controller; 152*4882a593Smuzhiyun reg = <0x0 0x50000 0x0 0x1000>; 153*4882a593Smuzhiyun }; 154*4882a593Smuzhiyun v2m6: v2m@60000 { 155*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 156*4882a593Smuzhiyun msi-controller; 157*4882a593Smuzhiyun reg = <0x0 0x60000 0x0 0x1000>; 158*4882a593Smuzhiyun }; 159*4882a593Smuzhiyun v2m7: v2m@70000 { 160*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 161*4882a593Smuzhiyun msi-controller; 162*4882a593Smuzhiyun reg = <0x0 0x70000 0x0 0x1000>; 163*4882a593Smuzhiyun }; 164*4882a593Smuzhiyun v2m8: v2m@80000 { 165*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 166*4882a593Smuzhiyun msi-controller; 167*4882a593Smuzhiyun reg = <0x0 0x80000 0x0 0x1000>; 168*4882a593Smuzhiyun }; 169*4882a593Smuzhiyun v2m9: v2m@90000 { 170*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 171*4882a593Smuzhiyun msi-controller; 172*4882a593Smuzhiyun reg = <0x0 0x90000 0x0 0x1000>; 173*4882a593Smuzhiyun }; 174*4882a593Smuzhiyun v2m10: v2m@a0000 { 175*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 176*4882a593Smuzhiyun msi-controller; 177*4882a593Smuzhiyun reg = <0x0 0xa0000 0x0 0x1000>; 178*4882a593Smuzhiyun }; 179*4882a593Smuzhiyun v2m11: v2m@b0000 { 180*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 181*4882a593Smuzhiyun msi-controller; 182*4882a593Smuzhiyun reg = <0x0 0xb0000 0x0 0x1000>; 183*4882a593Smuzhiyun }; 184*4882a593Smuzhiyun v2m12: v2m@c0000 { 185*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 186*4882a593Smuzhiyun msi-controller; 187*4882a593Smuzhiyun reg = <0x0 0xc0000 0x0 0x1000>; 188*4882a593Smuzhiyun }; 189*4882a593Smuzhiyun v2m13: v2m@d0000 { 190*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 191*4882a593Smuzhiyun msi-controller; 192*4882a593Smuzhiyun reg = <0x0 0xd0000 0x0 0x1000>; 193*4882a593Smuzhiyun }; 194*4882a593Smuzhiyun v2m14: v2m@e0000 { 195*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 196*4882a593Smuzhiyun msi-controller; 197*4882a593Smuzhiyun reg = <0x0 0xe0000 0x0 0x1000>; 198*4882a593Smuzhiyun }; 199*4882a593Smuzhiyun v2m15: v2m@f0000 { 200*4882a593Smuzhiyun compatible = "arm,gic-v2m-frame"; 201*4882a593Smuzhiyun msi-controller; 202*4882a593Smuzhiyun reg = <0x0 0xf0000 0x0 0x1000>; 203*4882a593Smuzhiyun }; 204*4882a593Smuzhiyun }; 205*4882a593Smuzhiyun 206*4882a593Smuzhiyun pmu { 207*4882a593Smuzhiyun compatible = "arm,armv8-pmuv3"; 208*4882a593Smuzhiyun interrupts = <1 12 0xff04>; 209*4882a593Smuzhiyun }; 210*4882a593Smuzhiyun 211*4882a593Smuzhiyun timer { 212*4882a593Smuzhiyun compatible = "arm,armv8-timer"; 213*4882a593Smuzhiyun interrupts = <1 0 0xff08>, /* Secure Phys IRQ */ 214*4882a593Smuzhiyun <1 13 0xff08>, /* Non-secure Phys IRQ */ 215*4882a593Smuzhiyun <1 14 0xff08>, /* Virt IRQ */ 216*4882a593Smuzhiyun <1 15 0xff08>; /* Hyp IRQ */ 217*4882a593Smuzhiyun clock-frequency = <50000000>; 218*4882a593Smuzhiyun }; 219*4882a593Smuzhiyun 220*4882a593Smuzhiyun soc { 221*4882a593Smuzhiyun compatible = "simple-bus"; 222*4882a593Smuzhiyun #address-cells = <2>; 223*4882a593Smuzhiyun #size-cells = <2>; 224*4882a593Smuzhiyun ranges; 225*4882a593Smuzhiyun 226*4882a593Smuzhiyun clocks { 227*4882a593Smuzhiyun #address-cells = <2>; 228*4882a593Smuzhiyun #size-cells = <2>; 229*4882a593Smuzhiyun ranges; 230*4882a593Smuzhiyun 231*4882a593Smuzhiyun refclk: refclk { 232*4882a593Smuzhiyun compatible = "fixed-clock"; 233*4882a593Smuzhiyun #clock-cells = <1>; 234*4882a593Smuzhiyun clock-frequency = <100000000>; 235*4882a593Smuzhiyun clock-output-names = "refclk"; 236*4882a593Smuzhiyun }; 237*4882a593Smuzhiyun 238*4882a593Smuzhiyun pmdpll: pmdpll@170000f0 { 239*4882a593Smuzhiyun compatible = "apm,xgene-pcppll-v2-clock"; 240*4882a593Smuzhiyun #clock-cells = <1>; 241*4882a593Smuzhiyun clocks = <&refclk 0>; 242*4882a593Smuzhiyun reg = <0x0 0x170000f0 0x0 0x10>; 243*4882a593Smuzhiyun clock-output-names = "pmdpll"; 244*4882a593Smuzhiyun }; 245*4882a593Smuzhiyun 246*4882a593Smuzhiyun pmd0clk: pmd0clk@7e200200 { 247*4882a593Smuzhiyun compatible = "apm,xgene-pmd-clock"; 248*4882a593Smuzhiyun #clock-cells = <1>; 249*4882a593Smuzhiyun clocks = <&pmdpll 0>; 250*4882a593Smuzhiyun reg = <0x0 0x7e200200 0x0 0x10>; 251*4882a593Smuzhiyun clock-output-names = "pmd0clk"; 252*4882a593Smuzhiyun }; 253*4882a593Smuzhiyun 254*4882a593Smuzhiyun pmd1clk: pmd1clk@7e200210 { 255*4882a593Smuzhiyun compatible = "apm,xgene-pmd-clock"; 256*4882a593Smuzhiyun #clock-cells = <1>; 257*4882a593Smuzhiyun clocks = <&pmdpll 0>; 258*4882a593Smuzhiyun reg = <0x0 0x7e200210 0x0 0x10>; 259*4882a593Smuzhiyun clock-output-names = "pmd1clk"; 260*4882a593Smuzhiyun }; 261*4882a593Smuzhiyun 262*4882a593Smuzhiyun pmd2clk: pmd2clk@7e200220 { 263*4882a593Smuzhiyun compatible = "apm,xgene-pmd-clock"; 264*4882a593Smuzhiyun #clock-cells = <1>; 265*4882a593Smuzhiyun clocks = <&pmdpll 0>; 266*4882a593Smuzhiyun reg = <0x0 0x7e200220 0x0 0x10>; 267*4882a593Smuzhiyun clock-output-names = "pmd2clk"; 268*4882a593Smuzhiyun }; 269*4882a593Smuzhiyun 270*4882a593Smuzhiyun pmd3clk: pmd3clk@7e200230 { 271*4882a593Smuzhiyun compatible = "apm,xgene-pmd-clock"; 272*4882a593Smuzhiyun #clock-cells = <1>; 273*4882a593Smuzhiyun clocks = <&pmdpll 0>; 274*4882a593Smuzhiyun reg = <0x0 0x7e200230 0x0 0x10>; 275*4882a593Smuzhiyun clock-output-names = "pmd3clk"; 276*4882a593Smuzhiyun }; 277*4882a593Smuzhiyun 278*4882a593Smuzhiyun socpll: socpll@17000120 { 279*4882a593Smuzhiyun compatible = "apm,xgene-socpll-v2-clock"; 280*4882a593Smuzhiyun #clock-cells = <1>; 281*4882a593Smuzhiyun clocks = <&refclk 0>; 282*4882a593Smuzhiyun reg = <0x0 0x17000120 0x0 0x1000>; 283*4882a593Smuzhiyun clock-output-names = "socpll"; 284*4882a593Smuzhiyun }; 285*4882a593Smuzhiyun 286*4882a593Smuzhiyun socplldiv2: socplldiv2 { 287*4882a593Smuzhiyun compatible = "fixed-factor-clock"; 288*4882a593Smuzhiyun #clock-cells = <1>; 289*4882a593Smuzhiyun clocks = <&socpll 0>; 290*4882a593Smuzhiyun clock-mult = <1>; 291*4882a593Smuzhiyun clock-div = <2>; 292*4882a593Smuzhiyun clock-output-names = "socplldiv2"; 293*4882a593Smuzhiyun }; 294*4882a593Smuzhiyun 295*4882a593Smuzhiyun ahbclk: ahbclk@17000000 { 296*4882a593Smuzhiyun compatible = "apm,xgene-device-clock"; 297*4882a593Smuzhiyun #clock-cells = <1>; 298*4882a593Smuzhiyun clocks = <&socplldiv2 0>; 299*4882a593Smuzhiyun reg = <0x0 0x17000000 0x0 0x2000>; 300*4882a593Smuzhiyun reg-names = "div-reg"; 301*4882a593Smuzhiyun divider-offset = <0x164>; 302*4882a593Smuzhiyun divider-width = <0x5>; 303*4882a593Smuzhiyun divider-shift = <0x0>; 304*4882a593Smuzhiyun clock-output-names = "ahbclk"; 305*4882a593Smuzhiyun }; 306*4882a593Smuzhiyun 307*4882a593Smuzhiyun sbapbclk: sbapbclk@1704c000 { 308*4882a593Smuzhiyun compatible = "apm,xgene-device-clock"; 309*4882a593Smuzhiyun #clock-cells = <1>; 310*4882a593Smuzhiyun clocks = <&ahbclk 0>; 311*4882a593Smuzhiyun reg = <0x0 0x1704c000 0x0 0x2000>; 312*4882a593Smuzhiyun reg-names = "div-reg"; 313*4882a593Smuzhiyun divider-offset = <0x10>; 314*4882a593Smuzhiyun divider-width = <0x2>; 315*4882a593Smuzhiyun divider-shift = <0x0>; 316*4882a593Smuzhiyun clock-output-names = "sbapbclk"; 317*4882a593Smuzhiyun }; 318*4882a593Smuzhiyun 319*4882a593Smuzhiyun sdioclk: sdioclk@1f2ac000 { 320*4882a593Smuzhiyun compatible = "apm,xgene-device-clock"; 321*4882a593Smuzhiyun #clock-cells = <1>; 322*4882a593Smuzhiyun clocks = <&socplldiv2 0>; 323*4882a593Smuzhiyun reg = <0x0 0x1f2ac000 0x0 0x1000 324*4882a593Smuzhiyun 0x0 0x17000000 0x0 0x2000>; 325*4882a593Smuzhiyun reg-names = "csr-reg", "div-reg"; 326*4882a593Smuzhiyun csr-offset = <0x0>; 327*4882a593Smuzhiyun csr-mask = <0x2>; 328*4882a593Smuzhiyun enable-offset = <0x8>; 329*4882a593Smuzhiyun enable-mask = <0x2>; 330*4882a593Smuzhiyun divider-offset = <0x178>; 331*4882a593Smuzhiyun divider-width = <0x8>; 332*4882a593Smuzhiyun divider-shift = <0x0>; 333*4882a593Smuzhiyun clock-output-names = "sdioclk"; 334*4882a593Smuzhiyun }; 335*4882a593Smuzhiyun 336*4882a593Smuzhiyun pcie0clk: pcie0clk@1f2bc000 { 337*4882a593Smuzhiyun compatible = "apm,xgene-device-clock"; 338*4882a593Smuzhiyun #clock-cells = <1>; 339*4882a593Smuzhiyun clocks = <&socplldiv2 0>; 340*4882a593Smuzhiyun reg = <0x0 0x1f2bc000 0x0 0x1000>; 341*4882a593Smuzhiyun reg-names = "csr-reg"; 342*4882a593Smuzhiyun clock-output-names = "pcie0clk"; 343*4882a593Smuzhiyun }; 344*4882a593Smuzhiyun 345*4882a593Smuzhiyun pcie1clk: pcie1clk@1f2cc000 { 346*4882a593Smuzhiyun compatible = "apm,xgene-device-clock"; 347*4882a593Smuzhiyun #clock-cells = <1>; 348*4882a593Smuzhiyun clocks = <&socplldiv2 0>; 349*4882a593Smuzhiyun reg = <0x0 0x1f2cc000 0x0 0x1000>; 350*4882a593Smuzhiyun reg-names = "csr-reg"; 351*4882a593Smuzhiyun clock-output-names = "pcie1clk"; 352*4882a593Smuzhiyun }; 353*4882a593Smuzhiyun 354*4882a593Smuzhiyun xge0clk: xge0clk@1f61c000 { 355*4882a593Smuzhiyun compatible = "apm,xgene-device-clock"; 356*4882a593Smuzhiyun #clock-cells = <1>; 357*4882a593Smuzhiyun clocks = <&socplldiv2 0>; 358*4882a593Smuzhiyun reg = <0x0 0x1f61c000 0x0 0x1000>; 359*4882a593Smuzhiyun reg-names = "csr-reg"; 360*4882a593Smuzhiyun enable-mask = <0x3>; 361*4882a593Smuzhiyun csr-mask = <0x3>; 362*4882a593Smuzhiyun clock-output-names = "xge0clk"; 363*4882a593Smuzhiyun }; 364*4882a593Smuzhiyun 365*4882a593Smuzhiyun xge1clk: xge1clk@1f62c000 { 366*4882a593Smuzhiyun compatible = "apm,xgene-device-clock"; 367*4882a593Smuzhiyun #clock-cells = <1>; 368*4882a593Smuzhiyun clocks = <&socplldiv2 0>; 369*4882a593Smuzhiyun reg = <0x0 0x1f62c000 0x0 0x1000>; 370*4882a593Smuzhiyun reg-names = "csr-reg"; 371*4882a593Smuzhiyun enable-mask = <0x3>; 372*4882a593Smuzhiyun csr-mask = <0x3>; 373*4882a593Smuzhiyun clock-output-names = "xge1clk"; 374*4882a593Smuzhiyun }; 375*4882a593Smuzhiyun 376*4882a593Smuzhiyun rngpkaclk: rngpkaclk@17000000 { 377*4882a593Smuzhiyun compatible = "apm,xgene-device-clock"; 378*4882a593Smuzhiyun #clock-cells = <1>; 379*4882a593Smuzhiyun clocks = <&socplldiv2 0>; 380*4882a593Smuzhiyun reg = <0x0 0x17000000 0x0 0x2000>; 381*4882a593Smuzhiyun reg-names = "csr-reg"; 382*4882a593Smuzhiyun csr-offset = <0xc>; 383*4882a593Smuzhiyun csr-mask = <0x10>; 384*4882a593Smuzhiyun enable-offset = <0x10>; 385*4882a593Smuzhiyun enable-mask = <0x10>; 386*4882a593Smuzhiyun clock-output-names = "rngpkaclk"; 387*4882a593Smuzhiyun }; 388*4882a593Smuzhiyun 389*4882a593Smuzhiyun i2c4clk: i2c4clk@1704c000 { 390*4882a593Smuzhiyun compatible = "apm,xgene-device-clock"; 391*4882a593Smuzhiyun #clock-cells = <1>; 392*4882a593Smuzhiyun clocks = <&sbapbclk 0>; 393*4882a593Smuzhiyun reg = <0x0 0x1704c000 0x0 0x1000>; 394*4882a593Smuzhiyun reg-names = "csr-reg"; 395*4882a593Smuzhiyun csr-offset = <0x0>; 396*4882a593Smuzhiyun csr-mask = <0x40>; 397*4882a593Smuzhiyun enable-offset = <0x8>; 398*4882a593Smuzhiyun enable-mask = <0x40>; 399*4882a593Smuzhiyun clock-output-names = "i2c4clk"; 400*4882a593Smuzhiyun }; 401*4882a593Smuzhiyun }; 402*4882a593Smuzhiyun 403*4882a593Smuzhiyun scu: system-clk-controller@17000000 { 404*4882a593Smuzhiyun compatible = "apm,xgene-scu","syscon"; 405*4882a593Smuzhiyun reg = <0x0 0x17000000 0x0 0x400>; 406*4882a593Smuzhiyun }; 407*4882a593Smuzhiyun 408*4882a593Smuzhiyun reboot: reboot@17000014 { 409*4882a593Smuzhiyun compatible = "syscon-reboot"; 410*4882a593Smuzhiyun regmap = <&scu>; 411*4882a593Smuzhiyun offset = <0x14>; 412*4882a593Smuzhiyun mask = <0x1>; 413*4882a593Smuzhiyun }; 414*4882a593Smuzhiyun 415*4882a593Smuzhiyun csw: csw@7e200000 { 416*4882a593Smuzhiyun compatible = "apm,xgene-csw", "syscon"; 417*4882a593Smuzhiyun reg = <0x0 0x7e200000 0x0 0x1000>; 418*4882a593Smuzhiyun }; 419*4882a593Smuzhiyun 420*4882a593Smuzhiyun mcba: mcba@7e700000 { 421*4882a593Smuzhiyun compatible = "apm,xgene-mcb", "syscon"; 422*4882a593Smuzhiyun reg = <0x0 0x7e700000 0x0 0x1000>; 423*4882a593Smuzhiyun }; 424*4882a593Smuzhiyun 425*4882a593Smuzhiyun mcbb: mcbb@7e720000 { 426*4882a593Smuzhiyun compatible = "apm,xgene-mcb", "syscon"; 427*4882a593Smuzhiyun reg = <0x0 0x7e720000 0x0 0x1000>; 428*4882a593Smuzhiyun }; 429*4882a593Smuzhiyun 430*4882a593Smuzhiyun efuse: efuse@1054a000 { 431*4882a593Smuzhiyun compatible = "apm,xgene-efuse", "syscon"; 432*4882a593Smuzhiyun reg = <0x0 0x1054a000 0x0 0x20>; 433*4882a593Smuzhiyun }; 434*4882a593Smuzhiyun 435*4882a593Smuzhiyun edac@78800000 { 436*4882a593Smuzhiyun compatible = "apm,xgene-edac"; 437*4882a593Smuzhiyun #address-cells = <2>; 438*4882a593Smuzhiyun #size-cells = <2>; 439*4882a593Smuzhiyun ranges; 440*4882a593Smuzhiyun regmap-csw = <&csw>; 441*4882a593Smuzhiyun regmap-mcba = <&mcba>; 442*4882a593Smuzhiyun regmap-mcbb = <&mcbb>; 443*4882a593Smuzhiyun regmap-efuse = <&efuse>; 444*4882a593Smuzhiyun reg = <0x0 0x78800000 0x0 0x100>; 445*4882a593Smuzhiyun interrupts = <0x0 0x20 0x4>, 446*4882a593Smuzhiyun <0x0 0x21 0x4>, 447*4882a593Smuzhiyun <0x0 0x27 0x4>; 448*4882a593Smuzhiyun 449*4882a593Smuzhiyun edacmc@7e800000 { 450*4882a593Smuzhiyun compatible = "apm,xgene-edac-mc"; 451*4882a593Smuzhiyun reg = <0x0 0x7e800000 0x0 0x1000>; 452*4882a593Smuzhiyun memory-controller = <0>; 453*4882a593Smuzhiyun }; 454*4882a593Smuzhiyun 455*4882a593Smuzhiyun edacmc@7e840000 { 456*4882a593Smuzhiyun compatible = "apm,xgene-edac-mc"; 457*4882a593Smuzhiyun reg = <0x0 0x7e840000 0x0 0x1000>; 458*4882a593Smuzhiyun memory-controller = <1>; 459*4882a593Smuzhiyun }; 460*4882a593Smuzhiyun 461*4882a593Smuzhiyun edacmc@7e880000 { 462*4882a593Smuzhiyun compatible = "apm,xgene-edac-mc"; 463*4882a593Smuzhiyun reg = <0x0 0x7e880000 0x0 0x1000>; 464*4882a593Smuzhiyun memory-controller = <2>; 465*4882a593Smuzhiyun }; 466*4882a593Smuzhiyun 467*4882a593Smuzhiyun edacmc@7e8c0000 { 468*4882a593Smuzhiyun compatible = "apm,xgene-edac-mc"; 469*4882a593Smuzhiyun reg = <0x0 0x7e8c0000 0x0 0x1000>; 470*4882a593Smuzhiyun memory-controller = <3>; 471*4882a593Smuzhiyun }; 472*4882a593Smuzhiyun 473*4882a593Smuzhiyun edacpmd@7c000000 { 474*4882a593Smuzhiyun compatible = "apm,xgene-edac-pmd"; 475*4882a593Smuzhiyun reg = <0x0 0x7c000000 0x0 0x200000>; 476*4882a593Smuzhiyun pmd-controller = <0>; 477*4882a593Smuzhiyun }; 478*4882a593Smuzhiyun 479*4882a593Smuzhiyun edacpmd@7c200000 { 480*4882a593Smuzhiyun compatible = "apm,xgene-edac-pmd"; 481*4882a593Smuzhiyun reg = <0x0 0x7c200000 0x0 0x200000>; 482*4882a593Smuzhiyun pmd-controller = <1>; 483*4882a593Smuzhiyun }; 484*4882a593Smuzhiyun 485*4882a593Smuzhiyun edacpmd@7c400000 { 486*4882a593Smuzhiyun compatible = "apm,xgene-edac-pmd"; 487*4882a593Smuzhiyun reg = <0x0 0x7c400000 0x0 0x200000>; 488*4882a593Smuzhiyun pmd-controller = <2>; 489*4882a593Smuzhiyun }; 490*4882a593Smuzhiyun 491*4882a593Smuzhiyun edacpmd@7c600000 { 492*4882a593Smuzhiyun compatible = "apm,xgene-edac-pmd"; 493*4882a593Smuzhiyun reg = <0x0 0x7c600000 0x0 0x200000>; 494*4882a593Smuzhiyun pmd-controller = <3>; 495*4882a593Smuzhiyun }; 496*4882a593Smuzhiyun 497*4882a593Smuzhiyun edacl3@7e600000 { 498*4882a593Smuzhiyun compatible = "apm,xgene-edac-l3-v2"; 499*4882a593Smuzhiyun reg = <0x0 0x7e600000 0x0 0x1000>; 500*4882a593Smuzhiyun }; 501*4882a593Smuzhiyun 502*4882a593Smuzhiyun edacsoc@7e930000 { 503*4882a593Smuzhiyun compatible = "apm,xgene-edac-soc"; 504*4882a593Smuzhiyun reg = <0x0 0x7e930000 0x0 0x1000>; 505*4882a593Smuzhiyun }; 506*4882a593Smuzhiyun }; 507*4882a593Smuzhiyun 508*4882a593Smuzhiyun pmu: pmu@78810000 { 509*4882a593Smuzhiyun compatible = "apm,xgene-pmu-v2"; 510*4882a593Smuzhiyun #address-cells = <2>; 511*4882a593Smuzhiyun #size-cells = <2>; 512*4882a593Smuzhiyun ranges; 513*4882a593Smuzhiyun regmap-csw = <&csw>; 514*4882a593Smuzhiyun regmap-mcba = <&mcba>; 515*4882a593Smuzhiyun regmap-mcbb = <&mcbb>; 516*4882a593Smuzhiyun reg = <0x0 0x78810000 0x0 0x1000>; 517*4882a593Smuzhiyun interrupts = <0x0 0x22 0x4>; 518*4882a593Smuzhiyun 519*4882a593Smuzhiyun pmul3c@7e610000 { 520*4882a593Smuzhiyun compatible = "apm,xgene-pmu-l3c"; 521*4882a593Smuzhiyun reg = <0x0 0x7e610000 0x0 0x1000>; 522*4882a593Smuzhiyun }; 523*4882a593Smuzhiyun 524*4882a593Smuzhiyun pmuiob@7e940000 { 525*4882a593Smuzhiyun compatible = "apm,xgene-pmu-iob"; 526*4882a593Smuzhiyun reg = <0x0 0x7e940000 0x0 0x1000>; 527*4882a593Smuzhiyun }; 528*4882a593Smuzhiyun 529*4882a593Smuzhiyun pmucmcb@7e710000 { 530*4882a593Smuzhiyun compatible = "apm,xgene-pmu-mcb"; 531*4882a593Smuzhiyun reg = <0x0 0x7e710000 0x0 0x1000>; 532*4882a593Smuzhiyun enable-bit-index = <0>; 533*4882a593Smuzhiyun }; 534*4882a593Smuzhiyun 535*4882a593Smuzhiyun pmucmcb@7e730000 { 536*4882a593Smuzhiyun compatible = "apm,xgene-pmu-mcb"; 537*4882a593Smuzhiyun reg = <0x0 0x7e730000 0x0 0x1000>; 538*4882a593Smuzhiyun enable-bit-index = <1>; 539*4882a593Smuzhiyun }; 540*4882a593Smuzhiyun 541*4882a593Smuzhiyun pmucmc@7e810000 { 542*4882a593Smuzhiyun compatible = "apm,xgene-pmu-mc"; 543*4882a593Smuzhiyun reg = <0x0 0x7e810000 0x0 0x1000>; 544*4882a593Smuzhiyun enable-bit-index = <0>; 545*4882a593Smuzhiyun }; 546*4882a593Smuzhiyun 547*4882a593Smuzhiyun pmucmc@7e850000 { 548*4882a593Smuzhiyun compatible = "apm,xgene-pmu-mc"; 549*4882a593Smuzhiyun reg = <0x0 0x7e850000 0x0 0x1000>; 550*4882a593Smuzhiyun enable-bit-index = <1>; 551*4882a593Smuzhiyun }; 552*4882a593Smuzhiyun 553*4882a593Smuzhiyun pmucmc@7e890000 { 554*4882a593Smuzhiyun compatible = "apm,xgene-pmu-mc"; 555*4882a593Smuzhiyun reg = <0x0 0x7e890000 0x0 0x1000>; 556*4882a593Smuzhiyun enable-bit-index = <2>; 557*4882a593Smuzhiyun }; 558*4882a593Smuzhiyun 559*4882a593Smuzhiyun pmucmc@7e8d0000 { 560*4882a593Smuzhiyun compatible = "apm,xgene-pmu-mc"; 561*4882a593Smuzhiyun reg = <0x0 0x7e8d0000 0x0 0x1000>; 562*4882a593Smuzhiyun enable-bit-index = <3>; 563*4882a593Smuzhiyun }; 564*4882a593Smuzhiyun }; 565*4882a593Smuzhiyun 566*4882a593Smuzhiyun mailbox: mailbox@10540000 { 567*4882a593Smuzhiyun compatible = "apm,xgene-slimpro-mbox"; 568*4882a593Smuzhiyun reg = <0x0 0x10540000 0x0 0x8000>; 569*4882a593Smuzhiyun #mbox-cells = <1>; 570*4882a593Smuzhiyun interrupts = <0x0 0x0 0x4 571*4882a593Smuzhiyun 0x0 0x1 0x4 572*4882a593Smuzhiyun 0x0 0x2 0x4 573*4882a593Smuzhiyun 0x0 0x3 0x4 574*4882a593Smuzhiyun 0x0 0x4 0x4 575*4882a593Smuzhiyun 0x0 0x5 0x4 576*4882a593Smuzhiyun 0x0 0x6 0x4 577*4882a593Smuzhiyun 0x0 0x7 0x4>; 578*4882a593Smuzhiyun }; 579*4882a593Smuzhiyun 580*4882a593Smuzhiyun i2cslimpro { 581*4882a593Smuzhiyun compatible = "apm,xgene-slimpro-i2c"; 582*4882a593Smuzhiyun mboxes = <&mailbox 0>; 583*4882a593Smuzhiyun }; 584*4882a593Smuzhiyun 585*4882a593Smuzhiyun hwmonslimpro { 586*4882a593Smuzhiyun compatible = "apm,xgene-slimpro-hwmon"; 587*4882a593Smuzhiyun mboxes = <&mailbox 7>; 588*4882a593Smuzhiyun }; 589*4882a593Smuzhiyun 590*4882a593Smuzhiyun serial0: serial@10600000 { 591*4882a593Smuzhiyun device_type = "serial"; 592*4882a593Smuzhiyun compatible = "ns16550"; 593*4882a593Smuzhiyun reg = <0 0x10600000 0x0 0x1000>; 594*4882a593Smuzhiyun reg-shift = <2>; 595*4882a593Smuzhiyun clock-frequency = <10000000>; 596*4882a593Smuzhiyun interrupt-parent = <&gic>; 597*4882a593Smuzhiyun interrupts = <0x0 0x4c 0x4>; 598*4882a593Smuzhiyun }; 599*4882a593Smuzhiyun 600*4882a593Smuzhiyun /* Do not change dwusb name, coded for backward compatibility */ 601*4882a593Smuzhiyun usb0: dwusb@19000000 { 602*4882a593Smuzhiyun status = "disabled"; 603*4882a593Smuzhiyun compatible = "snps,dwc3"; 604*4882a593Smuzhiyun reg = <0x0 0x19000000 0x0 0x100000>; 605*4882a593Smuzhiyun interrupts = <0x0 0x5d 0x4>; 606*4882a593Smuzhiyun dma-coherent; 607*4882a593Smuzhiyun dr_mode = "host"; 608*4882a593Smuzhiyun }; 609*4882a593Smuzhiyun 610*4882a593Smuzhiyun pcie0: pcie@1f2b0000 { 611*4882a593Smuzhiyun status = "disabled"; 612*4882a593Smuzhiyun device_type = "pci"; 613*4882a593Smuzhiyun compatible = "apm,xgene-pcie", "apm,xgene2-pcie"; 614*4882a593Smuzhiyun #interrupt-cells = <1>; 615*4882a593Smuzhiyun #size-cells = <2>; 616*4882a593Smuzhiyun #address-cells = <3>; 617*4882a593Smuzhiyun reg = < 0x00 0x1f2b0000 0x0 0x00010000 /* Controller registers */ 618*4882a593Smuzhiyun 0xc0 0xd0000000 0x0 0x00040000>; /* PCI config space */ 619*4882a593Smuzhiyun reg-names = "csr", "cfg"; 620*4882a593Smuzhiyun ranges = <0x01000000 0x00 0x00000000 0xc0 0x10000000 0x00 0x00010000 /* io */ 621*4882a593Smuzhiyun 0x02000000 0x00 0x20000000 0xc1 0x20000000 0x00 0x20000000 /* mem */ 622*4882a593Smuzhiyun 0x43000000 0xe0 0x00000000 0xe0 0x00000000 0x20 0x00000000>; /* mem */ 623*4882a593Smuzhiyun dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000 624*4882a593Smuzhiyun 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>; 625*4882a593Smuzhiyun bus-range = <0x00 0xff>; 626*4882a593Smuzhiyun interrupt-map-mask = <0x0 0x0 0x0 0x7>; 627*4882a593Smuzhiyun interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x10 0x4 628*4882a593Smuzhiyun 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x11 0x4 629*4882a593Smuzhiyun 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x12 0x4 630*4882a593Smuzhiyun 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x13 0x4>; 631*4882a593Smuzhiyun dma-coherent; 632*4882a593Smuzhiyun clocks = <&pcie0clk 0>; 633*4882a593Smuzhiyun msi-parent = <&v2m0>; 634*4882a593Smuzhiyun }; 635*4882a593Smuzhiyun 636*4882a593Smuzhiyun pcie1: pcie@1f2c0000 { 637*4882a593Smuzhiyun status = "disabled"; 638*4882a593Smuzhiyun device_type = "pci"; 639*4882a593Smuzhiyun compatible = "apm,xgene-pcie", "apm,xgene2-pcie"; 640*4882a593Smuzhiyun #interrupt-cells = <1>; 641*4882a593Smuzhiyun #size-cells = <2>; 642*4882a593Smuzhiyun #address-cells = <3>; 643*4882a593Smuzhiyun reg = < 0x00 0x1f2c0000 0x0 0x00010000 /* Controller registers */ 644*4882a593Smuzhiyun 0xa0 0xd0000000 0x0 0x00040000>; /* PCI config space */ 645*4882a593Smuzhiyun reg-names = "csr", "cfg"; 646*4882a593Smuzhiyun ranges = <0x01000000 0x00 0x00000000 0xa0 0x10000000 0x00 0x00010000 /* io */ 647*4882a593Smuzhiyun 0x02000000 0x00 0x20000000 0xa1 0x20000000 0x00 0x20000000 /* mem */ 648*4882a593Smuzhiyun 0x43000000 0xb0 0x00000000 0xb0 0x00000000 0x10 0x00000000>; /* mem */ 649*4882a593Smuzhiyun dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000 650*4882a593Smuzhiyun 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>; 651*4882a593Smuzhiyun bus-range = <0x00 0xff>; 652*4882a593Smuzhiyun interrupt-map-mask = <0x0 0x0 0x0 0x7>; 653*4882a593Smuzhiyun interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x16 0x4 654*4882a593Smuzhiyun 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x17 0x4 655*4882a593Smuzhiyun 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x18 0x4 656*4882a593Smuzhiyun 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x19 0x4>; 657*4882a593Smuzhiyun dma-coherent; 658*4882a593Smuzhiyun clocks = <&pcie1clk 0>; 659*4882a593Smuzhiyun msi-parent = <&v2m0>; 660*4882a593Smuzhiyun }; 661*4882a593Smuzhiyun 662*4882a593Smuzhiyun sata1: sata@1a000000 { 663*4882a593Smuzhiyun compatible = "apm,xgene-ahci-v2"; 664*4882a593Smuzhiyun reg = <0x0 0x1a000000 0x0 0x1000>, 665*4882a593Smuzhiyun <0x0 0x1f200000 0x0 0x1000>, 666*4882a593Smuzhiyun <0x0 0x1f20d000 0x0 0x1000>, 667*4882a593Smuzhiyun <0x0 0x1f20e000 0x0 0x1000>; 668*4882a593Smuzhiyun interrupts = <0x0 0x5a 0x4>; 669*4882a593Smuzhiyun dma-coherent; 670*4882a593Smuzhiyun }; 671*4882a593Smuzhiyun 672*4882a593Smuzhiyun sata2: sata@1a200000 { 673*4882a593Smuzhiyun compatible = "apm,xgene-ahci-v2"; 674*4882a593Smuzhiyun reg = <0x0 0x1a200000 0x0 0x1000>, 675*4882a593Smuzhiyun <0x0 0x1f210000 0x0 0x1000>, 676*4882a593Smuzhiyun <0x0 0x1f21d000 0x0 0x1000>, 677*4882a593Smuzhiyun <0x0 0x1f21e000 0x0 0x1000>; 678*4882a593Smuzhiyun interrupts = <0x0 0x5b 0x4>; 679*4882a593Smuzhiyun dma-coherent; 680*4882a593Smuzhiyun }; 681*4882a593Smuzhiyun 682*4882a593Smuzhiyun sata3: sata@1a400000 { 683*4882a593Smuzhiyun compatible = "apm,xgene-ahci-v2"; 684*4882a593Smuzhiyun reg = <0x0 0x1a400000 0x0 0x1000>, 685*4882a593Smuzhiyun <0x0 0x1f220000 0x0 0x1000>, 686*4882a593Smuzhiyun <0x0 0x1f22d000 0x0 0x1000>, 687*4882a593Smuzhiyun <0x0 0x1f22e000 0x0 0x1000>; 688*4882a593Smuzhiyun interrupts = <0x0 0x5c 0x4>; 689*4882a593Smuzhiyun dma-coherent; 690*4882a593Smuzhiyun }; 691*4882a593Smuzhiyun 692*4882a593Smuzhiyun mmc0: mmc@1c000000 { 693*4882a593Smuzhiyun compatible = "arasan,sdhci-4.9a"; 694*4882a593Smuzhiyun reg = <0x0 0x1c000000 0x0 0x100>; 695*4882a593Smuzhiyun interrupts = <0x0 0x49 0x4>; 696*4882a593Smuzhiyun dma-coherent; 697*4882a593Smuzhiyun no-1-8-v; 698*4882a593Smuzhiyun clock-names = "clk_xin", "clk_ahb"; 699*4882a593Smuzhiyun clocks = <&sdioclk 0>, <&ahbclk 0>; 700*4882a593Smuzhiyun }; 701*4882a593Smuzhiyun 702*4882a593Smuzhiyun gfcgpio: gpio@1f63c000 { 703*4882a593Smuzhiyun compatible = "apm,xgene-gpio"; 704*4882a593Smuzhiyun reg = <0x0 0x1f63c000 0x0 0x40>; 705*4882a593Smuzhiyun gpio-controller; 706*4882a593Smuzhiyun #gpio-cells = <2>; 707*4882a593Smuzhiyun }; 708*4882a593Smuzhiyun 709*4882a593Smuzhiyun dwgpio: gpio@1c024000 { 710*4882a593Smuzhiyun compatible = "snps,dw-apb-gpio"; 711*4882a593Smuzhiyun reg = <0x0 0x1c024000 0x0 0x1000>; 712*4882a593Smuzhiyun #address-cells = <1>; 713*4882a593Smuzhiyun #size-cells = <0>; 714*4882a593Smuzhiyun 715*4882a593Smuzhiyun porta: gpio-controller@0 { 716*4882a593Smuzhiyun compatible = "snps,dw-apb-gpio-port"; 717*4882a593Smuzhiyun gpio-controller; 718*4882a593Smuzhiyun #gpio-cells = <2>; 719*4882a593Smuzhiyun snps,nr-gpios = <32>; 720*4882a593Smuzhiyun reg = <0>; 721*4882a593Smuzhiyun }; 722*4882a593Smuzhiyun }; 723*4882a593Smuzhiyun 724*4882a593Smuzhiyun sbgpio: gpio@17001000{ 725*4882a593Smuzhiyun compatible = "apm,xgene-gpio-sb"; 726*4882a593Smuzhiyun reg = <0x0 0x17001000 0x0 0x400>; 727*4882a593Smuzhiyun #gpio-cells = <2>; 728*4882a593Smuzhiyun gpio-controller; 729*4882a593Smuzhiyun interrupts = <0x0 0x28 0x1>, 730*4882a593Smuzhiyun <0x0 0x29 0x1>, 731*4882a593Smuzhiyun <0x0 0x2a 0x1>, 732*4882a593Smuzhiyun <0x0 0x2b 0x1>, 733*4882a593Smuzhiyun <0x0 0x2c 0x1>, 734*4882a593Smuzhiyun <0x0 0x2d 0x1>, 735*4882a593Smuzhiyun <0x0 0x2e 0x1>, 736*4882a593Smuzhiyun <0x0 0x2f 0x1>; 737*4882a593Smuzhiyun interrupt-parent = <&gic>; 738*4882a593Smuzhiyun #interrupt-cells = <2>; 739*4882a593Smuzhiyun interrupt-controller; 740*4882a593Smuzhiyun apm,nr-gpios = <22>; 741*4882a593Smuzhiyun apm,nr-irqs = <8>; 742*4882a593Smuzhiyun apm,irq-start = <8>; 743*4882a593Smuzhiyun }; 744*4882a593Smuzhiyun 745*4882a593Smuzhiyun mdio: mdio@1f610000 { 746*4882a593Smuzhiyun compatible = "apm,xgene-mdio-xfi"; 747*4882a593Smuzhiyun #address-cells = <1>; 748*4882a593Smuzhiyun #size-cells = <0>; 749*4882a593Smuzhiyun reg = <0x0 0x1f610000 0x0 0xd100>; 750*4882a593Smuzhiyun clocks = <&xge0clk 0>; 751*4882a593Smuzhiyun }; 752*4882a593Smuzhiyun 753*4882a593Smuzhiyun sgenet0: ethernet@1f610000 { 754*4882a593Smuzhiyun compatible = "apm,xgene2-sgenet"; 755*4882a593Smuzhiyun status = "disabled"; 756*4882a593Smuzhiyun reg = <0x0 0x1f610000 0x0 0xd100>, 757*4882a593Smuzhiyun <0x0 0x1f600000 0x0 0xd100>, 758*4882a593Smuzhiyun <0x0 0x20000000 0x0 0x20000>; 759*4882a593Smuzhiyun interrupts = <0 96 4>, 760*4882a593Smuzhiyun <0 97 4>; 761*4882a593Smuzhiyun dma-coherent; 762*4882a593Smuzhiyun clocks = <&xge0clk 0>; 763*4882a593Smuzhiyun local-mac-address = [00 01 73 00 00 01]; 764*4882a593Smuzhiyun phy-connection-type = "sgmii"; 765*4882a593Smuzhiyun phy-handle = <&sgenet0phy>; 766*4882a593Smuzhiyun }; 767*4882a593Smuzhiyun 768*4882a593Smuzhiyun xgenet1: ethernet@1f620000 { 769*4882a593Smuzhiyun compatible = "apm,xgene2-xgenet"; 770*4882a593Smuzhiyun status = "disabled"; 771*4882a593Smuzhiyun reg = <0x0 0x1f620000 0x0 0x10000>, 772*4882a593Smuzhiyun <0x0 0x1f600000 0x0 0xd100>, 773*4882a593Smuzhiyun <0x0 0x20000000 0x0 0x220000>; 774*4882a593Smuzhiyun interrupts = <0 108 4>, 775*4882a593Smuzhiyun <0 109 4>, 776*4882a593Smuzhiyun <0 110 4>, 777*4882a593Smuzhiyun <0 111 4>, 778*4882a593Smuzhiyun <0 112 4>, 779*4882a593Smuzhiyun <0 113 4>, 780*4882a593Smuzhiyun <0 114 4>, 781*4882a593Smuzhiyun <0 115 4>; 782*4882a593Smuzhiyun channel = <12>; 783*4882a593Smuzhiyun port-id = <1>; 784*4882a593Smuzhiyun dma-coherent; 785*4882a593Smuzhiyun clocks = <&xge1clk 0>; 786*4882a593Smuzhiyun local-mac-address = [00 01 73 00 00 02]; 787*4882a593Smuzhiyun phy-connection-type = "xgmii"; 788*4882a593Smuzhiyun }; 789*4882a593Smuzhiyun 790*4882a593Smuzhiyun rng: rng@10520000 { 791*4882a593Smuzhiyun compatible = "apm,xgene-rng"; 792*4882a593Smuzhiyun reg = <0x0 0x10520000 0x0 0x100>; 793*4882a593Smuzhiyun interrupts = <0x0 0x41 0x4>; 794*4882a593Smuzhiyun clocks = <&rngpkaclk 0>; 795*4882a593Smuzhiyun }; 796*4882a593Smuzhiyun 797*4882a593Smuzhiyun i2c1: i2c@10511000 { 798*4882a593Smuzhiyun #address-cells = <1>; 799*4882a593Smuzhiyun #size-cells = <0>; 800*4882a593Smuzhiyun compatible = "snps,designware-i2c"; 801*4882a593Smuzhiyun reg = <0x0 0x10511000 0x0 0x1000>; 802*4882a593Smuzhiyun interrupts = <0 0x45 0x4>; 803*4882a593Smuzhiyun #clock-cells = <1>; 804*4882a593Smuzhiyun clocks = <&sbapbclk 0>; 805*4882a593Smuzhiyun bus_num = <1>; 806*4882a593Smuzhiyun }; 807*4882a593Smuzhiyun 808*4882a593Smuzhiyun i2c4: i2c@10640000 { 809*4882a593Smuzhiyun #address-cells = <1>; 810*4882a593Smuzhiyun #size-cells = <0>; 811*4882a593Smuzhiyun compatible = "snps,designware-i2c"; 812*4882a593Smuzhiyun reg = <0x0 0x10640000 0x0 0x1000>; 813*4882a593Smuzhiyun interrupts = <0 0x3a 0x4>; 814*4882a593Smuzhiyun clocks = <&i2c4clk 0>; 815*4882a593Smuzhiyun bus_num = <4>; 816*4882a593Smuzhiyun }; 817*4882a593Smuzhiyun }; 818*4882a593Smuzhiyun}; 819