123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818 |
- // SPDX-License-Identifier: GPL-2.0-or-later
- /*
- * dts file for AppliedMicro (APM) X-Gene Shadowcat SOC
- *
- * Copyright (C) 2015, Applied Micro Circuits Corporation
- */
- / {
- compatible = "apm,xgene-shadowcat";
- interrupt-parent = <&gic>;
- #address-cells = <2>;
- #size-cells = <2>;
- cpus {
- #address-cells = <2>;
- #size-cells = <0>;
- cpu@0 {
- device_type = "cpu";
- compatible = "apm,strega";
- reg = <0x0 0x000>;
- enable-method = "spin-table";
- cpu-release-addr = <0x1 0x0000fff8>;
- next-level-cache = <&xgene_L2_0>;
- #clock-cells = <1>;
- clocks = <&pmd0clk 0>;
- };
- cpu@1 {
- device_type = "cpu";
- compatible = "apm,strega";
- reg = <0x0 0x001>;
- enable-method = "spin-table";
- cpu-release-addr = <0x1 0x0000fff8>;
- next-level-cache = <&xgene_L2_0>;
- #clock-cells = <1>;
- clocks = <&pmd0clk 0>;
- };
- cpu@100 {
- device_type = "cpu";
- compatible = "apm,strega";
- reg = <0x0 0x100>;
- enable-method = "spin-table";
- cpu-release-addr = <0x1 0x0000fff8>;
- next-level-cache = <&xgene_L2_1>;
- #clock-cells = <1>;
- clocks = <&pmd1clk 0>;
- };
- cpu@101 {
- device_type = "cpu";
- compatible = "apm,strega";
- reg = <0x0 0x101>;
- enable-method = "spin-table";
- cpu-release-addr = <0x1 0x0000fff8>;
- next-level-cache = <&xgene_L2_1>;
- #clock-cells = <1>;
- clocks = <&pmd1clk 0>;
- };
- cpu@200 {
- device_type = "cpu";
- compatible = "apm,strega";
- reg = <0x0 0x200>;
- enable-method = "spin-table";
- cpu-release-addr = <0x1 0x0000fff8>;
- next-level-cache = <&xgene_L2_2>;
- #clock-cells = <1>;
- clocks = <&pmd2clk 0>;
- };
- cpu@201 {
- device_type = "cpu";
- compatible = "apm,strega";
- reg = <0x0 0x201>;
- enable-method = "spin-table";
- cpu-release-addr = <0x1 0x0000fff8>;
- next-level-cache = <&xgene_L2_2>;
- #clock-cells = <1>;
- clocks = <&pmd2clk 0>;
- };
- cpu@300 {
- device_type = "cpu";
- compatible = "apm,strega";
- reg = <0x0 0x300>;
- enable-method = "spin-table";
- cpu-release-addr = <0x1 0x0000fff8>;
- next-level-cache = <&xgene_L2_3>;
- #clock-cells = <1>;
- clocks = <&pmd3clk 0>;
- };
- cpu@301 {
- device_type = "cpu";
- compatible = "apm,strega";
- reg = <0x0 0x301>;
- enable-method = "spin-table";
- cpu-release-addr = <0x1 0x0000fff8>;
- next-level-cache = <&xgene_L2_3>;
- #clock-cells = <1>;
- clocks = <&pmd3clk 0>;
- };
- xgene_L2_0: l2-cache-0 {
- compatible = "cache";
- };
- xgene_L2_1: l2-cache-1 {
- compatible = "cache";
- };
- xgene_L2_2: l2-cache-2 {
- compatible = "cache";
- };
- xgene_L2_3: l2-cache-3 {
- compatible = "cache";
- };
- };
- gic: interrupt-controller@78090000 {
- compatible = "arm,cortex-a15-gic";
- #interrupt-cells = <3>;
- #address-cells = <2>;
- #size-cells = <2>;
- interrupt-controller;
- interrupts = <1 9 0xf04>; /* GIC Maintenence IRQ */
- ranges = <0 0 0 0x79000000 0x0 0x800000>; /* MSI Range */
- reg = <0x0 0x78090000 0x0 0x10000>, /* GIC Dist */
- <0x0 0x780a0000 0x0 0x20000>, /* GIC CPU */
- <0x0 0x780c0000 0x0 0x10000>, /* GIC VCPU Control */
- <0x0 0x780e0000 0x0 0x20000>; /* GIC VCPU */
- v2m0: v2m@0 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x0 0x0 0x1000>;
- };
- v2m1: v2m@10000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x10000 0x0 0x1000>;
- };
- v2m2: v2m@20000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x20000 0x0 0x1000>;
- };
- v2m3: v2m@30000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x30000 0x0 0x1000>;
- };
- v2m4: v2m@40000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x40000 0x0 0x1000>;
- };
- v2m5: v2m@50000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x50000 0x0 0x1000>;
- };
- v2m6: v2m@60000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x60000 0x0 0x1000>;
- };
- v2m7: v2m@70000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x70000 0x0 0x1000>;
- };
- v2m8: v2m@80000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x80000 0x0 0x1000>;
- };
- v2m9: v2m@90000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0x90000 0x0 0x1000>;
- };
- v2m10: v2m@a0000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0xa0000 0x0 0x1000>;
- };
- v2m11: v2m@b0000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0xb0000 0x0 0x1000>;
- };
- v2m12: v2m@c0000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0xc0000 0x0 0x1000>;
- };
- v2m13: v2m@d0000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0xd0000 0x0 0x1000>;
- };
- v2m14: v2m@e0000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0xe0000 0x0 0x1000>;
- };
- v2m15: v2m@f0000 {
- compatible = "arm,gic-v2m-frame";
- msi-controller;
- reg = <0x0 0xf0000 0x0 0x1000>;
- };
- };
- pmu {
- compatible = "arm,armv8-pmuv3";
- interrupts = <1 12 0xff04>;
- };
- timer {
- compatible = "arm,armv8-timer";
- interrupts = <1 0 0xff08>, /* Secure Phys IRQ */
- <1 13 0xff08>, /* Non-secure Phys IRQ */
- <1 14 0xff08>, /* Virt IRQ */
- <1 15 0xff08>; /* Hyp IRQ */
- clock-frequency = <50000000>;
- };
- soc {
- compatible = "simple-bus";
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
- clocks {
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
- refclk: refclk {
- compatible = "fixed-clock";
- #clock-cells = <1>;
- clock-frequency = <100000000>;
- clock-output-names = "refclk";
- };
- pmdpll: pmdpll@170000f0 {
- compatible = "apm,xgene-pcppll-v2-clock";
- #clock-cells = <1>;
- clocks = <&refclk 0>;
- reg = <0x0 0x170000f0 0x0 0x10>;
- clock-output-names = "pmdpll";
- };
- pmd0clk: pmd0clk@7e200200 {
- compatible = "apm,xgene-pmd-clock";
- #clock-cells = <1>;
- clocks = <&pmdpll 0>;
- reg = <0x0 0x7e200200 0x0 0x10>;
- clock-output-names = "pmd0clk";
- };
- pmd1clk: pmd1clk@7e200210 {
- compatible = "apm,xgene-pmd-clock";
- #clock-cells = <1>;
- clocks = <&pmdpll 0>;
- reg = <0x0 0x7e200210 0x0 0x10>;
- clock-output-names = "pmd1clk";
- };
- pmd2clk: pmd2clk@7e200220 {
- compatible = "apm,xgene-pmd-clock";
- #clock-cells = <1>;
- clocks = <&pmdpll 0>;
- reg = <0x0 0x7e200220 0x0 0x10>;
- clock-output-names = "pmd2clk";
- };
- pmd3clk: pmd3clk@7e200230 {
- compatible = "apm,xgene-pmd-clock";
- #clock-cells = <1>;
- clocks = <&pmdpll 0>;
- reg = <0x0 0x7e200230 0x0 0x10>;
- clock-output-names = "pmd3clk";
- };
- socpll: socpll@17000120 {
- compatible = "apm,xgene-socpll-v2-clock";
- #clock-cells = <1>;
- clocks = <&refclk 0>;
- reg = <0x0 0x17000120 0x0 0x1000>;
- clock-output-names = "socpll";
- };
- socplldiv2: socplldiv2 {
- compatible = "fixed-factor-clock";
- #clock-cells = <1>;
- clocks = <&socpll 0>;
- clock-mult = <1>;
- clock-div = <2>;
- clock-output-names = "socplldiv2";
- };
- ahbclk: ahbclk@17000000 {
- compatible = "apm,xgene-device-clock";
- #clock-cells = <1>;
- clocks = <&socplldiv2 0>;
- reg = <0x0 0x17000000 0x0 0x2000>;
- reg-names = "div-reg";
- divider-offset = <0x164>;
- divider-width = <0x5>;
- divider-shift = <0x0>;
- clock-output-names = "ahbclk";
- };
- sbapbclk: sbapbclk@1704c000 {
- compatible = "apm,xgene-device-clock";
- #clock-cells = <1>;
- clocks = <&ahbclk 0>;
- reg = <0x0 0x1704c000 0x0 0x2000>;
- reg-names = "div-reg";
- divider-offset = <0x10>;
- divider-width = <0x2>;
- divider-shift = <0x0>;
- clock-output-names = "sbapbclk";
- };
- sdioclk: sdioclk@1f2ac000 {
- compatible = "apm,xgene-device-clock";
- #clock-cells = <1>;
- clocks = <&socplldiv2 0>;
- reg = <0x0 0x1f2ac000 0x0 0x1000
- 0x0 0x17000000 0x0 0x2000>;
- reg-names = "csr-reg", "div-reg";
- csr-offset = <0x0>;
- csr-mask = <0x2>;
- enable-offset = <0x8>;
- enable-mask = <0x2>;
- divider-offset = <0x178>;
- divider-width = <0x8>;
- divider-shift = <0x0>;
- clock-output-names = "sdioclk";
- };
- pcie0clk: pcie0clk@1f2bc000 {
- compatible = "apm,xgene-device-clock";
- #clock-cells = <1>;
- clocks = <&socplldiv2 0>;
- reg = <0x0 0x1f2bc000 0x0 0x1000>;
- reg-names = "csr-reg";
- clock-output-names = "pcie0clk";
- };
- pcie1clk: pcie1clk@1f2cc000 {
- compatible = "apm,xgene-device-clock";
- #clock-cells = <1>;
- clocks = <&socplldiv2 0>;
- reg = <0x0 0x1f2cc000 0x0 0x1000>;
- reg-names = "csr-reg";
- clock-output-names = "pcie1clk";
- };
- xge0clk: xge0clk@1f61c000 {
- compatible = "apm,xgene-device-clock";
- #clock-cells = <1>;
- clocks = <&socplldiv2 0>;
- reg = <0x0 0x1f61c000 0x0 0x1000>;
- reg-names = "csr-reg";
- enable-mask = <0x3>;
- csr-mask = <0x3>;
- clock-output-names = "xge0clk";
- };
- xge1clk: xge1clk@1f62c000 {
- compatible = "apm,xgene-device-clock";
- #clock-cells = <1>;
- clocks = <&socplldiv2 0>;
- reg = <0x0 0x1f62c000 0x0 0x1000>;
- reg-names = "csr-reg";
- enable-mask = <0x3>;
- csr-mask = <0x3>;
- clock-output-names = "xge1clk";
- };
- rngpkaclk: rngpkaclk@17000000 {
- compatible = "apm,xgene-device-clock";
- #clock-cells = <1>;
- clocks = <&socplldiv2 0>;
- reg = <0x0 0x17000000 0x0 0x2000>;
- reg-names = "csr-reg";
- csr-offset = <0xc>;
- csr-mask = <0x10>;
- enable-offset = <0x10>;
- enable-mask = <0x10>;
- clock-output-names = "rngpkaclk";
- };
- i2c4clk: i2c4clk@1704c000 {
- compatible = "apm,xgene-device-clock";
- #clock-cells = <1>;
- clocks = <&sbapbclk 0>;
- reg = <0x0 0x1704c000 0x0 0x1000>;
- reg-names = "csr-reg";
- csr-offset = <0x0>;
- csr-mask = <0x40>;
- enable-offset = <0x8>;
- enable-mask = <0x40>;
- clock-output-names = "i2c4clk";
- };
- };
- scu: system-clk-controller@17000000 {
- compatible = "apm,xgene-scu","syscon";
- reg = <0x0 0x17000000 0x0 0x400>;
- };
- reboot: reboot@17000014 {
- compatible = "syscon-reboot";
- regmap = <&scu>;
- offset = <0x14>;
- mask = <0x1>;
- };
- csw: csw@7e200000 {
- compatible = "apm,xgene-csw", "syscon";
- reg = <0x0 0x7e200000 0x0 0x1000>;
- };
- mcba: mcba@7e700000 {
- compatible = "apm,xgene-mcb", "syscon";
- reg = <0x0 0x7e700000 0x0 0x1000>;
- };
- mcbb: mcbb@7e720000 {
- compatible = "apm,xgene-mcb", "syscon";
- reg = <0x0 0x7e720000 0x0 0x1000>;
- };
- efuse: efuse@1054a000 {
- compatible = "apm,xgene-efuse", "syscon";
- reg = <0x0 0x1054a000 0x0 0x20>;
- };
- edac@78800000 {
- compatible = "apm,xgene-edac";
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
- regmap-csw = <&csw>;
- regmap-mcba = <&mcba>;
- regmap-mcbb = <&mcbb>;
- regmap-efuse = <&efuse>;
- reg = <0x0 0x78800000 0x0 0x100>;
- interrupts = <0x0 0x20 0x4>,
- <0x0 0x21 0x4>,
- <0x0 0x27 0x4>;
- edacmc@7e800000 {
- compatible = "apm,xgene-edac-mc";
- reg = <0x0 0x7e800000 0x0 0x1000>;
- memory-controller = <0>;
- };
- edacmc@7e840000 {
- compatible = "apm,xgene-edac-mc";
- reg = <0x0 0x7e840000 0x0 0x1000>;
- memory-controller = <1>;
- };
- edacmc@7e880000 {
- compatible = "apm,xgene-edac-mc";
- reg = <0x0 0x7e880000 0x0 0x1000>;
- memory-controller = <2>;
- };
- edacmc@7e8c0000 {
- compatible = "apm,xgene-edac-mc";
- reg = <0x0 0x7e8c0000 0x0 0x1000>;
- memory-controller = <3>;
- };
- edacpmd@7c000000 {
- compatible = "apm,xgene-edac-pmd";
- reg = <0x0 0x7c000000 0x0 0x200000>;
- pmd-controller = <0>;
- };
- edacpmd@7c200000 {
- compatible = "apm,xgene-edac-pmd";
- reg = <0x0 0x7c200000 0x0 0x200000>;
- pmd-controller = <1>;
- };
- edacpmd@7c400000 {
- compatible = "apm,xgene-edac-pmd";
- reg = <0x0 0x7c400000 0x0 0x200000>;
- pmd-controller = <2>;
- };
- edacpmd@7c600000 {
- compatible = "apm,xgene-edac-pmd";
- reg = <0x0 0x7c600000 0x0 0x200000>;
- pmd-controller = <3>;
- };
- edacl3@7e600000 {
- compatible = "apm,xgene-edac-l3-v2";
- reg = <0x0 0x7e600000 0x0 0x1000>;
- };
- edacsoc@7e930000 {
- compatible = "apm,xgene-edac-soc";
- reg = <0x0 0x7e930000 0x0 0x1000>;
- };
- };
- pmu: pmu@78810000 {
- compatible = "apm,xgene-pmu-v2";
- #address-cells = <2>;
- #size-cells = <2>;
- ranges;
- regmap-csw = <&csw>;
- regmap-mcba = <&mcba>;
- regmap-mcbb = <&mcbb>;
- reg = <0x0 0x78810000 0x0 0x1000>;
- interrupts = <0x0 0x22 0x4>;
- pmul3c@7e610000 {
- compatible = "apm,xgene-pmu-l3c";
- reg = <0x0 0x7e610000 0x0 0x1000>;
- };
- pmuiob@7e940000 {
- compatible = "apm,xgene-pmu-iob";
- reg = <0x0 0x7e940000 0x0 0x1000>;
- };
- pmucmcb@7e710000 {
- compatible = "apm,xgene-pmu-mcb";
- reg = <0x0 0x7e710000 0x0 0x1000>;
- enable-bit-index = <0>;
- };
- pmucmcb@7e730000 {
- compatible = "apm,xgene-pmu-mcb";
- reg = <0x0 0x7e730000 0x0 0x1000>;
- enable-bit-index = <1>;
- };
- pmucmc@7e810000 {
- compatible = "apm,xgene-pmu-mc";
- reg = <0x0 0x7e810000 0x0 0x1000>;
- enable-bit-index = <0>;
- };
- pmucmc@7e850000 {
- compatible = "apm,xgene-pmu-mc";
- reg = <0x0 0x7e850000 0x0 0x1000>;
- enable-bit-index = <1>;
- };
- pmucmc@7e890000 {
- compatible = "apm,xgene-pmu-mc";
- reg = <0x0 0x7e890000 0x0 0x1000>;
- enable-bit-index = <2>;
- };
- pmucmc@7e8d0000 {
- compatible = "apm,xgene-pmu-mc";
- reg = <0x0 0x7e8d0000 0x0 0x1000>;
- enable-bit-index = <3>;
- };
- };
- mailbox: mailbox@10540000 {
- compatible = "apm,xgene-slimpro-mbox";
- reg = <0x0 0x10540000 0x0 0x8000>;
- #mbox-cells = <1>;
- interrupts = <0x0 0x0 0x4
- 0x0 0x1 0x4
- 0x0 0x2 0x4
- 0x0 0x3 0x4
- 0x0 0x4 0x4
- 0x0 0x5 0x4
- 0x0 0x6 0x4
- 0x0 0x7 0x4>;
- };
- i2cslimpro {
- compatible = "apm,xgene-slimpro-i2c";
- mboxes = <&mailbox 0>;
- };
- hwmonslimpro {
- compatible = "apm,xgene-slimpro-hwmon";
- mboxes = <&mailbox 7>;
- };
- serial0: serial@10600000 {
- device_type = "serial";
- compatible = "ns16550";
- reg = <0 0x10600000 0x0 0x1000>;
- reg-shift = <2>;
- clock-frequency = <10000000>;
- interrupt-parent = <&gic>;
- interrupts = <0x0 0x4c 0x4>;
- };
- /* Node-name might need to be coded as dwusb for backward compatibility */
- usb0: usb@19000000 {
- status = "disabled";
- compatible = "snps,dwc3";
- reg = <0x0 0x19000000 0x0 0x100000>;
- interrupts = <0x0 0x5d 0x4>;
- dma-coherent;
- dr_mode = "host";
- };
- pcie0: pcie@1f2b0000 {
- status = "disabled";
- device_type = "pci";
- compatible = "apm,xgene-pcie", "apm,xgene2-pcie";
- #interrupt-cells = <1>;
- #size-cells = <2>;
- #address-cells = <3>;
- reg = < 0x00 0x1f2b0000 0x0 0x00010000 /* Controller registers */
- 0xc0 0xd0000000 0x0 0x00040000>; /* PCI config space */
- reg-names = "csr", "cfg";
- ranges = <0x01000000 0x00 0x00000000 0xc0 0x10000000 0x00 0x00010000 /* io */
- 0x02000000 0x00 0x20000000 0xc1 0x20000000 0x00 0x20000000 /* mem */
- 0x43000000 0xe0 0x00000000 0xe0 0x00000000 0x20 0x00000000>; /* mem */
- dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
- 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
- bus-range = <0x00 0xff>;
- interrupt-map-mask = <0x0 0x0 0x0 0x7>;
- interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x10 0x4
- 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x11 0x4
- 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x12 0x4
- 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x13 0x4>;
- dma-coherent;
- clocks = <&pcie0clk 0>;
- msi-parent = <&v2m0>;
- };
- pcie1: pcie@1f2c0000 {
- status = "disabled";
- device_type = "pci";
- compatible = "apm,xgene-pcie", "apm,xgene2-pcie";
- #interrupt-cells = <1>;
- #size-cells = <2>;
- #address-cells = <3>;
- reg = < 0x00 0x1f2c0000 0x0 0x00010000 /* Controller registers */
- 0xa0 0xd0000000 0x0 0x00040000>; /* PCI config space */
- reg-names = "csr", "cfg";
- ranges = <0x01000000 0x00 0x00000000 0xa0 0x10000000 0x00 0x00010000 /* io */
- 0x02000000 0x00 0x20000000 0xa1 0x20000000 0x00 0x20000000 /* mem */
- 0x43000000 0xb0 0x00000000 0xb0 0x00000000 0x10 0x00000000>; /* mem */
- dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
- 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
- bus-range = <0x00 0xff>;
- interrupt-map-mask = <0x0 0x0 0x0 0x7>;
- interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x16 0x4
- 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x17 0x4
- 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x18 0x4
- 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x19 0x4>;
- dma-coherent;
- clocks = <&pcie1clk 0>;
- msi-parent = <&v2m0>;
- };
- sata1: sata@1a000000 {
- compatible = "apm,xgene-ahci-v2";
- reg = <0x0 0x1a000000 0x0 0x1000>,
- <0x0 0x1f200000 0x0 0x1000>,
- <0x0 0x1f20d000 0x0 0x1000>,
- <0x0 0x1f20e000 0x0 0x1000>;
- interrupts = <0x0 0x5a 0x4>;
- dma-coherent;
- };
- sata2: sata@1a200000 {
- compatible = "apm,xgene-ahci-v2";
- reg = <0x0 0x1a200000 0x0 0x1000>,
- <0x0 0x1f210000 0x0 0x1000>,
- <0x0 0x1f21d000 0x0 0x1000>,
- <0x0 0x1f21e000 0x0 0x1000>;
- interrupts = <0x0 0x5b 0x4>;
- dma-coherent;
- };
- sata3: sata@1a400000 {
- compatible = "apm,xgene-ahci-v2";
- reg = <0x0 0x1a400000 0x0 0x1000>,
- <0x0 0x1f220000 0x0 0x1000>,
- <0x0 0x1f22d000 0x0 0x1000>,
- <0x0 0x1f22e000 0x0 0x1000>;
- interrupts = <0x0 0x5c 0x4>;
- dma-coherent;
- };
- mmc0: mmc@1c000000 {
- compatible = "arasan,sdhci-4.9a";
- reg = <0x0 0x1c000000 0x0 0x100>;
- interrupts = <0x0 0x49 0x4>;
- dma-coherent;
- no-1-8-v;
- clock-names = "clk_xin", "clk_ahb";
- clocks = <&sdioclk 0>, <&ahbclk 0>;
- };
- gfcgpio: gpio@1f63c000 {
- compatible = "apm,xgene-gpio";
- reg = <0x0 0x1f63c000 0x0 0x40>;
- gpio-controller;
- #gpio-cells = <2>;
- };
- dwgpio: gpio@1c024000 {
- compatible = "snps,dw-apb-gpio";
- reg = <0x0 0x1c024000 0x0 0x1000>;
- #address-cells = <1>;
- #size-cells = <0>;
- porta: gpio-controller@0 {
- compatible = "snps,dw-apb-gpio-port";
- gpio-controller;
- #gpio-cells = <2>;
- snps,nr-gpios = <32>;
- reg = <0>;
- };
- };
- sbgpio: gpio@17001000{
- compatible = "apm,xgene-gpio-sb";
- reg = <0x0 0x17001000 0x0 0x400>;
- #gpio-cells = <2>;
- gpio-controller;
- interrupts = <0x0 0x28 0x1>,
- <0x0 0x29 0x1>,
- <0x0 0x2a 0x1>,
- <0x0 0x2b 0x1>,
- <0x0 0x2c 0x1>,
- <0x0 0x2d 0x1>,
- <0x0 0x2e 0x1>,
- <0x0 0x2f 0x1>;
- interrupt-parent = <&gic>;
- #interrupt-cells = <2>;
- interrupt-controller;
- apm,nr-gpios = <22>;
- apm,nr-irqs = <8>;
- apm,irq-start = <8>;
- };
- mdio: mdio@1f610000 {
- compatible = "apm,xgene-mdio-xfi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0x0 0x1f610000 0x0 0xd100>;
- clocks = <&xge0clk 0>;
- };
- sgenet0: ethernet@1f610000 {
- compatible = "apm,xgene2-sgenet";
- status = "disabled";
- reg = <0x0 0x1f610000 0x0 0xd100>,
- <0x0 0x1f600000 0x0 0xd100>,
- <0x0 0x20000000 0x0 0x20000>;
- interrupts = <0 96 4>,
- <0 97 4>;
- dma-coherent;
- clocks = <&xge0clk 0>;
- local-mac-address = [00 01 73 00 00 01];
- phy-connection-type = "sgmii";
- phy-handle = <&sgenet0phy>;
- };
- xgenet1: ethernet@1f620000 {
- compatible = "apm,xgene2-xgenet";
- status = "disabled";
- reg = <0x0 0x1f620000 0x0 0x10000>,
- <0x0 0x1f600000 0x0 0xd100>,
- <0x0 0x20000000 0x0 0x220000>;
- interrupts = <0 108 4>,
- <0 109 4>,
- <0 110 4>,
- <0 111 4>,
- <0 112 4>,
- <0 113 4>,
- <0 114 4>,
- <0 115 4>;
- channel = <12>;
- port-id = <1>;
- dma-coherent;
- clocks = <&xge1clk 0>;
- local-mac-address = [00 01 73 00 00 02];
- phy-connection-type = "xgmii";
- };
- rng: rng@10520000 {
- compatible = "apm,xgene-rng";
- reg = <0x0 0x10520000 0x0 0x100>;
- interrupts = <0x0 0x41 0x4>;
- clocks = <&rngpkaclk 0>;
- };
- i2c1: i2c@10511000 {
- #address-cells = <1>;
- #size-cells = <0>;
- compatible = "snps,designware-i2c";
- reg = <0x0 0x10511000 0x0 0x1000>;
- interrupts = <0 0x45 0x4>;
- #clock-cells = <1>;
- clocks = <&sbapbclk 0>;
- bus_num = <1>;
- };
- i2c4: i2c@10640000 {
- #address-cells = <1>;
- #size-cells = <0>;
- compatible = "snps,designware-i2c";
- reg = <0x0 0x10640000 0x0 0x1000>;
- interrupts = <0 0x3a 0x4>;
- clocks = <&i2c4clk 0>;
- bus_num = <4>;
- };
- };
- };
|